Puma Reference Manual | Puma: Puma::CTypeUnion Class Reference |
Type of a union. More...
#include <Puma/CTypeInfo.h>
Public Member Functions | |
CTypeUnion (CRecord *c) | |
Constructor. | |
~CTypeUnion () | |
Destructor. | |
CUnionInfo * | UnionInfo () const |
Get the semantic information about the union. |
Type of a union.
Example:
union X x; // x has type 'union X'
Puma::CTypeUnion::CTypeUnion | ( | CRecord * | c | ) | [inline] |
Constructor.
Type has id CTypeInfo::TYPE_UNION.
c | The semantic information about the union. |
Puma::CTypeUnion::~CTypeUnion | ( | ) | [inline] |
Destructor.
CUnionInfo* Puma::CTypeUnion::UnionInfo | ( | ) | const |
Get the semantic information about the union.
Reimplemented from Puma::CTypeInfo.