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

Public Member Functions | |
| ~CTypeRecord () | |
| Destructor. | |
| long int | Size () |
| Get the size of the class or union in bits. | |
| long int | Align () |
| Get the alignment of the type. | |
| void | hasConstMember (bool v) |
| Set whether the class or union has a const member and thus is not modifiable. | |
| bool | hasConstMember () const |
| Check if the class or union type has a const member and thus is not modifiable. | |
| bool | isComplete (unsigned long pos=0) const |
| Check if the class or union is complete. | |
| CRecord * | Record () const |
| Get the class or union. | |
| void | Record (CRecord *) |
| Set the class or union. | |
Protected Member Functions | |
| CTypeRecord (TypeId id, CRecord *cu) | |
| Constructor. | |
| Puma::CTypeRecord::CTypeRecord | ( | CTypeInfo::TypeId | id, | |
| CRecord * | cu | |||
| ) | [inline, protected] |
Constructor.
| id | The type identifier. | |
| cu | The class or union. |
| Puma::CTypeRecord::~CTypeRecord | ( | ) | [inline] |
Destructor.
| long int Puma::CTypeRecord::Size | ( | ) |
Get the size of the class or union in bits.
| long int Puma::CTypeRecord::Align | ( | ) | [inline] |
Get the alignment of the type.
| void Puma::CTypeRecord::hasConstMember | ( | bool | v | ) | [inline] |
Set whether the class or union has a const member and thus is not modifiable.
| v | True if it has a const member. |
| bool Puma::CTypeRecord::hasConstMember | ( | ) | const [inline] |
Check if the class or union type has a const member and thus is not modifiable.
| bool Puma::CTypeRecord::isComplete | ( | unsigned long | pos = 0 |
) | const |
Check if the class or union is complete.
| pos | Optional source code position. |
Reimplemented from Puma::CTypeInfo.
| CRecord * Puma::CTypeRecord::Record | ( | ) | const [inline] |
| void Puma::CTypeRecord::Record | ( | CRecord * | r | ) | [inline] |
Set the class or union.