class NstExpressionSlice : public NstExpression

Class NstExpressionSlice

Inheritance:


Public Methods

const char* class_name()
Returns the string NstExpressionSlice.
const char* class_type()
Returns the string NST_EXPRESSION_SLICE.
NstExpressionSlice* clone()
Recursive cloning.
void copy(const NstExpressionSlice& s)
Recursive copy of s.
NstExpression* lbound(const NstExpression& n)
Replaces the lbound (Attribute 0).
NstExpression* lbound()
Returns the lbound (Attribute 0).
NstExpressionSlice(const NstExpressionSlice& o)
Recursive copy constructor
NstExpressionSlice(const NstExpression& nlb, const NstExpression& nhb, const NstExpression& nst)
Creates a new NstExpressionSlice
NstExpressionSlice& operator= (const NstExpressionSlice& s)
Same as copy.
NstExpression* step()
Returns the step (Attribute 2).
NstExpression* step(const NstExpression& n)
Replaces the step (Attribute 2).
int type()
The type is NST_EXPRESSION_SLICE.
NstExpression* ubound()
Returns the ubound (Attribute 1).
NstExpression* ubound(const NstExpression& n)
Replaces the ubound (Attribute 1).
~NstExpressionSlice()
Recursive destructor.

Inherited from NstExpression:

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 NstExpressionSlice
NstExpressionSlice(const NstExpression& nlb, const NstExpression& nhb, const NstExpression& nst)
Creates a new NstExpressionSlice
Parameters:
nlb - lbound
nhb - ubound
nst - step

~NstExpressionSlice()
Recursive destructor.

NstExpressionSlice(const NstExpressionSlice& 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_EXPRESSION_SLICE.

const char* class_type()
Returns the string NST_EXPRESSION_SLICE.

const char* class_name()
Returns the string NstExpressionSlice.

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

NstExpressionSlice* clone()
Recursive cloning.

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

NstExpression* lbound()
Returns the lbound (Attribute 0).

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

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

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

NstExpression* step()
Returns the step (Attribute 2).

NstExpression* step(const NstExpression& n)
Replaces the step (Attribute 2).


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