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

Public Types

enum  Direction { IN , OUT , INOUT }
 

Public Member Functions

 FormalArgument (const QString &name, const Direction &direction)
 
 FormalArgument (const QString &name, Expression *type=nullptr, const Direction &direction=IN)
 
Direction direction () const
 
bool isUsedInParentMethod ()
 
void setDirection (const Direction &direction)
 

Additional Inherited Members

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

Member Enumeration Documentation

◆ Direction

Enumerator
IN 
OUT 
INOUT 

Constructor & Destructor Documentation

◆ FormalArgument() [1/2]

OOModel::FormalArgument::FormalArgument ( const QString &  name,
Expression type = nullptr,
const Direction direction = IN 
)

◆ FormalArgument() [2/2]

OOModel::FormalArgument::FormalArgument ( const QString &  name,
const Direction direction 
)

Member Function Documentation

◆ direction()

FormalArgument::Direction OOModel::FormalArgument::direction ( ) const
inline

◆ isUsedInParentMethod()

bool OOModel::FormalArgument::isUsedInParentMethod ( )

◆ setDirection()

void OOModel::FormalArgument::setDirection ( const Direction direction)
inline