libSBML Perl API
libSBML 5.8.0 Perl API
|
This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. It is a class used in the implementation of extra functionality provided by libSBML.
The SBMLUri parses uris and provides information about them.
Public Member Functions | |
SBMLUri * | clone () const |
Creates and returns a deep copy of this SBMLUri object. More... | |
const std::string & | getHost () const |
const std::string & | getPath () const |
const std::string & | getQuery () const |
const std::string & | getScheme () const |
const std::string & | getUri () const |
SBMLUri & | operator= (const SBMLUri &rhs) |
Assignment operator for SBMLUri. More... | |
SBMLUri & | operator= (const std::string &uri) |
Assignment operator for SBMLUri, allows parsing of the given string. More... | |
SBMLUri | relativeTo (const std::string &uri) const |
Constructs a new uri relative to this object and the given uri. More... | |
SBMLUri (const std::string &uri) | |
Creates a new SBMLUri from the given string uri. More... | |
SBMLUri (const SBMLUri &orig) | |
Copy constructor; creates a copy of an SBMLUri object. More... | |
virtual | ~SBMLUri () |
Destroy this SBMLUri object. More... | |
SBMLUri::SBMLUri | ( | const std::string & | uri | ) |
Creates a new SBMLUri from the given string uri.
SBMLUri::SBMLUri | ( | const SBMLUri & | orig | ) |
Copy constructor; creates a copy of an SBMLUri object.
orig | the SBMLUri object to copy. |
SBMLConstructorException | Thrown if the argument orig is NULL . |
|
virtual |
Destroy this SBMLUri object.
SBMLUri * SBMLUri::clone | ( | ) | const |
Creates and returns a deep copy of this SBMLUri object.
const std::string & SBMLUri::getHost | ( | ) | const |
const std::string & SBMLUri::getPath | ( | ) | const |
const std::string & SBMLUri::getQuery | ( | ) | const |
const std::string & SBMLUri::getScheme | ( | ) | const |
const std::string & SBMLUri::getUri | ( | ) | const |
Assignment operator for SBMLUri.
rhs | The object whose values are used as the basis of the assignment. |
SBMLConstructorException | Thrown if the argument rhs is NULL . |
SBMLUri & SBMLUri::operator= | ( | const std::string & | uri | ) |
Assignment operator for SBMLUri, allows parsing of the given string.
uri | the uri to parse |