In file code/C/type_net1.H:

class GBoolType : public GType

Boolean class, for logical operations

Inheritance:


public members:

GBoolType(int adata)
Constructor, takes an integer as input with false = 0, else true
virtual type_enum GetType()
Gets the object type
virtual void *GetData()
Gets the value of the data
virtual void SetData(void *adata)
Sets the data value

private members:

int data
Data payload

Inherited from GType:

public members:

virtual type_enum GetType()
virtual void *GetData()
virtual void SetData(void *adata)

Inherited from GObject:

public members:

friend ostream& operator<<(ostream& s, GObject &)

Documentation

This class is used by operators which take a boolean value as input. This class holds true and false, with one representing true and zero representing false. Note that this is compatible with C++'s concept of truth but is a little more restrictive. SetData() and the constructor both convert all non-zero values to one automatically.

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