class NstTypeRecord : public NstType

Class NstTypeRecord

Inheritance:


Public Fields

NstDeclarationList declarations
declarations.

Public Methods

const char* class_name()
Returns the string NstTypeRecord.
const char* class_type()
Returns the string NST_TYPE_RECORD.
NstTypeRecord* clone()
Recursive cloning.
void copy(const NstTypeRecord& s)
Recursive copy of s.
NstDefinitionType* definition()
Returns the definition (Attribute 1).
NstDefinitionType* definition(const NstDefinitionType& n)
Replaces the definition (Attribute 1).
NstTypeRecord(const NstDefinitionType& ndt)
Creates a new NstTypeRecord
NstTypeRecord(const NstTypeRecord& o)
Recursive copy constructor
NstTypeRecord& operator= (const NstTypeRecord& s)
Same as copy.
int type()
The type is NST_TYPE_RECORD.
~NstTypeRecord()
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 NstTypeRecord
NstTypeRecord(const NstDefinitionType& ndt)
Creates a new NstTypeRecord
Parameters:
ndt - definition

~NstTypeRecord()
Recursive destructor.

NstTypeRecord(const NstTypeRecord& 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_RECORD.

const char* class_type()
Returns the string NST_TYPE_RECORD.

const char* class_name()
Returns the string NstTypeRecord.

NstDeclarationList declarations
declarations.

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

NstTypeRecord* clone()
Recursive cloning.

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

NstDefinitionType* definition()
Returns the definition (Attribute 1).

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