Puma Reference Manual Puma: Puma::CTypeUnion Class Reference



Puma::CTypeUnion Class Reference

Type of a union. More...

#include <Puma/CTypeInfo.h>

Inheritance diagram for Puma::CTypeUnion:
Inheritance graph

List of all members.

Public Member Functions

 CTypeUnion (CRecord *c)
 Constructor.
 ~CTypeUnion ()
 Destructor.
CUnionInfoUnionInfo () const
 Get the semantic information about the union.

Detailed Description

Type of a union.

Example:

 union X x;    // x has type 'union X'

Constructor & Destructor Documentation

Puma::CTypeUnion::CTypeUnion ( CRecord c) [inline]

Constructor.

Type has id CTypeInfo::TYPE_UNION.

Parameters:
cThe semantic information about the union.
Puma::CTypeUnion::~CTypeUnion ( ) [inline]

Destructor.


Member Function Documentation

CUnionInfo* Puma::CTypeUnion::UnionInfo ( ) const

Get the semantic information about the union.

Reimplemented from Puma::CTypeInfo.