36#include "CellEdgeData.hpp"
55 std::map<std::string, std::vector<double> >::const_iterator it =
mCellEdgeData.find(rVariableName);
58 EXCEPTION(
"The item " << rVariableName <<
" is not stored");
71 std::map<std::string, std::vector<double> >::const_iterator it =
mCellEdgeData.find(rVariableName);
74 EXCEPTION(
"The item " << rVariableName <<
" is not stored");
76 if (it->second.size() <= index)
78 EXCEPTION(
"The item " << rVariableName <<
" does not have index " << index);
81 return(it->second[index]);
91 std::vector<std::string> keys;
94 keys.push_back(kv.first);
#define EXCEPTION(message)
#define CHASTE_CLASS_EXPORT(T)
std::map< std::string, std::vector< double > > mCellEdgeData
std::vector< double > GetItem(const std::string &rVariableName) const
std::vector< std::string > GetKeys() const
unsigned GetNumItems() const
void SetItem(const std::string &rVariableName, const std::vector< double > &rData)
double GetItemAtIndex(const std::string &rVariableName, const unsigned index)