#include <Puma/infos/CEnumeratorInfo.h>

Public Member Functions | |
| CEnumeratorInfo () | |
| ~CEnumeratorInfo () | |
| CEnumeratorInfo * | BaseObject () const |
| CT_Enumerator * | Tree () const |
| CT_ExprList * | Init () const |
| CTypeInfo * | UnderlyingType () const |
| CEnumInfo * | Enum () const |
| void | Enum (CEnumInfo *ei) |
| LONG_LONG | Value () const |
| void | Value (LONG_LONG v) |
| Puma::CEnumeratorInfo::CEnumeratorInfo | ( | ) | [inline] |
Construct a new enumerator info.
| Puma::CEnumeratorInfo::~CEnumeratorInfo | ( | ) |
Destruct the enumerator info. If the object id is ENUMERATOR_INFO, Puma::CObjectInfo::CleanUp() is called.
| CEnumeratorInfo * Puma::CEnumeratorInfo::BaseObject | ( | ) | const [inline] |
Get the base info object of the info object. The corresponding information is not yet set!
NULL. Reimplemented from Puma::CAttributeInfo.
| CT_Enumerator* Puma::CEnumeratorInfo::Tree | ( | ) | const |
Get the syntax tree node of the enumerator constant.
Reimplemented from Puma::CAttributeInfo.
| CT_ExprList* Puma::CEnumeratorInfo::Init | ( | ) | const |
Get the initialization expression syntax tree node of the enumerator.
NULL if no initializer. Reimplemented from Puma::CAttributeInfo.
| CTypeInfo* Puma::CEnumeratorInfo::UnderlyingType | ( | ) | const |
Get the underlying value type.
| CEnumInfo * Puma::CEnumeratorInfo::Enum | ( | ) | const [inline] |
Get the corresponding enumeration info.
| void Puma::CEnumeratorInfo::Enum | ( | CEnumInfo * | ei | ) | [inline] |
Set the enumeration info.
| ei | The corresponding enumeration info. |
| LONG_LONG Puma::CEnumeratorInfo::Value | ( | ) | const [inline] |
Get the constant value of the enumerator.
| void Puma::CEnumeratorInfo::Value | ( | LONG_LONG | v | ) | [inline] |
Set the value of the enumerator constant.
| v | The value of the enumerator. |
1.5.5