Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
Core class that represents flags for error. More...
Public Member Functions | |
ErrorFlags (UInt32 flags, bool replace=false) | |
Constructs a ErrorFlags object with flags. More... | |
ErrorFlags (const ErrorFlags &)=delete | |
ErrorFlags (ErrorFlags &&)=delete | |
~ErrorFlags () | |
Destructs the object and sets the old flag. | |
UInt32 | GetPreviousFlags () const |
Gets the previous flag. More... | |
void | SetFlags (UInt32 flags, bool replace=false) |
Sets the flags. More... | |
ErrorFlags & | operator= (const ErrorFlags &)=delete |
ErrorFlags & | operator= (ErrorFlags &&)=delete |
Core class that represents flags for error.
Nz::ErrorFlags::ErrorFlags | ( | UInt32 | flags, |
bool | replace = false |
||
) |
Constructs a ErrorFlags object with flags.
flags | Flags for the error |
replace | Replace the entirely the old flag if true, else do a "OR" |
UInt32 Nz::ErrorFlags::GetPreviousFlags | ( | ) | const |
Gets the previous flag.
void Nz::ErrorFlags::SetFlags | ( | UInt32 | flags, |
bool | replace = false |
||
) |
Sets the flags.
flags | Flags for the error |
replace | Replace the entirely the old flag if true, else do a "OR" |