class NstDeclarationDynamic : public NstDeclaration

Class NstDeclarationDynamic

Inheritance:


Public Methods

const char* class_name()
Returns the string NstDeclarationDynamic.
const char* class_type()
Returns the string NST_DECLARATION_DYNAMIC.
NstDeclarationDynamic* clone()
Recursive cloning.
void copy(const NstDeclarationDynamic& s)
Recursive copy of s.
NstDefinitionVariable* definition()
Returns the definition (Attribute 0).
NstDefinitionVariable* definition(NstDefinitionVariable& n)
Replaces the definition (Attribute 0).
NstDeclarationDynamic(NstDefinitionVariable& ntd)
Creates a new NstDeclarationDynamic
NstDeclarationDynamic(const NstDeclarationDynamic& o)
Recursive copy constructor
NstDeclarationDynamic& operator= (const NstDeclarationDynamic& s)
Same as copy.
int type()
The type is NST_DECLARATION_DYNAMIC.
~NstDeclarationDynamic()
Recursive destructor.

Inherited from NstDeclaration:

Public Fields

string above_comment
string below_comment
int line_number

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 NstDeclarationDynamic
NstDeclarationDynamic(NstDefinitionVariable& ntd)
Creates a new NstDeclarationDynamic
Parameters:
ntd - definition

~NstDeclarationDynamic()
Recursive destructor.

NstDeclarationDynamic(const NstDeclarationDynamic& 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_DECLARATION_DYNAMIC.

const char* class_type()
Returns the string NST_DECLARATION_DYNAMIC.

const char* class_name()
Returns the string NstDeclarationDynamic.

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

NstDeclarationDynamic* clone()
Recursive cloning.

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

NstDefinitionVariable* definition()
Returns the definition (Attribute 0).

NstDefinitionVariable* definition(NstDefinitionVariable& n)
Replaces the definition (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