Base class for values with type.
More...
#include </home/werner/origo/vish/ocean/plankton/VValue.hpp>
List of all members.
Public Member Functions
-
override const type_info & getType () const
- Implement the type information function.
-
virtual bool getValue (Type &Variable) const =0
- Abstract interface to set the value of a variable from the type stored here.
-
virtual bool setValue (const Type &Variable)=0
-
VTypedValueBase (const VTypedValueBase &V)
- Copy constructor, takes care of exported members.
-
VTypedValueBase ()
- Default Constructor.
Detailed Description
Base class for values with type.
It does not yet specify a storage place but allows reading and setting a typed value. Procedural value types may be derived from this base class. For storing a specific type, use child class VValue<Type>.
- Todo:
- Consider whether this shouldn't better be an interface. Then, a certain type may implement multiple type conversions, e.g. from float to int.
The documentation for this class was generated from the following file:
- ocean/plankton/VValue.hpp