Class that serves as a reflective interface for the enumeration types. More...

#include <SPL/Runtime/Type/Enum.h>

Detailed Description

Class that serves as a reflective interface for the enumeration types.

Constructor & Destructor Documentation

Destructor

Member Function Documentation

Equality comparison with another reflective enum

Parameters
Returns
true if equal, false otherwise

Create a clone of the enum object

Returns
clone of the enum object

Set this enum using another enum

Parameters
Exceptions

Swap this enum with another enum

Parameters
Exceptions

Clear the enum (reset its value to the first enum literal)

template<class BufferType >

Serialize (binary)

Parameters
template<class BufferType >

Deserialize (binary)

Parameters

Serialize (character)

Parameters

Deserialize (character)

Parameters

Get hash code

Returns
hash code

Get the size in bytes when serialized

Returns
size in bytes when serialized

Get the string form of the enum value

Returns
string form of the enum value

Get the valid values of the enum

Returns
valid values of the enum

Check if the enum value is a valid one

Parameters
Returns
true if the value is valid, false otherwise

Assign from string

Parameters
Returns
this
Exceptions

Assign from another Enum

Parameters
Returns
this
Exceptions

Cast to a string

Returns
string form of the enum value

Get the index of the enum value

Returns
index of the enum value

Deserialize (character)

Parameters

The documentation for this class was generated from the following file: