Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

InterpolatedData< T > Class Template Reference

Base class for interpolated data. More...

#include <Interpolate.h>

Inheritance diagram for InterpolatedData< T >:

BaseType List of all members.

Public Types

typedef T value_t
typedef std::vector< value_tvector_t
typedef std::vector< value_t
>::iterator 
vector_it
typedef std::vector< value_t
>::const_iterator 
vector_cit

Public Methods

 InterpolatedData ()
virtual ~InterpolatedData ()
virtual void serialize (Archive &)
 Serialize to or from a data archive.

virtual value_t getValue (value_t, value_t) const
virtual value_t getPrecise (value_t, value_t) const
int find (vector_t b, value_t v) const
virtual void parseXML (const char *cdata)
 Parse cdata from within the XML tags for this object.

virtual void convertXML ()
 Convert XML data to internal format prior to serialization.

virtual std::string asString () const=0
 Return a string representation of the instance.

virtual std::string typeString () const=0
 Return a string representation of the type.


Public Attributes

Enum< InterpolatedData< T
>::Method
method

Static Public Attributes

const Enumeration Method

Protected Methods

vector_t _compute_second_derivatives (const vector_t &breaks, const vector_t &data)
virtual void _compute_second_derivatives ()=0

Detailed Description

template<typename T>
class InterpolatedData< T >

Base class for interpolated data.

Author:
Mark Rose <mrose@stm.lbl.gov>


Member Typedef Documentation

template<typename T>
typedef T InterpolatedData< T >::value_t
 

template<typename T>
typedef std::vector<value_t>::const_iterator InterpolatedData< T >::vector_cit
 

template<typename T>
typedef std::vector<value_t>::iterator InterpolatedData< T >::vector_it
 

template<typename T>
typedef std::vector<value_t> InterpolatedData< T >::vector_t
 


Constructor & Destructor Documentation

template<typename T>
InterpolatedData< T >::InterpolatedData  
 

template<typename T>
InterpolatedData< T >::~InterpolatedData   [virtual]
 


Member Function Documentation

template<typename T>
virtual void InterpolatedData< T >::_compute_second_derivatives   [protected, pure virtual]
 

Implemented in Curve, and Table.

template<typename T>
InterpolatedData< T >::vector_t InterpolatedData< T >::_compute_second_derivatives const vector_t   breaks,
const vector_t   data
[protected]
 

virtual std::string BaseType::asString   [pure virtual, inherited]
 

Return a string representation of the instance.

This method is used to provide a string representation of the object for output to ostreams (using <<), and also serves as __repr__ in Python.

Implemented in SimDate, EnumLink, External, GeoPos, LLA, UTM, Curve, Table, Key, LinkBase, List< T >, LUT< N, X >, LUT< 1, X >, Matrix3, Object, Path, Quat, Real, Vector3, and LUT< N, T >.

void BaseType::convertXML   [virtual, inherited]
 

Convert XML data to internal format prior to serialization.

This method is currently only called by the XML parser for Object classes. If another BaseType class requires this method, a call must be added to the appropriate XML handler in the parser.

template<typename T>
int InterpolatedData< T >::find vector_t    b,
value_t    v
const
 

template<typename T>
InterpolatedData< T >::value_t InterpolatedData< T >::getPrecise value_t   ,
value_t   
const [virtual]
 

template<typename T>
InterpolatedData< T >::value_t InterpolatedData< T >::getValue value_t   ,
value_t   
const [virtual]
 

void BaseType::parseXML const char *    cdata [virtual, inherited]
 

Parse cdata from within the XML tags for this object.

Reimplemented in SimDate, EnumLink, GeoPos, LLA, UTM, Matrix3, Quat, Real, and Vector3.

template<typename T>
void InterpolatedData< T >::serialize Archive   [virtual]
 

Serialize to or from a data archive.

Reimplemented from BaseType.

Reimplemented in Curve, and Table.

virtual std::string BaseType::typeString   [pure virtual, inherited]
 

Return a string representation of the type.

Implemented in SimDate, EnumLink, External, GeoPos, LLA, UTM, ECEF, Curve, Table, Key, LinkBase, Link< T >, LUT< N, X >, LUT< 1, X >, Matrix3, Object, Path, Quat, Real, Vector3, and LUT< N, T >.


Member Data Documentation

template<typename T>
Enum<InterpolatedData<T>::Method> InterpolatedData< T >::method
 

template<typename T>
const Enumeration InterpolatedData< T >::Method [static]
 


The documentation for this class was generated from the following files:
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:41 2003, using Doxygen 1.2.18.

[SF.net]