GammaRay API Documentation
3.2.0
|
A target-independent representation of an enum or flag value. More...
#include <enumvalue.h>
Public Member Functions | |
EnumValue (EnumId id, int value) | |
Create a new enum value for EnumDefinition with id and value value . | |
EnumId | id () const |
The unique identifier of the definition of this enum. More... | |
bool | isValid () const |
Returns true if this instance refers to a valid EnumDefinition. | |
void | setValue (int value) |
Sets the numeric value of this enum value. | |
int | value () const |
Returns the numeric value of this enum value. | |
A target-independent representation of an enum or flag value.
EnumId GammaRay::EnumValue::id | ( | ) | const |
The unique identifier of the definition of this enum.