Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
OOModel::PointerType Class Reference
Inheritance diagram for OOModel::PointerType:
OOModel::Type

Public Member Functions

 PointerType (const PointerType &other)
 
 PointerType (std::unique_ptr< Type > baseType, bool isValueType)
 
const TypebaseType () const
 
virtual PointerTypeclone () const override
 
virtual bool equals (const Type *other) const override
 
- Public Member Functions inherited from OOModel::Type
 Type (bool isValueType)
 
 Type (const Type &other)
 
virtual ~Type ()
 
virtual bool isError () const
 Returns true if this is an error type. More...
 
bool isValueType () const
 Returns true if the this type belongs to an expression representing a value. More...
 
Qualifiers qualifiers () const
 
TypeSystem::TypeRelations relationTo (const Type *other) const
 
void setQualifiers (Qualifiers q, bool enable=true)
 
void setValueType (bool isValueType)
 

Private Attributes

std::unique_ptr< TypebaseType_
 

Additional Inherited Members

- Public Types inherited from OOModel::Type
enum  Qualifier { CONST = 0x1 , VOLATILE = 0x2 }
 
using Qualifiers = QFlags< Qualifier >
 

Constructor & Destructor Documentation

◆ PointerType() [1/2]

OOModel::PointerType::PointerType ( std::unique_ptr< Type baseType,
bool  isValueType 
)

◆ PointerType() [2/2]

OOModel::PointerType::PointerType ( const PointerType other)

Member Function Documentation

◆ baseType()

const Type * OOModel::PointerType::baseType ( ) const
inline

◆ clone()

PointerType * OOModel::PointerType::clone ( ) const
overridevirtual

Implements OOModel::Type.

◆ equals()

bool OOModel::PointerType::equals ( const Type other) const
overridevirtual

Implements OOModel::Type.

Member Data Documentation

◆ baseType_

std::unique_ptr<Type> OOModel::PointerType::baseType_
private