Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
ControlFlowVisualization::VIfStatementCF Class Reference
Inheritance diagram for ControlFlowVisualization::VIfStatementCF:
Core::Reflect< Base >

Public Member Functions

 VIfStatementCF (Item *parent, NodeType *node, const StyleType *style=itemStyles().get())
 
virtual ~VIfStatementCF ()
 
virtual bool isEmpty () const override
 
virtual bool sizeDependsOnParent () const override
 

Protected Member Functions

virtual void determineChildren () override
 
virtual void updateGeometry (int availableWidth, int availableHeight) override
 

Private Attributes

Visualization::Itemcondition
 
Visualization::SequentialLayoutconditionBackground
 
VListCFelseBranch
 
VListCFthenBranch
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ VIfStatementCF()

ControlFlowVisualization::VIfStatementCF::VIfStatementCF ( Item parent,
NodeType *  node,
const StyleType *  style = itemStyles().get() 
)

◆ ~VIfStatementCF()

ControlFlowVisualization::VIfStatementCF::~VIfStatementCF ( )
virtual

Member Function Documentation

◆ determineChildren()

void ControlFlowVisualization::VIfStatementCF::determineChildren ( )
overrideprotectedvirtual

◆ isEmpty()

bool ControlFlowVisualization::VIfStatementCF::isEmpty ( ) const
overridevirtual

◆ sizeDependsOnParent()

bool ControlFlowVisualization::VIfStatementCF::sizeDependsOnParent ( ) const
overridevirtual

◆ updateGeometry()

void ControlFlowVisualization::VIfStatementCF::updateGeometry ( int  availableWidth,
int  availableHeight 
)
overrideprotectedvirtual

Member Data Documentation

◆ condition

Visualization::Item* ControlFlowVisualization::VIfStatementCF::condition
private

◆ conditionBackground

Visualization::SequentialLayout* ControlFlowVisualization::VIfStatementCF::conditionBackground
private

◆ elseBranch

VListCF* ControlFlowVisualization::VIfStatementCF::elseBranch
private

◆ thenBranch

VListCF* ControlFlowVisualization::VIfStatementCF::thenBranch
private