class VsIf : public VsStatement

If statement.

Inheritance:


Public Methods

virtual VsStatement::Status1 execute(VsFunctionCall *)
Evaluates
VsIf(VsExpr *condition, VsStatementList *ifStatements, VsStatementList *elseStatements)
Pass in expression for condition, if statements, and else statements (NULL if just a "bare" if)
virtual ~VsIf()

Private Fields

VsExpr* condition
VsStatementList* ifStatements

Inherited from VsStatement:

Public Classes

enum Status1

Public

enum Status1

Documentation

If statement.
VsIf(VsExpr *condition, VsStatementList *ifStatements, VsStatementList *elseStatements)
Pass in expression for condition, if statements, and else statements (NULL if just a "bare" if)

virtual ~VsIf()

virtual VsStatement::Status1 execute(VsFunctionCall *)
Evaluates. Depending on condition expression, either if or else statements are executed.

VsExpr* condition

VsStatementList* ifStatements


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de