VISH  0.2
Public Member Functions
Wizt::VComponentValue Class Reference

Think hard whether tha VComponentValue shouldn't rather refer to VValueType<> instead of an VValue<Type>, because then we can described structures recursively as components of each other More...

#include </home/werner/origo/vish/ocean/plankton/VValue.hpp>

List of all members.

Public Member Functions


Detailed Description

Think hard whether tha VComponentValue shouldn't rather refer to VValueType<> instead of an VValue<Type>, because then we can described structures recursively as components of each other


Constructor & Destructor Documentation

Wizt::VComponentValue::VComponentValue ( const VComponentValue V) [inline]

Copy constructor: copies just the value, all reference pointing stuff is not duplicated.

Also, the age of the new object is recent.


Member Function Documentation

override const type_info& Wizt::VComponentValue::getType ( ) const [inline]

Implement the virtual function to query the type ID of this value.

For this value, the type is fixed throughout its lifetime and corresponds to the type of the template argument.

Reimplemented from Wizt::VTypedValueBase< ComponentType >.

override bool Wizt::VComponentValue::getValue ( ComponentType &  Variable) const [inline]

Implement the virtual function to get the current value.

Returns:
True on successfull retrieval, which is always the case in the default implementation of a stored value. However, derived values which implement a procedural value might return false here as well.
Parameters:
VariableThe external storage space where to assign this value.
override bool Wizt::VComponentValue::request ( const VRequest request,
double  precision 
) [inline]

Ask to fullfill a request in a certain precision.

By default, this function does nothing, since the value to be computed is already stored here. However, since the function is virtual, a derived class might perform some actions here to compute the requested value.

Parameters:
precisionA quality parameter in the range [0,1]. Lower values indicate that this function should return as fast as possible, while higher values indicate that accuracy is more important than execution time. With a value of 0.0, the function should return immediately, at 1.0 it should take as long as required to perform the requested operation as accurate as possible.
override bool Wizt::VComponentValue::setValue ( const ComponentType &  Variable) [inline]

Implement the assignment of the current value.

Parameters:
VariableThe external storage space from where to assign this value.

The documentation for this class was generated from the following file: