#include <SBMLReference.h>
|
std::map< std::string, std::string > | mIdToKey |
|
std::map< std::string, std::string > | mKeyToId |
|
std::string | mURL |
|
◆ const_iterator
◆ SBMLReference() [1/2]
SBMLReference::SBMLReference |
( |
| ) |
|
◆ SBMLReference() [2/2]
◆ ~SBMLReference()
SBMLReference::~SBMLReference |
( |
| ) |
|
◆ add()
bool SBMLReference::add |
( |
const std::string & |
id, |
|
|
const std::string & |
key |
|
) |
| |
Add an associated SBMLid, COPASIkey pair to the references.
- Parameters
-
const | std::string & id |
const | std::string & key |
- Returns
- bool success
References mIdToKey, and mKeyToId.
◆ beginCOPASIkey()
◆ beginSBMLid()
◆ endCOPASIkey()
◆ endSBMLid()
◆ getCOPASIkey()
const std::string & SBMLReference::getCOPASIkey |
( |
const std::string & |
id | ) |
const |
Retrieve the COPASI key which is mapped to the given SBML Id.
- Parameters
-
- Returns
- const std::string & key ("" if no map is found)
References mIdToKey, and NotFound.
◆ getSBMLid()
const std::string & SBMLReference::getSBMLid |
( |
const std::string & |
key | ) |
const |
Retrieve the SBML Id which is mapped to the given COPASI key.
- Parameters
-
- Returns
- const std::string & id ("" if no map is found)
References mKeyToId, and NotFound.
◆ getURL()
const std::string & SBMLReference::getURL |
( |
| ) |
const |
Retrieve the URL of the referenced SBML file
- Returns
- const std::string & url
References mURL.
◆ removeCOPASIkey()
bool SBMLReference::removeCOPASIkey |
( |
const std::string & |
key | ) |
|
Remove the reference of the given key
- Parameters
-
- Returns
- bool success
References mIdToKey, and mKeyToId.
◆ removeSBMLid()
bool SBMLReference::removeSBMLid |
( |
const std::string & |
id | ) |
|
Remove the reference of the given id
- Parameters
-
- Returns
- bool success
References mIdToKey, and mKeyToId.
◆ setURL()
bool SBMLReference::setURL |
( |
const std::string & |
url | ) |
|
Set URL of the refernced SBML file.
- Parameters
-
- Returns
- bool success
References mURL.
◆ mIdToKey
std::map<std::string, std::string> SBMLReference::mIdToKey |
|
private |
◆ mKeyToId
std::map<std::string, std::string> SBMLReference::mKeyToId |
|
private |
◆ mURL
std::string SBMLReference::mURL |
|
private |
◆ NotFound
std::string SBMLReference::NotFound = "" |
|
staticprivate |
The documentation for this class was generated from the following files: