class NstExpressionSlice: public NstExpression

Class NstExpressionSlice

Inheritance:


Public Methods

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


Inherited from NstExpression:

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

o ~NstExpressionSlice()
Recursive destructor.

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

ochar* class_type() const
Returns the string NST_EXPRESSION_SLICE.

ochar* class_name() const
Returns the string NstExpressionSlice.

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

oNstExpressionSlice* clone() const
Recursive cloning.

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

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

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

oNstExpression* ubound() const
Returns the ubound (Attribute 1).

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

oNstExpression* step() const
Returns the step (Attribute 2).

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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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