SBMLDocumentPlugin Class Reference
Inheritance diagram for SBMLDocumentPlugin:

List of all members.

Public Member Functions

virtual SBMLDocumentPlugin * clone () const
 Creates and returns a deep copy of this SBMLDocumentPlugin object.
virtual List * getAllElements ()
 Returns a List of all child SBase* objects, including those nested to an arbitrary depth.
virtual SBase * getElementByMetaId (std::string metaid)
 Returns the first child element it can find with the given metaid, or NULL if no such object is found.
virtual SBase * getElementBySId (std::string id)
 Returns the first child element found that has the given id in the model-wide SId namespace, or NULL if no such object is found.
unsigned int getLevel () const
 Returns the SBML level of the package extension of this plugin object.
const std::string & getPackageName () const
 Returns the package name of this plugin object.
unsigned int getPackageVersion () const
 Returns the package version of the package extension of this plugin object.
SBase * getParentSBMLObject ()
 Returns the parent SBase object to which this plugin object connected.
const SBase * getParentSBMLObject () const
 Returns the parent SBase object to which this plugin object connected.
const std::string & getPrefix () const
 Returns the prefix of the package extension of this plugin object.
virtual bool getRequired () const
 Returns the bool value of "required" attribute of corresponding package in SBMLDocument element.
SBMLDocument * getSBMLDocument ()
 Returns the parent SBMLDocument of this plugin object.
const SBMLDocument * getSBMLDocument () const
 Returns the parent SBMLDocument of this plugin object.
const std::string & getURI () const
 Returns the XML namespace (URI) of the package extension of this plugin object.
unsigned int getVersion () const
 Returns the SBML version of the package extension of this plugin object.
SBMLDocumentPlugin & operator= (const SBMLDocumentPlugin &orig)
 Assignment operator for SBMLDocumentPlugin.
 SBMLDocumentPlugin (const std::string &uri, const std::string &prefix, SBMLNamespaces *sbmlns)
 Constructor.
 SBMLDocumentPlugin (const SBMLDocumentPlugin &orig)
 Copy constructor.
virtual int setRequired (bool value)
 Sets the bool value of "required" attribute of corresponding package in SBMLDocument element.
virtual ~SBMLDocumentPlugin ()
 Destroy this object.

Constructor & Destructor Documentation

SBMLDocumentPlugin::SBMLDocumentPlugin ( const std::string &  uri,
const std::string &  prefix,
SBMLNamespaces *  sbmlns 
)

Constructor.

Parameters:
urithe URI of package
prefixthe prefix for the given package
sbmlnsthe SBMLNamespaces object for the package

Copy constructor.

Creates a copy of this object.

Creates a copy of this SBase object.

Destroy this object.


Member Function Documentation

Creates and returns a deep copy of this SBMLDocumentPlugin object.

Returns:
a (deep) copy of this object
a (deep) copy of this SBase object

Implements SBasePlugin.

List * SBasePlugin::getAllElements ( ) [virtual, inherited]

Returns a List of all child SBase* objects, including those nested to an arbitrary depth.

Returns:
a List* of pointers to all children objects.
SBase * SBasePlugin::getElementByMetaId ( std::string  metaid) [virtual, inherited]

Returns the first child element it can find with the given metaid, or NULL if no such object is found.

Parameters:
metaidstring representing the metaid of objects to find
Returns:
pointer to the first element found with the given metaid.
SBase * SBasePlugin::getElementBySId ( std::string  id) [virtual, inherited]

Returns the first child element found that has the given id in the model-wide SId namespace, or NULL if no such object is found.

Parameters:
idstring representing the id of objects to find
Returns:
pointer to the first element found with the given id.
unsigned int SBasePlugin::getLevel ( ) const [inherited]

Returns the SBML level of the package extension of this plugin object.

Returns:
the SBML level of the package extension of this plugin object.
const std::string & SBasePlugin::getPackageName ( ) const [inherited]

Returns the package name of this plugin object.

Returns:
the package name of this plugin object.
unsigned int SBasePlugin::getPackageVersion ( ) const [inherited]

Returns the package version of the package extension of this plugin object.

Returns:
the package version of the package extension of this plugin object.

Returns the parent SBase object to which this plugin object connected.

Returns:
the parent SBase object to which this plugin object connected.
const SBase * SBasePlugin::getParentSBMLObject ( ) const [inherited]

Returns the parent SBase object to which this plugin object connected.

Returns:
the parent SBase object to which this plugin object connected.
const std::string & SBasePlugin::getPrefix ( ) const [inherited]

Returns the prefix of the package extension of this plugin object.

Returns:
the prefix of the package extension of this plugin object.
bool SBMLDocumentPlugin::getRequired ( ) const [virtual]

Returns the bool value of "required" attribute of corresponding package in SBMLDocument element.

doxygen-libsbml-internal

Returns:
the bool value of "required" attribute of corresponding package in SBMLDocument element.

(EXTENSION) Additional public functions

Returns the parent SBMLDocument of this plugin object.

Returns:
the parent SBMLDocument object of this plugin object.
const SBMLDocument * SBasePlugin::getSBMLDocument ( ) const [inherited]

Returns the parent SBMLDocument of this plugin object.

Returns:
the parent SBMLDocument object of this plugin object.
const std::string & SBasePlugin::getURI ( ) const [inherited]

Returns the XML namespace (URI) of the package extension of this plugin object.

Returns:
the URI of the package extension of this plugin object.

doxygen-libsbml-internal

unsigned int SBasePlugin::getVersion ( ) const [inherited]

Returns the SBML version of the package extension of this plugin object.

Returns:
the SBML version of the package extension of this plugin object.
SBMLDocumentPlugin & SBMLDocumentPlugin::operator= ( const SBMLDocumentPlugin &  orig)

Assignment operator for SBMLDocumentPlugin.

int SBMLDocumentPlugin::setRequired ( bool  value) [virtual]

Sets the bool value of "required" attribute of corresponding package in SBMLDocument element.

Parameters:
valuethe bool value of "required" attribute of corresponding package in SBMLDocument element.
Returns:
integer value indicating success/failure of the function. The possible values returned by this function are:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines