#include <History.h>

Public Types

typedef Quantity< TimeT
 
typedef History< Q > Type
 

Public Member Functions

T::SCP t (size_t i) const
 
T::SCP t0 () const
 
T::SCP tn () const
 
double dt (size_t i, typename T::Units u) const
 
Q::SCP q (size_t i) const
 
double dq (size_t i, typename Q::Units u) const
 
size_t n () const
 
void add (typename T::SP t, typename Q::SP q, Representation rep=Representation::CONSTANT)
 
bool good () const
 
virtual bool good (std::vector< std::string > &errors) const
 
virtual std::string toString () const
 

Protected Member Functions

virtual void synchronize ()
 

Protected Attributes

std::vector< typename Q::SP > b_quantities
 
std::vector< Representationb_reps
 
std::vector< T::SPb_times
 

Detailed Description

template<typename Q = U::SP>
class Origen::History< Q >

Examples:
tstHistory.cpp.

Member Typedef Documentation

typedef Quantity<Time> T
typedef History<Q> Type

Member Function Documentation

T::SCP t ( size_t  i) const
inline
Examples:
tstHistory.cpp.

Referenced by TEST().

T::SCP t0 ( ) const
inline
Examples:
tstHistory.cpp.

Referenced by TEST().

T::SCP tn ( ) const
inline
double dt ( size_t  i,
typename T::Units  u 
) const
inline
Examples:
tstHistory.cpp.

Referenced by TEST().

Q::SCP q ( size_t  i) const
inline
Examples:
tstHistory.cpp.

Referenced by TEST().

double dq ( size_t  i,
typename Q::Units  u 
) const
inline
size_t n ( ) const
inline
Examples:
tstHistory.cpp.

Referenced by TEST().

void add ( typename T::SP  t,
typename Q::SP  q,
Representation  rep = Representation::CONSTANT 
)
inline
Examples:
tstHistory.cpp.

Referenced by TEST().

bool good ( ) const
inline
bool good ( std::vector< std::string > &  errors) const
inlinevirtual

References Time::SECONDS.

std::string toString ( ) const
inlinevirtual
Examples:
tstHistory.cpp.

Referenced by TEST().

void synchronize ( )
inlineprotectedvirtual

Member Data Documentation

std::vector<typename Q::SP> b_quantities
protected
std::vector<Representation> b_reps
protected
std::vector<T::SP> b_times
protected

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