Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions
OOModel::CastExpression Class Reference
Inheritance diagram for OOModel::CastExpression:
Core::Reflect< Base >

Public Types

enum class  CastKind : int { Default , ConstCast , DynamicCast , ReinterpretCast , StaticCast , FunctionalCast }
 

Public Member Functions

 CastExpression (CastKind castKind)
 
CastKind castKind () const
 
void setCastKind (const CastKind &castKind)
 
virtual std::unique_ptr< Typetype () override
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Member Enumeration Documentation

◆ CastKind

Enumerator
Default 
ConstCast 
DynamicCast 
ReinterpretCast 
StaticCast 
FunctionalCast 

We currently do not use this type of cast when importing C++ code.

Functional casts are converted to construction method calls instead.

Constructor & Destructor Documentation

◆ CastExpression()

OOModel::CastExpression::CastExpression ( CastKind  castKind)

Member Function Documentation

◆ castKind()

CastExpression::CastKind OOModel::CastExpression::castKind ( ) const
inline

◆ setCastKind()

void OOModel::CastExpression::setCastKind ( const CastKind castKind)
inline

◆ type()

std::unique_ptr< Type > OOModel::CastExpression::type ( )
overridevirtual