Public Member Functions | List of all members
openfluid::core::ValuesBuffer Class Reference

#include <core/ValuesBuffer.hpp>

Inheritance diagram for openfluid::core::ValuesBuffer:
Inheritance graph
[legend]
Collaboration diagram for openfluid::core::ValuesBuffer:
Collaboration graph
[legend]

Public Member Functions

 ValuesBuffer ()
 
 ~ValuesBuffer ()
 
bool getValue (const TimeIndex_t &anIndex, Value *aValue) const
 
Valuevalue (const TimeIndex_t &anIndex) const
 
ValuecurrentValue () const
 
TimeIndex_t getCurrentIndex () const
 
bool isValueExist (const TimeIndex_t &anIndex) const
 
bool getCurrentValue (Value *aValue) const
 
bool getLatestIndexedValue (IndexedValue &IndValue) const
 
bool getLatestIndexedValues (const TimeIndex_t &anIndex, IndexedValueList &IndValueList) const
 
bool getIndexedValues (const TimeIndex_t &aBeginIndex, const TimeIndex_t &anEndIndex, IndexedValueList &IndValueList) const
 
bool modifyValue (const TimeIndex_t &anIndex, const Value &aValue)
 
bool modifyCurrentValue (const Value &aValue)
 
bool appendValue (const TimeIndex_t &anIndex, const Value &aValue)
 
unsigned int getValuesCount () const
 
void displayStatus (std::ostream &OStream) const
 
void displayContent (std::ostream &OStream) const
 

Additional Inherited Members

- Static Public Member Functions inherited from openfluid::core::ValuesBufferProperties
static unsigned int getBufferSize ()
 
static void setBufferSize (const unsigned int aBufferSize)
 
- Static Protected Attributes inherited from openfluid::core::ValuesBufferProperties
static unsigned int BufferSize
 

Constructor & Destructor Documentation

◆ ValuesBuffer()

openfluid::core::ValuesBuffer::ValuesBuffer ( )

◆ ~ValuesBuffer()

openfluid::core::ValuesBuffer::~ValuesBuffer ( )

Member Function Documentation

◆ appendValue()

bool openfluid::core::ValuesBuffer::appendValue ( const TimeIndex_t anIndex,
const Value aValue 
)

◆ currentValue()

Value* openfluid::core::ValuesBuffer::currentValue ( ) const

◆ displayContent()

void openfluid::core::ValuesBuffer::displayContent ( std::ostream &  OStream) const

◆ displayStatus()

void openfluid::core::ValuesBuffer::displayStatus ( std::ostream &  OStream) const

◆ getCurrentIndex()

TimeIndex_t openfluid::core::ValuesBuffer::getCurrentIndex ( ) const

◆ getCurrentValue()

bool openfluid::core::ValuesBuffer::getCurrentValue ( Value aValue) const

◆ getIndexedValues()

bool openfluid::core::ValuesBuffer::getIndexedValues ( const TimeIndex_t aBeginIndex,
const TimeIndex_t anEndIndex,
IndexedValueList IndValueList 
) const

◆ getLatestIndexedValue()

bool openfluid::core::ValuesBuffer::getLatestIndexedValue ( IndexedValue IndValue) const

◆ getLatestIndexedValues()

bool openfluid::core::ValuesBuffer::getLatestIndexedValues ( const TimeIndex_t anIndex,
IndexedValueList IndValueList 
) const

◆ getValue()

bool openfluid::core::ValuesBuffer::getValue ( const TimeIndex_t anIndex,
Value aValue 
) const

◆ getValuesCount()

unsigned int openfluid::core::ValuesBuffer::getValuesCount ( ) const

◆ isValueExist()

bool openfluid::core::ValuesBuffer::isValueExist ( const TimeIndex_t anIndex) const

◆ modifyCurrentValue()

bool openfluid::core::ValuesBuffer::modifyCurrentValue ( const Value aValue)

◆ modifyValue()

bool openfluid::core::ValuesBuffer::modifyValue ( const TimeIndex_t anIndex,
const Value aValue 
)

◆ value()

Value* openfluid::core::ValuesBuffer::value ( const TimeIndex_t anIndex) const

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