Represents an interpolated value of any type. More...
#include <Interpolation.h>
Public Member Functions | |
Interpolated (V v, bool isIntpl=true) | |
V & | operator* () |
V * | operator-> () |
bool | operator== (const Interpolated< V > &other) |
bool | operator!= (const Interpolated< V > &other) |
Public Attributes | |
bool | isInterpolated |
Protected Attributes | |
V | value |
Represents an interpolated value of any type.
This class is used for performance, transparency and memory reasons. Since the actual value can be of arbitrary type and therefore arbitrary complexity (for example a whole Mapping instance) or could even be a pointer to an existing or a new object. This class hides the actual value from the user and just provides it with the value and takes care of any memory deallocation if necessary.
The actual value can be gotten by dereferencing the instance of this class (like with iterators).
Returned by InterpolateableMaps "getValue()"
Definition at line 27 of file Interpolation.h.