All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Friends | List of all members
openfluid::core::IndexedValue Class Reference

#include <core/ValuesBuffer.hpp>

Public Member Functions

 IndexedValue ()
 
 IndexedValue (const TimeIndex_t &Ind, const Value &Val)
 
 IndexedValue (const IndexedValue &IndValue)
 
TimeIndex_t getIndex () const
 
ValuegetValue () const
 
ValuegetValue ()
 
void clear ()
 

Friends

class ValuesBuffer
 

Constructor & Destructor Documentation

openfluid::core::IndexedValue::IndexedValue ( )
inline

Default constructor

openfluid::core::IndexedValue::IndexedValue ( const TimeIndex_t Ind,
const Value Val 
)
inline

Constructor from a time index and a value

openfluid::core::IndexedValue::IndexedValue ( const IndexedValue IndValue)
inline

Copy constructor

Member Function Documentation

void openfluid::core::IndexedValue::clear ( )
inline

Clears the content of the indexed value. The time index is set to 0, and the value is set to an openfluid::core::NullValue.

TimeIndex_t openfluid::core::IndexedValue::getIndex ( ) const
inline

Returns the time index of the indexed value

Returns
the time index
Value* openfluid::core::IndexedValue::getValue ( ) const
inline

Returns a pointer to the value of the indexed value

Returns
a pointer to the value
Value* openfluid::core::IndexedValue::getValue ( )
inline

Returns a pointer to the value of the indexed value

Returns
a pointer to the value

Friends And Related Function Documentation

friend class ValuesBuffer
friend

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