class NstShape : public NstTree

Class NstShape

Inheritance:


Public Fields

int left_size
left_size.
int left_update
left_update.
int right_size
right_size.
int right_update
right_update.

Public Methods

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

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

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

int type()
The type is NST_SHAPE.

const char* class_type()
Returns the string NST_SHAPE.

const char* class_name()
Returns the string NstShape.

int base_type()
Gives the base type of the object.

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

int left_size
left_size.

int left_update
left_update.

int right_size
right_size.

int right_update
right_update.

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

NstShape* clone()
Recursive cloning.

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


Direct child classes:
NstShapeSize
NstShapeExplicit
NstShapeDeferred
NstShapeAssumed

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