return (*it).second;
}
+std::vector<std::string> GlobalDict::keys() const
+{
+ std::vector<std::string> ret;
+ for(std::map<std::string, std::string>::const_iterator it=_my_map.begin();it!=_my_map.end();it++)
+ ret.push_back((*it).first);
+ return ret;
+}
+
void GlobalDict::erase(const std::string& key)
{
std::map<std::string, std::string>::iterator it(_my_map.find(key));
MEDCOUPLING_EXPORT static GlobalDict *GetInstance();
MEDCOUPLING_EXPORT bool hasKey(const std::string& key) const;
MEDCOUPLING_EXPORT std::string value(const std::string& key) const;
+ MEDCOUPLING_EXPORT std::vector<std::string> keys() const;
MEDCOUPLING_EXPORT void erase(const std::string& key);
MEDCOUPLING_EXPORT void clear();
MEDCOUPLING_EXPORT void setKeyValue(const std::string& key, const std::string& value);
static GlobalDict *GetInstance() throw(INTERP_KERNEL::Exception);
bool hasKey(const std::string& key) const throw(INTERP_KERNEL::Exception);
std::string value(const std::string& key) const throw(INTERP_KERNEL::Exception);
+ std::vector<std::string> keys() const throw(INTERP_KERNEL::Exception);
void erase(const std::string& key) throw(INTERP_KERNEL::Exception);
void clear() throw(INTERP_KERNEL::Exception);
void setKeyValue(const std::string& key, const std::string& value) throw(INTERP_KERNEL::Exception);