36 #include "CellVecData.hpp"
46 std::vector<std::string> keys = rAnotherCellVecData.
GetKeys();
48 for (std::vector<std::string>::iterator iter = keys.begin(); iter != keys.end(); ++iter)
50 std::string map_key = *iter;
51 Vec map_value = rAnotherCellVecData.
GetItem(map_key);
54 VecDuplicate(map_value, &map_value_copy);
55 VecCopy(map_value, map_value_copy);
62 : mCellVecData(rCellVecDataMap),
92 std::map<std::string, Vec>::const_iterator it =
mCellVecData.find(rVariableName);
95 EXCEPTION(
"The item " << rVariableName <<
" is not stored");
107 std::vector<std::string> keys;
110 keys.push_back(it->first);
std::map< std::string, Vec > mCellVecData
Vec GetItem(const std::string &rVariableName) const
#define EXCEPTION(message)
void SetItem(const std::string &rVariableName, Vec data)
std::vector< std::string > GetKeys() const
#define CHASTE_CLASS_EXPORT(T)
unsigned GetNumItems() const