#include <EnumType.hpp>


Public Member Functions | |
| EnumType (EnumDefinition *def, QualFlags qf=0) | |
| EnumType (const EnumType &other) | |
| virtual | ~EnumType () |
| virtual EnumType * | clone () const |
| virtual bool | isCompatibleType (const Type *other) const |
| virtual bool | isArithmeticType () const |
| virtual bool | isIntegerType () const |
| virtual size_t | getSize (const TargetInfo &targetInfo) const |
| virtual size_t | getAlign (const TargetInfo &targetInfo) const |
| EnumDefinition * | getDefinition () const |
| QualFlags | getQualFlags () const |
| void | setQualFlags (QualFlags qf) |
Protected Attributes | |
| EnumDefinition * | definition_ |
| QualFlags | qualFlags_ |
Definition at line 79 of file EnumType.hpp.
| cfront::EnumType::EnumType | ( | EnumDefinition * | def, | |
| QualFlags | qf = 0 | |||
| ) | [inline, explicit] |
| cfront::EnumType::EnumType | ( | const EnumType & | other | ) | [inline] |
Definition at line 83 of file EnumType.hpp.
| virtual cfront::EnumType::~EnumType | ( | ) | [inline, virtual] |
Definition at line 87 of file EnumType.hpp.
| virtual EnumType* cfront::EnumType::clone | ( | ) | const [inline, virtual] |
Return the copy of self.
Implements cfront::Type.
Definition at line 89 of file EnumType.hpp.
References EnumType().
| virtual bool cfront::EnumType::isCompatibleType | ( | const Type * | other | ) | const [inline, virtual] |
Tests whether this type is compatible to the given one.
Implements cfront::Type.
Definition at line 94 of file EnumType.hpp.
References definition_, and getDefinition().
| virtual bool cfront::EnumType::isArithmeticType | ( | ) | const [inline, virtual] |
| virtual bool cfront::EnumType::isIntegerType | ( | ) | const [inline, virtual] |
| virtual size_t cfront::EnumType::getSize | ( | const TargetInfo & | targetInfo | ) | const [inline, virtual] |
Implements cfront::Type.
Definition at line 111 of file EnumType.hpp.
References cfront::TargetInfo::ENUM, and cfront::TargetInfo::getSize().
| virtual size_t cfront::EnumType::getAlign | ( | const TargetInfo & | targetInfo | ) | const [inline, virtual] |
Implements cfront::Type.
Definition at line 116 of file EnumType.hpp.
References cfront::TargetInfo::ENUM, and cfront::TargetInfo::getAlign().
| EnumDefinition* cfront::EnumType::getDefinition | ( | ) | const [inline] |
Definition at line 121 of file EnumType.hpp.
References definition_.
Referenced by isCompatibleType().
| QualFlags cfront::EnumType::getQualFlags | ( | ) | const [inline] |
| void cfront::EnumType::setQualFlags | ( | QualFlags | qf | ) | [inline] |
EnumDefinition* cfront::EnumType::definition_ [protected] |
QualFlags cfront::EnumType::qualFlags_ [protected] |
1.5.6