| Puma Reference Manual | Puma: Puma::CAttributeInfo Class Reference |
#include <Puma/CAttributeInfo.h>

Public Member Functions | |
| CAttributeInfo () | |
| Constructor. | |
| ~CAttributeInfo () | |
| Destructor. | |
| CAttributeInfo * | DefObject () const |
| Get the semantic object for the object definition. | |
| CT_InitDeclarator * | Tree () const |
| Get the syntax tree node of the object. | |
| CT_ExprList * | Init () const |
| Get the initializer of the object. | |
| CTemplateInfo * | TemplateInfo () const |
| Get the template information object if this is a static data member of a class template. | |
| void | TemplateInfo (CTemplateInfo *info) |
| Set the template information object of a static data member of a class template. | |
| CRecord * | Record () const |
| Get the class or union if this is a data member of a class or union. | |
| CNamespaceInfo * | Namespace () const |
| Get the namespace if the object is declared in a namespace. | |
| void | QualifiedScope (CStructure *scope) |
| Set the qualification scope of the object. | |
Protected Member Functions | |
| CAttributeInfo (ObjectId id) | |
| Constructor. | |
| Puma::CAttributeInfo::CAttributeInfo | ( | CObjectInfo::ObjectId | id | ) | [inline, protected] |
Constructor.
| id | The object type. |
| Puma::CAttributeInfo::CAttributeInfo | ( | ) | [inline] |
Constructor.
| Puma::CAttributeInfo::~CAttributeInfo | ( | ) |
Destructor.
If the object type is CObjectInfo::ATTRIBUTE_INFO, then CObjectInfo::CleanUp() is called.
| CAttributeInfo* Puma::CAttributeInfo::DefObject | ( | ) | const |
Get the semantic object for the object definition.
Reimplemented from Puma::CObjectInfo.
| CT_InitDeclarator* Puma::CAttributeInfo::Tree | ( | ) | const |
Get the syntax tree node of the object.
Reimplemented from Puma::CObjectInfo.
Reimplemented in Puma::CEnumeratorInfo.
| CT_ExprList* Puma::CAttributeInfo::Init | ( | ) | const |
Get the initializer of the object.
Reimplemented from Puma::CObjectInfo.
Reimplemented in Puma::CEnumeratorInfo.
| CTemplateInfo * Puma::CAttributeInfo::TemplateInfo | ( | ) | const [inline] |
Get the template information object if this is a static data member of a class template.
Reimplemented from Puma::CObjectInfo.
| void Puma::CAttributeInfo::TemplateInfo | ( | CTemplateInfo * | info | ) | [inline] |
Set the template information object of a static data member of a class template.
| info | The semantic object of the template. |
| CRecord* Puma::CAttributeInfo::Record | ( | ) | const |
Get the class or union if this is a data member of a class or union.
Reimplemented from Puma::CObjectInfo.
| CNamespaceInfo* Puma::CAttributeInfo::Namespace | ( | ) | const |
Get the namespace if the object is declared in a namespace.
| void Puma::CAttributeInfo::QualifiedScope | ( | CStructure * | scope | ) | [inline] |
Set the qualification scope of the object.
This can be a namespace for objects declared in a namespace or a class/union for data members of a class/union.
| scope | The qualification scope. |