ScalarFieldImpl< T, true > Class Template Reference

#include <ScalarField.h>

Inheritance diagram for ScalarFieldImpl< T, true >:

Inheritance graph
[legend]
Collaboration diagram for ScalarFieldImpl< T, true >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScalarFieldImpl ()
 ScalarFieldImpl (const string &name, const string &description, const int &offset, const string &units="unspecific", const Field::AccessType &access=Field::readwrite, const double &lb=std::numeric_limits< double >::quiet_NaN(), const double &ub=std::numeric_limits< double >::quiet_NaN())
virtual ~ScalarFieldImpl ()
virtual ScalarFieldImpl< T,
true > * 
clone (void) const
virtual double getValue (SimObject *o) const
virtual void setValue (SimObject *o, double v) const

Static Public Member Functions

static void initValueType ()
 initializes the value of the the static member Type

Static Public Attributes

static ValueType Type = Field::unknown_t


Detailed Description

template<typename T>
class ScalarFieldImpl< T, true >

Definition at line 14 of file ScalarField.h.


Constructor & Destructor Documentation

template<typename T>
ScalarFieldImpl< T, true >::ScalarFieldImpl (  )  [inline]

template<typename T>
ScalarFieldImpl< T, true >::ScalarFieldImpl ( const string &  name,
const string &  description,
const int offset,
const string &  units = "unspecific",
const Field::AccessType access = Field::readwrite,
const double lb = std::numeric_limits<double>::quiet_NaN(),
const double ub = std::numeric_limits<double>::quiet_NaN() 
) [inline]

template<typename T>
virtual ScalarFieldImpl< T, true >::~ScalarFieldImpl (  )  [inline, virtual]

Definition at line 44 of file ScalarField.h.


Member Function Documentation

template<typename T>
virtual ScalarFieldImpl<T, true>* ScalarFieldImpl< T, true >::clone ( void   )  const [inline, virtual]

Implements Field.

Definition at line 50 of file ScalarField.h.

template<typename T>
virtual double ScalarFieldImpl< T, true >::getValue ( SimObject o  )  const [inline, virtual]

Implements Field.

Definition at line 55 of file ScalarField.h.

References Field::offset.

template<typename T>
virtual void ScalarFieldImpl< T, true >::setValue ( SimObject o,
double  v 
) const [inline, virtual]

Implements Field.

Definition at line 60 of file ScalarField.h.

References Field::offset.

template<typename T>
static void ScalarFieldImpl< T, true >::initValueType (  )  [inline, static]

initializes the value of the the static member Type

py++ complained when trying to use template static member full specialization and initialization, so i'm using a static member function for this

Definition at line 70 of file ScalarField.h.

References Field::double_t, Field::float_t, and Field::int_t.


Member Data Documentation

template<typename T>
Field::ValueType ScalarFieldImpl< T, true >::Type = Field::unknown_t [inline, static]

Definition at line 18 of file ScalarField.h.


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

Generated on Wed Jul 9 16:34:52 2008 for PCSIM by  doxygen 1.5.5