class NstParameterNamed : public NstParameter

Class NstParameterNamed

Inheritance:


Public Methods

const char* class_name()
Returns the string NstParameterNamed.
const char* class_type()
Returns the string NST_PARAMETER_NAMED.
NstParameterNamed* clone()
Recursive cloning.
void copy(const NstParameterNamed& s)
Recursive copy of s.
NstIdentifier* name(const NstIdentifier& n)
Replaces the name (Attribute 0).
NstIdentifier* name()
Returns the name (Attribute 0).
NstParameterNamed(const NstParameterNamed& o)
Recursive copy constructor
NstParameterNamed(const NstIdentifier& nnm, const NstParameter& npar)
Creates a new NstParameterNamed
NstParameterNamed& operator= (const NstParameterNamed& s)
Same as copy.
NstParameter* parameter()
Returns the parameter (Attribute 1).
NstParameter* parameter(const NstParameter& n)
Replaces the parameter (Attribute 1).
int type()
The type is NST_PARAMETER_NAMED.
~NstParameterNamed()
Recursive destructor.

Inherited from NstParameter:

Public Methods

int base_type()
NstTree* create_default()
NstParameter* isNstParameter()

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 NstParameterNamed
NstParameterNamed(const NstIdentifier& nnm, const NstParameter& npar)
Creates a new NstParameterNamed
Parameters:
nnm - name
npar - parameter

~NstParameterNamed()
Recursive destructor.

NstParameterNamed(const NstParameterNamed& 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_PARAMETER_NAMED.

const char* class_type()
Returns the string NST_PARAMETER_NAMED.

const char* class_name()
Returns the string NstParameterNamed.

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

NstParameterNamed* clone()
Recursive cloning.

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

NstIdentifier* name()
Returns the name (Attribute 0).

NstIdentifier* name(const NstIdentifier& n)
Replaces the name (Attribute 0).

NstParameter* parameter()
Returns the parameter (Attribute 1).

NstParameter* parameter(const NstParameter& n)
Replaces the parameter (Attribute 1).


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