LiteFX 0.4.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
LiteFX::AppVersion Class Reference

Contains the version of an App. More...

#include <app_api.hpp>

Classes

class  AppVersionImpl
 

Public Member Functions

 AppVersion (int major=1, int minor=0, int patch=0, int revision=0) noexcept
 Creates a new app version instance.
 
virtual ~AppVersion () noexcept
 
 AppVersion (const AppVersion &_other)=delete
 
 AppVersion (AppVersion &&_other) noexcept=delete
 
AppVersionoperator= (const AppVersion &)=delete
 
AppVersionoperator= (AppVersion &&) noexcept=delete
 
int major () const noexcept
 Gets the major version of the app.
 
int minor () const noexcept
 Gets the minor version of the app.
 
int patch () const noexcept
 Gets the patch number of the app.
 
int revision () const noexcept
 Gets the revision of the app.
 
int engineMajor () const noexcept
 Gets the major version of the engine build.
 
int engineMinor () const noexcept
 Gets the minor version of the engine build.
 
int engineRevision () const noexcept
 Gets the revision of the engine build.
 
int engineStatus () const noexcept
 Gets the status of the engine build.
 
StringView engineIdentifier () const noexcept
 Gets the identifier of the engine build.
 
StringView engineVersion () const noexcept
 Gets the version string of the engine build.
 

Detailed Description

Contains the version of an App.

Constructor & Destructor Documentation

◆ AppVersion() [1/3]

AppVersion::AppVersion ( int major = 1,
int minor = 0,
int patch = 0,
int revision = 0 )
explicitnoexcept

Creates a new app version instance.

Parameters
majorThe major version of the app.
minorThe minor version of the app.
patchThe patch number of the app.
revisionThe revision of the app.

◆ ~AppVersion()

AppVersion::~AppVersion ( )
virtualdefaultnoexcept

◆ AppVersion() [2/3]

LiteFX::AppVersion::AppVersion ( const AppVersion & _other)
delete

◆ AppVersion() [3/3]

LiteFX::AppVersion::AppVersion ( AppVersion && _other)
deletenoexcept

Member Function Documentation

◆ engineIdentifier()

StringView AppVersion::engineIdentifier ( ) const
noexcept

Gets the identifier of the engine build.

Returns
The identifier of the engine build.

◆ engineMajor()

int AppVersion::engineMajor ( ) const
noexcept

Gets the major version of the engine build.

Returns
The major version of the engine build.

◆ engineMinor()

int AppVersion::engineMinor ( ) const
noexcept

Gets the minor version of the engine build.

Returns
The minor version of the engine build.

◆ engineRevision()

int AppVersion::engineRevision ( ) const
noexcept

Gets the revision of the engine build.

Returns
The revision of the engine build.

◆ engineStatus()

int AppVersion::engineStatus ( ) const
noexcept

Gets the status of the engine build.

Returns
The status of the engine build.

◆ engineVersion()

StringView AppVersion::engineVersion ( ) const
noexcept

Gets the version string of the engine build.

Returns
The version string of the engine build.

◆ major()

int AppVersion::major ( ) const
noexcept

Gets the major version of the app.

Returns
The major version of the app.

◆ minor()

int AppVersion::minor ( ) const
noexcept

Gets the minor version of the app.

Returns
The minor version of the app.

◆ operator=() [1/2]

AppVersion & LiteFX::AppVersion::operator= ( AppVersion && )
deletenoexcept

◆ operator=() [2/2]

AppVersion & LiteFX::AppVersion::operator= ( const AppVersion & )
delete

◆ patch()

int AppVersion::patch ( ) const
noexcept

Gets the patch number of the app.

Returns
The patch number of the app.

◆ revision()

int AppVersion::revision ( ) const
noexcept

Gets the revision of the app.

Returns
The revision of the app.