Puma Reference Manual Puma: Puma::CTypeUnion Class Reference



Puma::CTypeUnion Class Reference

#include <Puma/CTypeInfo.h>

Inheritance diagram for Puma::CTypeUnion:

Inheritance graph

List of all members.


Detailed Description

Type of a union.

Example:

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

Public Member Functions

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

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 5 Nov 2008.