class NstDistribution: public NstTree

Class NstDistribution

Inheritance:


Public Fields

[more]int is_descriptive
is_descriptive.

Public Methods

[more] NstDistribution()
Creates a default object. This object is not syntactically correct.
[more] NstDistribution(const int& nis_descriptive)
Creates a new NstDistribution
[more]int type() const
The type is NST_DISTRIBUTION.
[more]char* class_type() const
Returns the string NST_DISTRIBUTION.
[more]char* class_name() const
Returns the string NstDistribution.
[more]int base_type() const
Gives the base type of the object.
[more]NstTree* create_default()
Creates a default object of the base type.
[more]void copy(const NstDistribution& s)
Recursive copy of s.
[more]NstDistribution* clone() const
Recursive cloning.
[more]NstDistribution& operator= (const NstDistribution& s)
Same as copy.


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 NstDistribution. This is the base class for description of distributions in HPF.
o NstDistribution()
Creates a default object. This object is not syntactically correct.

o NstDistribution(const int& nis_descriptive)
Creates a new NstDistribution.
Parameters:
nis_descriptive - is_descriptive

oint type() const
The type is NST_DISTRIBUTION.

ochar* class_type() const
Returns the string NST_DISTRIBUTION.

ochar* class_name() const
Returns the string NstDistribution.

oint base_type() const
Gives the base type of the object.

oNstTree* create_default()
Creates a default object of the base type.

oint is_descriptive
is_descriptive.

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

oNstDistribution* clone() const
Recursive cloning.

oNstDistribution& operator= (const NstDistribution& s)
Same as copy.


Direct child classes:
NstDistributionRepl
NstDistributionNode
NstDistributionDefault
NstDistributionAny

Alphabetic index HTML hierarchy of classes or Java



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