#include <FieldInclusionType.hpp>
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 |
SUDefinition * | getDefinition () const |
void | setQualFlags (QualFlags qf) |
Protected Attributes | |
QualFlags | qualFlags_ |
SUDefinition * | definition_ |
Definition at line 131 of file FieldInclusionType.hpp.
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.
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] |
Definition at line 168 of file FieldInclusionType.hpp.
References definition_.
Referenced by cfront::CAnalyzer::checkStructOrUnionDefinition(), cfront::CAnalyzer::getInitializerListElemType(), isCompatibleType(), and cfront::CAnalyzer::typeExpr().
void cfront::FieldInclusionType::setQualFlags | ( | QualFlags | qf | ) | [inline] |
QualFlags cfront::FieldInclusionType::qualFlags_ [protected] |
Definition at line 179 of file FieldInclusionType.hpp.
Referenced by getQualFlags(), and setQualFlags().
SUDefinition* cfront::FieldInclusionType::definition_ [protected] |
Definition at line 181 of file FieldInclusionType.hpp.
Referenced by getAlign(), getDefinition(), getSize(), and isCompatibleType().