27 mIdToKey(src.mIdToKey),
28 mKeyToId(src.mKeyToId)
74 std::map<std::string, std::string>::iterator itId =
mIdToKey.find(
id);
75 if (itId ==
mIdToKey.end())
return false;
77 std::map<std::string, std::string>::iterator itKey =
mKeyToId.find(itId->second);
81 if (itKey ==
mKeyToId.end())
return false;
90 std::map<std::string, std::string>::iterator itKey =
mKeyToId.find(key);
92 if (itKey ==
mKeyToId.end())
return false;
94 std::map<std::string, std::string>::iterator itId =
mIdToKey.find(itKey->second);
98 if (itId ==
mIdToKey.end())
return false;
const_iterator beginCOPASIkey() const
bool add(const std::string &id, const std::string &key)
const_iterator endSBMLid() const
const_iterator beginSBMLid() const
static std::string NotFound
const std::string & getCOPASIkey(const std::string &id) const
bool removeSBMLid(const std::string &id)
bool removeCOPASIkey(const std::string &key)
const std::string & getSBMLid(const std::string &key) const
const_iterator endCOPASIkey() const
std::map< std::string, std::string >::const_iterator const_iterator
const std::string & getURL() const
std::map< std::string, std::string > mIdToKey
std::map< std::string, std::string > mKeyToId
bool setURL(const std::string &url)