CyberEngineMkIII
|
Strong typing for Platform::Identifier. More...
#include <OSDeclaration.hpp>
Public Types | |
enum | Identifier : unsigned int { ALL = 0xFFFFFFFF, POSIX = 1, LINUX = 3, OSX = 5, WINDOWS = 2 } |
A bitmask platform identifier. Should be preferred over the macros whenever possible. More... | |
Static Public Member Functions | |
static constexpr Identifier | Current (void) |
Get the current Platform being compiled on. More... | |
static constexpr bool | IsDebug (void) |
Get if the current compilation is a debug compilation. More... | |
static constexpr bool | IsTest (void) |
Get if the current compilation is a test compilation. More... | |
Strong typing for Platform::Identifier.
Definition at line 28 of file OSDeclaration.hpp.
enum CYB::API::Platform::Identifier : unsigned int |
A bitmask platform identifier. Should be preferred over the macros whenever possible.
Enumerator | |
---|---|
ALL |
All platforms. |
POSIX |
Posix platforms. |
LINUX |
Linux platforms. |
OSX |
OSX platforms. |
WINDOWS |
Win32 platforms. |
Definition at line 31 of file OSDeclaration.hpp.
|
static |
|
static |
Get if the current compilation is a debug compilation.
|
static |
Get if the current compilation is a test compilation.