GammaRay API Documentation
2.10.0
|
A single element of an EnumDefinition. More...
#include <enumdefinition.h>
Public Member Functions | |
EnumDefinitionElement (int value, const char *name) | |
Create a new enum definition element with name name and value value . More... | |
QByteArray | name () const |
The name of this enum definition element. More... | |
int | value () const |
The numeric value represented of this enum definition element. More... | |
Friends | |
QDataStream & | operator<< (QDataStream &out, const EnumDefinitionElement &elem) |
QDataStream & | operator>> (QDataStream &in, EnumDefinitionElement &elem) |
A single element of an EnumDefinition.
GammaRay::EnumDefinitionElement::EnumDefinitionElement | ( | int | value, |
const char * | name | ||
) |
Create a new enum definition element with name name
and value value
.
QByteArray GammaRay::EnumDefinitionElement::name | ( | ) | const |
The name of this enum definition element.
int GammaRay::EnumDefinitionElement::value | ( | ) | const |
The numeric value represented of this enum definition element.