class NstVariableSubstring : public NstVariable

Class NstVariableSubstring

Inheritance:


Public Methods

const char* class_name()
Returns the string NstVariableSubstring.
const char* class_type()
Returns the string NST_VARIABLE_SUBSTRING.
NstVariableSubstring* clone()
Recursive cloning.
void copy(const NstVariableSubstring& s)
Recursive copy of s.
NstExpression* index(const NstExpression& n)
Replaces the index (Attribute 1).
NstExpression* index()
Returns the index (Attribute 1).
NstVariableSubstring(const NstVariableSubstring& o)
Recursive copy constructor
NstVariableSubstring(const NstVariable& nidxvar, const NstExpression& nidx)
Creates a new NstVariableSubstring
NstVariableSubstring& operator= (const NstVariableSubstring& s)
Same as copy.
int type()
The type is NST_VARIABLE_SUBSTRING.
NstVariable* variable()
Returns the variable (Attribute 0).
NstVariable* variable(const NstVariable& n)
Replaces the variable (Attribute 0).
~NstVariableSubstring()
Recursive destructor.

Inherited from NstVariable:

Public Methods

int base_type()
NstTree* create_default()

Inherited from NstTree:

Public Fields

unsigned long tree_id
NstUserInfo user_info

Public Methods

virtual NstTree* cut()
NstTree* cut_buffer()
virtual void error(const char* st)
list <NstTree*> fathers()
NstTree* in()
virtual NstTree* init()
virtual NstTree* init(NstTrees::iterator &it)
virtual NstTree* next()
virtual NstTree* next(NstTrees::iterator &it)
friend ostream& operator << (ostream& s, const NstTree& t)
virtual void replace(NstTree& n)
virtual NstDefinition* search(const NstIdentifier& i, int tp = -1)
void traversal(int (*action)(NstTree*, void*), void* extra = NULL)
NstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
virtual void warning(const char* st)
string whoami()

Documentation

Class NstVariableSubstring
NstVariableSubstring(const NstVariable& nidxvar, const NstExpression& nidx)
Creates a new NstVariableSubstring
Parameters:
nidxvar - variable
nidx - index

~NstVariableSubstring()
Recursive destructor.

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

int type()
The type is NST_VARIABLE_SUBSTRING.

const char* class_type()
Returns the string NST_VARIABLE_SUBSTRING.

const char* class_name()
Returns the string NstVariableSubstring.

void copy(const NstVariableSubstring& s)
Recursive copy of s.

NstVariableSubstring* clone()
Recursive cloning.

NstVariableSubstring& operator= (const NstVariableSubstring& s)
Same as copy.

NstVariable* variable()
Returns the variable (Attribute 0).

NstVariable* variable(const NstVariable& n)
Replaces the variable (Attribute 0).

NstExpression* index()
Returns the index (Attribute 1).

NstExpression* index(const NstExpression& n)
Replaces the index (Attribute 1).


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