class NstDefinitionCommon: public NstDefinition

Class NstDefinitionCommon

Inheritance:


Public Fields

[more]NstDefinitionList symbols
symbols.
[more]int size
size.
[more]int main
main.
[more]int distributed_vars
distributed_vars.
[more]int sequence
sequence.

Public Methods

[more] NstDefinitionCommon(const NstIdentifier& nidf, const int& nsize, const int& nmain, const int& ndistributed_vars, const int& nsequence)
Creates a new NstDefinitionCommon
[more] ~NstDefinitionCommon()
Recursive destructor.
[more] NstDefinitionCommon(const NstDefinitionCommon& o)
Recursive copy constructor
[more]int type() const
The type is NST_DEFINITION_COMMON.
[more]char* class_type() const
Returns the string NST_DEFINITION_COMMON.
[more]char* class_name() const
Returns the string NstDefinitionCommon.
[more]void copy(const NstDefinitionCommon& s)
Recursive copy of s.
[more]NstDefinitionCommon* clone() const
Recursive cloning.
[more]NstDefinitionCommon& operator= (const NstDefinitionCommon& s)
Same as copy.
[more]NstDefinition* search(const NstIdentifier& i, int tp = -1) const
Search an identifier in definition


Inherited from NstDefinition:

Public Fields

oint is_private

Public Methods

oint base_type() const
oNstTree* create_default()
oNstDefinition* in_definition() const
oNstIdentifier* identifier() const
oNstIdentifier* identifier(const NstIdentifier& n)


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()
ovoid replace(NstTree& n)
oNstTree* in() const
o fathers() const
ostring whoami() const


Documentation

Class NstDefinitionCommon.
o NstDefinitionCommon(const NstIdentifier& nidf, const int& nsize, const int& nmain, const int& ndistributed_vars, const int& nsequence)
Creates a new NstDefinitionCommon.
Parameters:
nidf - identifier
nsize - size
nmain - main
ndistributed_vars - distributed_vars
nsequence - sequence

o ~NstDefinitionCommon()
Recursive destructor.

o NstDefinitionCommon(const NstDefinitionCommon& 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_DEFINITION_COMMON.

ochar* class_type() const
Returns the string NST_DEFINITION_COMMON.

ochar* class_name() const
Returns the string NstDefinitionCommon.

oNstDefinitionList symbols
symbols.

oint size
size.

oint main
main.

oint distributed_vars
distributed_vars.

oint sequence
sequence.

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

oNstDefinitionCommon* clone() const
Recursive cloning.

oNstDefinitionCommon& operator= (const NstDefinitionCommon& s)
Same as copy.

oNstDefinition* search(const NstIdentifier& i, int tp = -1) const
Search an identifier in definition. Useful if definition has a symbol table.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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