114 std::string
toString(
bool onlyValue =
true)
const;
121 bool store(FILE* f)
const;
GenPrototype * m_prototype
(GenPrototyp*) The prototype of the Gen.
Definition: Gen.h:134
The Gen class.
Definition: Gen.h:51
virtual ~Gen(void)
destructor to delete a gen.
Definition: Gen.cpp:40
The GenPrototype class.
Definition: GenPrototype.h:55
IValue * m_value
(IValue*) The value of the Gen.
Definition: Gen.h:128
void setValue(IValue *value)
[inline] This function change the saved pointer to the IValue.
Definition: Gen.h:90
int m_ID
(int) The ID of the Gen.
Definition: Gen.h:140
std::string toString(bool onlyValue=true) const
[const] This function returns a string representation of this Gen.
Definition: Gen.cpp:53
This class is a interface for a value which is part of a gen.
Definition: IValue.h:38
IValue * getValue(void) const
[inline], [const] This function gives the value which is saved in the Gen back.
Definition: Gen.h:82
int getID(void) const
[inline], [const] This function gives the ID of the Gen back.
Definition: Gen.h:98
bool store(FILE *f) const
store the gene in a file
Definition: Gen.cpp:69
std::string getName(void) const
[const] This function gives the Name of this Gen (name of the prototype) back.
Definition: Gen.cpp:45
GenPrototype * getPrototype(void) const
[const] This function gives the prototype of the Gen back.
Definition: Gen.cpp:49