#include <TypedefType.hpp>


Public Member Functions | |
| TypedefType (TypeDefinition *def, QualFlags qf=0) | |
| TypedefType (const TypedefType &other) | |
| virtual | ~TypedefType () |
| virtual TypedefType * | clone () const |
| virtual bool | isCompatibleType (const Type *other) const |
| virtual bool | isScalarType () const |
| virtual bool | isArithmeticType () const |
| virtual bool | isIntegerType () const |
| virtual bool | isVoidType () const |
| virtual size_t | getSize (const TargetInfo &targetInfo) const |
| virtual size_t | getAlign (const TargetInfo &targetInfo) const |
| const Type * | getBaseType () const |
| TypeDefinition * | getDefinition () const |
| QualFlags | getQualFlags () const |
| void | setQualFlags (QualFlags qf) |
Protected Attributes | |
| TypeDefinition * | def_ |
| QualFlags | qualFlags_ |
Definition at line 65 of file TypedefType.hpp.
| cfront::TypedefType::TypedefType | ( | TypeDefinition * | def, | |
| QualFlags | qf = 0 | |||
| ) | [inline] |
| cfront::TypedefType::TypedefType | ( | const TypedefType & | other | ) | [inline] |
Definition at line 69 of file TypedefType.hpp.
| virtual cfront::TypedefType::~TypedefType | ( | ) | [inline, virtual] |
Definition at line 72 of file TypedefType.hpp.
| virtual TypedefType* cfront::TypedefType::clone | ( | ) | const [inline, virtual] |
Return the copy of self.
Implements cfront::Type.
Definition at line 74 of file TypedefType.hpp.
References TypedefType().
| virtual bool cfront::TypedefType::isCompatibleType | ( | const Type * | other | ) | const [inline, virtual] |
Tests whether this type is compatible to the given one.
Implements cfront::Type.
Definition at line 79 of file TypedefType.hpp.
References getBaseType(), and cfront::Type::isCompatibleType().
| virtual bool cfront::TypedefType::isScalarType | ( | ) | const [inline, virtual] |
Reimplemented from cfront::Type.
Definition at line 87 of file TypedefType.hpp.
References getBaseType(), and cfront::Type::isScalarType().
| virtual bool cfront::TypedefType::isArithmeticType | ( | ) | const [inline, virtual] |
Reimplemented from cfront::Type.
Definition at line 92 of file TypedefType.hpp.
References getBaseType(), and cfront::Type::isArithmeticType().
| virtual bool cfront::TypedefType::isIntegerType | ( | ) | const [inline, virtual] |
Reimplemented from cfront::Type.
Definition at line 97 of file TypedefType.hpp.
References getBaseType(), and cfront::Type::isIntegerType().
| virtual bool cfront::TypedefType::isVoidType | ( | ) | const [inline, virtual] |
Tests whether this type is 'void' type.
Reimplemented from cfront::Type.
Definition at line 102 of file TypedefType.hpp.
References getBaseType(), and cfront::Type::isVoidType().
| virtual size_t cfront::TypedefType::getSize | ( | const TargetInfo & | targetInfo | ) | const [inline, virtual] |
Implements cfront::Type.
Definition at line 107 of file TypedefType.hpp.
References getBaseType(), and cfront::Type::getSize().
| virtual size_t cfront::TypedefType::getAlign | ( | const TargetInfo & | targetInfo | ) | const [inline, virtual] |
Implements cfront::Type.
Definition at line 112 of file TypedefType.hpp.
References cfront::Type::getAlign(), and getBaseType().
| const Type* cfront::TypedefType::getBaseType | ( | ) | const [inline] |
Definition at line 117 of file TypedefType.hpp.
References def_, and cfront::TypeDefinition::getBaseType().
Referenced by getAlign(), cfront::CAnalyzer::getOriginalType(), getSize(), isArithmeticType(), isCompatibleType(), isIntegerType(), isScalarType(), and isVoidType().
| TypeDefinition* cfront::TypedefType::getDefinition | ( | ) | const [inline] |
| QualFlags cfront::TypedefType::getQualFlags | ( | ) | const [inline] |
Definition at line 127 of file TypedefType.hpp.
References qualFlags_.
Referenced by cfront::CAnalyzer::getOriginalType().
| void cfront::TypedefType::setQualFlags | ( | QualFlags | qf | ) | [inline] |
TypeDefinition* cfront::TypedefType::def_ [protected] |
QualFlags cfront::TypedefType::qualFlags_ [protected] |
1.5.6