class NstTypeComplex : public NstType

Class NstTypeComplex

Inheritance:


Public Methods

const char* class_name()
Returns the string NstTypeComplex.
const char* class_type()
Returns the string NST_TYPE_COMPLEX.
NstTypeComplex* clone()
Recursive cloning.
void copy(const NstTypeComplex& s)
Recursive copy of s.
NstTypeComplex(const NstTypeComplex& o)
Recursive copy constructor
NstTypeComplex(const NstExpression& nsz)
Creates a new NstTypeComplex
NstTypeComplex()
Creates a type with the default size.
NstTypeComplex& operator= (const NstTypeComplex& s)
Same as copy.
NstExpression* size()
Returns the size (Attribute 0).
NstExpression* size(const NstExpression& n)
Replaces the size (Attribute 0).
int type()
The type is NST_TYPE_COMPLEX.
~NstTypeComplex()
Recursive destructor.

Inherited from NstType:

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 NstTypeComplex
NstTypeComplex()
Creates a type with the default size.

NstTypeComplex(const NstExpression& nsz)
Creates a new NstTypeComplex
Parameters:
nsz - size

~NstTypeComplex()
Recursive destructor.

NstTypeComplex(const NstTypeComplex& 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_TYPE_COMPLEX.

const char* class_type()
Returns the string NST_TYPE_COMPLEX.

const char* class_name()
Returns the string NstTypeComplex.

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

NstTypeComplex* clone()
Recursive cloning.

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

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

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


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