class NstStatementWhere: public NstStatement

Class NstStatementWhere

Inheritance:


Public Fields

[more]NstStatementList true_part
true_part.
[more]NstStatementList false_part
false_part.

Public Methods

[more] NstStatementWhere(const NstExpression& ne)
Creates a new NstStatementWhere
[more] ~NstStatementWhere()
Recursive destructor.
[more] NstStatementWhere(const NstStatementWhere& o)
Recursive copy constructor
[more]int type() const
The type is NST_STATEMENT_WHERE.
[more]char* class_type() const
Returns the string NST_STATEMENT_WHERE.
[more]char* class_name() const
Returns the string NstStatementWhere.
[more]void copy(const NstStatementWhere& s)
Recursive copy of s.
[more]NstStatementWhere* clone() const
Recursive cloning.
[more]NstStatementWhere& operator= (const NstStatementWhere& s)
Same as copy.
[more]NstExpression* condition() const
Returns the condition (Attribute 0).
[more]NstExpression* condition(const NstExpression& n)
Replaces the condition (Attribute 0).


Inherited from NstStatement:

Public Fields

oint label
ostring slabel
oint line_number
oint is_commented
ostring above_comment
ostring below_comment

Public Methods

oint base_type() const
oNstTree* create_default()


Inherited from NstTree:

Public Fields

olong tree_id
oNstUserInfo user_info

Public Methods

oNstTree* cut_buffer() const
ovoid error(const char* st) const
ovoid warning(const char* st) const
oostream& operator << (ostream& s, const NstTree& t)
oNstTree* init()
oNstTree* init(NstTrees::iterator &it)
oNstTree* next()
oNstTree* next(NstTrees::iterator &it)
ovoid traversal(int (*action)(NstTree*, void*), void* extra = NULL)
oNstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
oNstTree* cut()
oNstDefinition* search(const NstIdentifier& i, int tp = -1) const
ovoid replace(NstTree& n)
oNstTree* in() const
o fathers() const
ostring whoami() const


Documentation

Class NstStatementWhere.
o NstStatementWhere(const NstExpression& ne)
Creates a new NstStatementWhere.
Parameters:
ne - condition

o ~NstStatementWhere()
Recursive destructor.

o NstStatementWhere(const NstStatementWhere& o)
Recursive copy constructor. Creates a new object that is a recursive copy of the parameter.
Parameters:
o - object to copy.

oint type() const
The type is NST_STATEMENT_WHERE.

ochar* class_type() const
Returns the string NST_STATEMENT_WHERE.

ochar* class_name() const
Returns the string NstStatementWhere.

oNstStatementList true_part
true_part.

oNstStatementList false_part
false_part.

ovoid copy(const NstStatementWhere& s)
Recursive copy of s.

oNstStatementWhere* clone() const
Recursive cloning.

oNstStatementWhere& operator= (const NstStatementWhere& s)
Same as copy.

oNstExpression* condition() const
Returns the condition (Attribute 0).

oNstExpression* condition(const NstExpression& n)
Replaces the condition (Attribute 0).


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.