Public Member Functions | Public Attributes | Protected Attributes

Interpolated< V > Class Template Reference
[mappingDetails - mostly internal mapping classes]

Represents an interpolated value of any type. More...

#include <Interpolation.h>

Collaboration diagram for Interpolated< V >:
Collaboration graph
[legend]

List of all members.

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

value

Detailed Description

template<class V>
class Interpolated< V >

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()"

Author:
Karl Wessel

Definition at line 27 of file Interpolation.h.


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