libSBML Perl API
libSBML 5.17.2 Perl API
|
{multi}
multi Extension of ASTBasePlugin.This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.
The MultiASTPlugin object is used to extend the standard SBML AST (abstract syntax tree) base object (ASTBase) to allow a "ci" element (
Public Member Functions | |
virtual MultiASTPlugin * | clone () const |
Creates and returns a deep copy of this MultiASTPlugin object. More... | |
const std::string & | getRepresentationType () const |
Returns the value of the "representationType" attribute of this MultiASTPlugin. More... | |
const std::string & | getSpeciesReference () const |
Returns the value of the "speciesReference" attribute of this MultiASTPlugin. More... | |
bool | isSetRepresentationType () const |
Predicate returning true if this MultiASTPlugin's "representationType" attribute is set. More... | |
bool | isSetSpeciesReference () const |
Predicate returning true if this MultiASTPlugin's "speciesReference" attribute is set. More... | |
MultiASTPlugin (const std::string &uri) | |
Creates a new MultiASTPlugin object using the given parameters. More... | |
MultiASTPlugin (const MultiASTPlugin &orig) | |
Copy constructor. More... | |
MultiASTPlugin & | operator= (const MultiASTPlugin &orig) |
Assignment operator for MultiModelPlugin. More... | |
virtual void | renameSIdRefs (const std::string &oldid, const std::string &newid) |
Renames the speciesReference SIdRef attribute on this node. More... | |
int | setRepresentationType (const std::string &representationType) |
Sets the value of the "representationType" attribute of this MultiASTPlugin. More... | |
int | setSpeciesReference (const std::string &speciesReference) |
Sets the value of the "speciesReference" attribute of this MultiASTPlugin. More... | |
int | unsetRepresentationType () |
Unsets the value of the "representationType" attribute of this MultiASTPlugin. More... | |
int | unsetSpeciesReference () |
Unsets the value of the "speciesReference" attribute of this MultiASTPlugin. More... | |
virtual | ~MultiASTPlugin () |
Destructor for MultiASTPlugin. More... | |
MultiASTPlugin::MultiASTPlugin | ( | const std::string & | uri | ) |
Creates a new MultiASTPlugin object using the given parameters.
"http://www.sbml.org/sbml/level3/version1/core"
. Individual SBML Level 3 packages define their own XML namespaces; for example, all elements belonging to the SBML Level 3 Layout Version 1 package must be placed in the XML namespace "http://www.sbml.org/sbml/level3/version1/layout/version1/"
.uri | the URI of the SBML Level 3 package implemented by this libSBML package extension. |
MultiASTPlugin::MultiASTPlugin | ( | const MultiASTPlugin & | orig | ) |
Copy constructor.
orig | the MultiASTPlugin instance to copy. |
|
virtual |
Destructor for MultiASTPlugin.
|
virtual |
Creates and returns a deep copy of this MultiASTPlugin object.
const std::string& MultiASTPlugin::getRepresentationType | ( | ) | const |
Returns the value of the "representationType" attribute of this MultiASTPlugin.
const std::string& MultiASTPlugin::getSpeciesReference | ( | ) | const |
Returns the value of the "speciesReference" attribute of this MultiASTPlugin.
bool MultiASTPlugin::isSetRepresentationType | ( | ) | const |
Predicate returning true
if this MultiASTPlugin's "representationType" attribute is set.
true
if this MultiASTPlugin's "representationType" attribute has been set, otherwise false
is returned. bool MultiASTPlugin::isSetSpeciesReference | ( | ) | const |
Predicate returning true
if this MultiASTPlugin's "speciesReference" attribute is set.
true
if this MultiASTPlugin's "speciesReference" attribute has been set, otherwise false
is returned. MultiASTPlugin & MultiASTPlugin::operator= | ( | const MultiASTPlugin & | orig | ) |
Assignment operator for MultiModelPlugin.
orig | the object whose values are used as the basis of the assignment. |
|
virtual |
Renames the speciesReference SIdRef attribute on this node.
oldid | the old identifier. |
newid | the new identifier. |
int MultiASTPlugin::setRepresentationType | ( | const std::string & | representationType | ) |
Sets the value of the "representationType" attribute of this MultiASTPlugin.
id | std::string& value of the "representationType" attribute to be set. |
int MultiASTPlugin::setSpeciesReference | ( | const std::string & | speciesReference | ) |
Sets the value of the "speciesReference" attribute of this MultiASTPlugin.
id | std::string& value of the "speciesReference" attribute to be set. |
int MultiASTPlugin::unsetRepresentationType | ( | ) |
Unsets the value of the "representationType" attribute of this MultiASTPlugin.
int MultiASTPlugin::unsetSpeciesReference | ( | ) |
Unsets the value of the "speciesReference" attribute of this MultiASTPlugin.