class NstInteger: public NstConstant

Class NstInteger

Inheritance:


Public Fields

[more]int value
value.

Public Methods

[more] NstInteger(const int& nvalue)
Creates a new NstInteger
[more]int type() const
The type is NST_CONSTANT_INT.
[more]char* class_type() const
Returns the string NST_CONSTANT_INT.
[more]char* class_name() const
Returns the string NstInteger.
[more]void copy(const NstInteger& s)
Recursive copy of s.
[more]NstInteger* clone() const
Recursive cloning.
[more]NstInteger& operator= (const NstInteger& s)
Same as copy.


Inherited from NstConstant:

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 NstInteger.
o NstInteger(const int& nvalue)
Creates a new NstInteger.
Parameters:
nvalue - value

oint type() const
The type is NST_CONSTANT_INT.

ochar* class_type() const
Returns the string NST_CONSTANT_INT.

ochar* class_name() const
Returns the string NstInteger.

oint value
value.

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

oNstInteger* clone() const
Recursive cloning.

oNstInteger& operator= (const NstInteger& s)
Same as copy.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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