cfront::FieldInclusionType Class Reference

#include <FieldInclusionType.hpp>

Inheritance diagram for cfront::FieldInclusionType:

Inheritance graph
[legend]
Collaboration diagram for cfront::FieldInclusionType:

Collaboration graph
[legend]

Public Member Functions

 FieldInclusionType (SUDefinition *def, QualFlags qf=0)
 FieldInclusionType (const FieldInclusionType &other)
virtual ~FieldInclusionType ()
virtual bool isCompatibleType (const Type *other) const
virtual size_t getSize (const TargetInfo &targetInfo) const
virtual size_t getAlign (const TargetInfo &targetInfo) const
QualFlags getQualFlags () const
SUDefinitiongetDefinition () const
void setQualFlags (QualFlags qf)

Protected Attributes

QualFlags qualFlags_
SUDefinitiondefinition_

Detailed Description

The base class of struct/union types.

Definition at line 131 of file FieldInclusionType.hpp.


Constructor & Destructor Documentation

cfront::FieldInclusionType::FieldInclusionType ( SUDefinition def,
QualFlags  qf = 0 
) [inline, explicit]

Definition at line 133 of file FieldInclusionType.hpp.

cfront::FieldInclusionType::FieldInclusionType ( const FieldInclusionType other  )  [inline]

Definition at line 135 of file FieldInclusionType.hpp.

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

Definition at line 138 of file FieldInclusionType.hpp.


Member Function Documentation

virtual bool cfront::FieldInclusionType::isCompatibleType ( const Type other  )  const [inline, virtual]

Tests whether this type is compatible to the given one.

Implements cfront::Type.

Definition at line 145 of file FieldInclusionType.hpp.

References definition_, and getDefinition().

Referenced by cfront::CAnalyzer::checkAssignment().

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

Implements cfront::Type.

Definition at line 153 of file FieldInclusionType.hpp.

References definition_, and cfront::SUDefinition::getSize().

virtual size_t cfront::FieldInclusionType::getAlign ( const TargetInfo targetInfo  )  const [inline, virtual]

Implements cfront::Type.

Definition at line 158 of file FieldInclusionType.hpp.

References definition_, and cfront::SUDefinition::getAlign().

QualFlags cfront::FieldInclusionType::getQualFlags (  )  const [inline]

Definition at line 163 of file FieldInclusionType.hpp.

References qualFlags_.

Referenced by cfront::CAnalyzer::checkAssignment().

SUDefinition* cfront::FieldInclusionType::getDefinition (  )  const [inline]

void cfront::FieldInclusionType::setQualFlags ( QualFlags  qf  )  [inline]

Definition at line 173 of file FieldInclusionType.hpp.

References qualFlags_.


Field Documentation

Definition at line 179 of file FieldInclusionType.hpp.

Referenced by getQualFlags(), and setQualFlags().

Definition at line 181 of file FieldInclusionType.hpp.

Referenced by getAlign(), getDefinition(), getSize(), and isCompatibleType().


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