class NstTypeComplex: public NstType

Class NstTypeComplex

Inheritance:


Public Methods

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


Inherited from NstType:

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

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

o ~NstTypeComplex()
Recursive destructor.

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

ochar* class_type() const
Returns the string NST_TYPE_COMPLEX.

ochar* class_name() const
Returns the string NstTypeComplex.

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

oNstTypeComplex* clone() const
Recursive cloning.

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

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

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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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