|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Foundation/StructEnum.hpp>
Public Types | |
| using | UnderlyingType = Underlying |
| using | Self = T |
Public Member Functions | |
| operator UnderlyingType () const noexcept | |
| Converts the enum into it's underlying type. | |
| void | toString (std::ostream &stream) const noexcept |
Writes a string representation of the ShaderType to the given stream. | |
Static Public Member Functions | |
| static Self | fromRawUnderlying (UnderlyingType underlying) noexcept |
Creates a new Self from it's underlying numeric representation. | |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const T &object) |
| bool | operator== (const T &lhs, const T &rhs) noexcept |
| Checks if the two values are equal. | |
| bool | operator!= (const T &lhs, const T &rhs) noexcept |
| Checks if the two values are not equal. | |
| using CeresEngine::StructEnum< T, Underlying >::Self = T |
| using CeresEngine::StructEnum< T, Underlying >::UnderlyingType = Underlying |
|
inlinestaticnoexcept |
Creates a new Self from it's underlying numeric representation.
|
inlineexplicitnoexcept |
Converts the enum into it's underlying type.
|
inlinenoexcept |
Writes a string representation of the ShaderType to the given stream.