class NstDeclarationTemplate: public NstDeclaration

Class NstDeclarationTemplate

Inheritance:


Public Fields

[more]NstShapeList shapes
shapes.

Public Methods

[more] NstDeclarationTemplate(const NstDefinitionTemplate& ntd)
Creates a new NstDeclarationTemplate
[more] ~NstDeclarationTemplate()
Recursive destructor.
[more] NstDeclarationTemplate(const NstDeclarationTemplate& o)
Recursive copy constructor
[more]int type() const
The type is NST_DECLARATION_TEMPLATE.
[more]char* class_type() const
Returns the string NST_DECLARATION_TEMPLATE.
[more]char* class_name() const
Returns the string NstDeclarationTemplate.
[more]void copy(const NstDeclarationTemplate& s)
Recursive copy of s.
[more]NstDeclarationTemplate* clone() const
Recursive cloning.
[more]NstDeclarationTemplate& operator= (const NstDeclarationTemplate& s)
Same as copy.
[more]NstDefinitionTemplate* definition() const
Returns the definition (Attribute 1).
[more]NstDefinitionTemplate* definition(const NstDefinitionTemplate& n)
Replaces the definition (Attribute 1).


Inherited from NstDeclaration:

Public Fields

oint line_number
ostring above_comment
ostring below_comment

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 NstDeclarationTemplate.
o NstDeclarationTemplate(const NstDefinitionTemplate& ntd)
Creates a new NstDeclarationTemplate.
Parameters:
ntd - definition

o ~NstDeclarationTemplate()
Recursive destructor.

o NstDeclarationTemplate(const NstDeclarationTemplate& 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_DECLARATION_TEMPLATE.

ochar* class_type() const
Returns the string NST_DECLARATION_TEMPLATE.

ochar* class_name() const
Returns the string NstDeclarationTemplate.

oNstShapeList shapes
shapes.

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

oNstDeclarationTemplate* clone() const
Recursive cloning.

oNstDeclarationTemplate& operator= (const NstDeclarationTemplate& s)
Same as copy.

oNstDefinitionTemplate* definition() const
Returns the definition (Attribute 1).

oNstDefinitionTemplate* definition(const NstDefinitionTemplate& n)
Replaces the definition (Attribute 1).


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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