#include <IValue.h>
Inherits Inspectable.
Inherited by TemplateValue.
Inheritance diagram for IValue:
Public Member Functions | |
IValue (std::string name) | |
constructor Needs a string for the name of the value. | |
virtual | ~IValue () |
default destructor | |
virtual IValue * | operator * (const IValue &) const =0 |
the mul. | |
virtual IValue * | operator+ (const IValue &) const =0 |
the add operator. | |
virtual | operator std::string (void) const |
the cast operator for a cast in type string | |
virtual bool | store (FILE *f) const |
store the value in a file | |
virtual bool | restore (FILE *f) |
restore the value from a file | |
Protected Attributes | |
std::string | m_name |
the name of this class. |
Over this concept is it paissible to make the Gen and the GenFactory independent from his saved type.
IValue | ( | std::string | name | ) |
constructor Needs a string for the name of the value.
In the normal way it is the Type of the Value. For example "templateValue".
name | (string) the name |
~IValue | ( | ) | [virtual] |
default destructor
the mul.
operator. Dosn't change this class!!!
(const | IValue&) the other part of the operation |
Implemented in TemplateValue.
operator std::string | ( | void | ) | const [virtual] |
the cast operator for a cast in type string
Reimplemented in TemplateValue.
the add operator.
Dosn't change this class!!!
(const | IValue&) the other part of the operation |
Implemented in TemplateValue.
bool restore | ( | FILE * | f | ) | [virtual] |
restore the value from a file
f | (FILE*) the file where the value inside |
Reimplemented in TemplateValue.
bool store | ( | FILE * | f | ) | const [virtual] |
store the value in a file
f | (FILE*) the file to store |
Reimplemented in TemplateValue.
std::string m_name [protected] |
the name of this class.