DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
HistoricalDataCollector< T > Class Template Reference

#include <historicaldatacollector.h>

Public Types

typedef T Value
 
typedef QMap< int, ValueContainer
 

Public Member Functions

 HistoricalDataCollector ()
 
void insertValue (int tstep, const Value &data)
 
const ValuegetValue (int tstep) const
 
int getUniqueValuesCount () const
 
Container::const_iterator getFirst () const
 
bool atEnd (typename Container::const_iterator it) const
 
void clear ()
 

Protected Attributes

Container mData
 

Member Typedef Documentation

◆ Container

template<typename T>
typedef QMap<int, Value> HistoricalDataCollector< T >::Container

◆ Value

template<typename T>
typedef T HistoricalDataCollector< T >::Value

Constructor & Destructor Documentation

◆ HistoricalDataCollector()

template<typename T>
HistoricalDataCollector< T >::HistoricalDataCollector ( )
inline

Member Function Documentation

◆ atEnd()

template<typename T>
bool HistoricalDataCollector< T >::atEnd ( typename Container::const_iterator  it) const
inline

◆ clear()

template<typename T>
void HistoricalDataCollector< T >::clear ( )
inline

◆ getFirst()

template<typename T>
Container::const_iterator HistoricalDataCollector< T >::getFirst ( ) const
inline

◆ getUniqueValuesCount()

template<typename T>
int HistoricalDataCollector< T >::getUniqueValuesCount ( ) const
inline

◆ getValue()

template<typename T>
const Value& HistoricalDataCollector< T >::getValue ( int  tstep) const
inline

◆ insertValue()

template<typename T>
void HistoricalDataCollector< T >::insertValue ( int  tstep,
const Value data 
)
inline

Member Data Documentation

◆ mData

template<typename T>
Container HistoricalDataCollector< T >::mData
protected

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