cfront::UnionDefinition Class Reference

#include <UnionType.hpp>

Inheritance diagram for cfront::UnionDefinition:

Inheritance graph
Collaboration diagram for cfront::UnionDefinition:

Collaboration graph

Public Member Functions

 UnionDefinition (const std::string &name)
virtual ~UnionDefinition ()
virtual size_t getSize (const TargetInfo &targetInfo) const

Detailed Description

Definition at line 42 of file UnionType.hpp.

Constructor & Destructor Documentation

cfront::UnionDefinition::UnionDefinition ( const std::string &  name  )  [inline]

Definition at line 44 of file UnionType.hpp.

virtual cfront::UnionDefinition::~UnionDefinition (  )  [inline, virtual]

Definition at line 45 of file UnionType.hpp.

Member Function Documentation

virtual size_t cfront::UnionDefinition::getSize ( const TargetInfo targetInfo  )  const [inline, virtual]

Implements cfront::SUDefinition.

Definition at line 47 of file UnionType.hpp.

References cfront::SUDefinition::getFields().

Referenced by TypeTest::testSizeofType().

The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:53 2009 for ctrump by  doxygen 1.5.6