Puma Reference Manual Puma: Puma::CTypeUnion Class Reference



Puma::CTypeUnion Class Reference

Type of a union. More...

#include <Puma/CTypeInfo.h>

Inherits Puma::CTypeRecord.

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:
c The 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.




Puma Reference Manual. Created on 18 Sep 2009.