LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::AppVersion Class Reference

Contains the version of an App. More...

#include <app.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. More...
 
 AppVersion (const AppVersion &)=delete
 
 AppVersion (AppVersion &&)=delete
 
virtual ~AppVersion () noexcept
 
int major () const noexcept
 Gets the major version of the app. More...
 
int minor () const noexcept
 Gets the minor version of the app. More...
 
int patch () const noexcept
 Gets the patch number of the app. More...
 
int revision () const noexcept
 Gets the revision of the app. More...
 
int engineMajor () const noexcept
 Gets the major version of the engine build. More...
 
int engineMinor () const noexcept
 Gets the minor version of the engine build. More...
 
int engineRevision () const noexcept
 Gets the revision of the engine build. More...
 
int engineStatus () const noexcept
 Gets the status of the engine build. More...
 
String engineIdentifier () const noexcept
 Gets the identifier of the engine build. More...
 
String engineVersion () const noexcept
 Gets the version string of the engine build. More...
 

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() [2/3]

LiteFX::AppVersion::AppVersion ( const AppVersion )
delete

◆ AppVersion() [3/3]

LiteFX::AppVersion::AppVersion ( AppVersion &&  )
delete

◆ ~AppVersion()

AppVersion::~AppVersion ( )
virtualdefaultnoexcept

Member Function Documentation

◆ engineIdentifier()

String 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()

String 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.

◆ 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.