class NstShape: public NstTree

Class NstShape

Inheritance:


Public Fields

[more]int left_size
left_size.
[more]int left_update
left_update.
[more]int right_size
right_size.
[more]int right_update
right_update.

Public Methods

[more] NstShape()
Creates a default object. This object is not syntactically correct.
[more] NstShape(const int& nleft_size, const int& nleft_update, const int& nright_size, const int& nright_update)
Creates a new NstShape
[more]int type() const
The type is NST_SHAPE.
[more]char* class_type() const
Returns the string NST_SHAPE.
[more]char* class_name() const
Returns the string NstShape.
[more]int base_type() const
Gives the base type of the object.
[more]NstTree* create_default()
Creates a default object of the base type.
[more]void copy(const NstShape& s)
Recursive copy of s.
[more]NstShape* clone() const
Recursive cloning.
[more]NstShape& operator= (const NstShape& s)
Same as copy.


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 NstShape. This class is used as a base class for representing array shapes, distribution shapes, etc...
o NstShape()
Creates a default object. This object is not syntactically correct.

o NstShape(const int& nleft_size, const int& nleft_update, const int& nright_size, const int& nright_update)
Creates a new NstShape.
Parameters:
nleft_size - left_size
nleft_update - left_update
nright_size - right_size
nright_update - right_update

oint type() const
The type is NST_SHAPE.

ochar* class_type() const
Returns the string NST_SHAPE.

ochar* class_name() const
Returns the string NstShape.

oint base_type() const
Gives the base type of the object.

oNstTree* create_default()
Creates a default object of the base type.

oint left_size
left_size.

oint left_update
left_update.

oint right_size
right_size.

oint right_update
right_update.

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

oNstShape* clone() const
Recursive cloning.

oNstShape& operator= (const NstShape& s)
Same as copy.


Direct child classes:
NstShapeSize
NstShapeExplicit
NstShapeDeferred
NstShapeAssumed

Alphabetic index HTML hierarchy of classes or Java



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