|
| def | __init__ (self, args) |
| | layout
Extension of Model. More...
|
| |
| def | addLayout (self, layout) |
| | Adds a copy of the layout object to the list of layouts. More...
|
| |
| def | clone (self) |
| | Creates and returns a deep copy of this LayoutModelPlugin object. More...
|
| |
| def | createLayout (self) |
| | Creates a new layout object and adds it to the list of layout objects and returns it. More...
|
| |
| def | getElementByMetaId (self, metaid) |
| | Return the first child object found with a given meta identifier. More...
|
| |
| def | getElementBySId (self, id) |
| | Return the first child object found with a given identifier. More...
|
| |
| def | getElementNamespace (self) |
| | Base class for extending SBML objects in packages. More...
|
| |
| def | getLayout (self, args) |
| | This method has multiple variants; they differ in the arguments they accept. More...
|
| |
| def | getLevel (self) |
| | Returns the SBML Level of the package extension of this plugin object. More...
|
| |
| def | getListOfAllElements |
| | Returns an SBaseList of all child SBase objects, including those nested to an arbitrary depth. More...
|
| |
| def | getListOfLayouts (self, args) |
| | Returns the ListOfLayouts object for this Model. More...
|
| |
| def | getNumLayouts (self) |
| | Returns the number of layout objects. More...
|
| |
| def | getPackageName (self) |
| | Returns the short-form name of the package to which this plugin object belongs. More...
|
| |
| def | getPackageVersion (self) |
| | Returns the package version of the package extension of this plugin object. More...
|
| |
| def | getParentSBMLObject (self, args) |
| | Returns the parent object to which this plugin object is connected. More...
|
| |
| def | getPrefix (self) |
| | Returns the XML namespace prefix of the package to which this plugin object belongs. More...
|
| |
| def | getSBMLDocument (self, args) |
| | Returns the SBMLDocument object containing this object instance. More...
|
| |
| def | getURI (self) |
| | Returns the XML namespace URI for the package to which this object belongs. More...
|
| |
| def | getVersion (self) |
| | Returns the Version within the SBML Level of the package extension of this plugin object. More...
|
| |
| def | removeLayout (self, n) |
| | Removes the nth Layout object from this Model object and returns a pointer to it. More...
|
| |
| def | setElementNamespace (self, uri) |
| | Sets the XML namespace to which this object belongs. More...
|
| |
| def libsbml.SBasePlugin.getElementByMetaId |
( |
|
self, |
|
|
|
metaid |
|
) |
| |
|
inherited |
Return the first child object found with a given meta identifier.
getElementByMetaId(string metaid) SBase
This method searches all the subobjects under this one, compares their meta identifiers to metaid, and returns the first one that machines.
- Parameters
-
| metaid | string, the metaid of the object to find. |
- Returns
- pointer to the first object found with the given
metaid.
| def libsbml.SBasePlugin.getElementBySId |
( |
|
self, |
|
|
|
id |
|
) |
| |
|
inherited |
Return the first child object found with a given identifier.
getElementBySId(string id) SBase
This method searches all the subobjects under this one, compares their identifiers to id, and returns the first one that machines.
Normally, SId type identifier values are unique across a model in SBML. However, in some circumstances they may not be, such as if a model is invalid because of multiple objects having the same identifier.
- Parameters
-
| id | string representing the identifier of the object to find |
- Returns
- pointer to the first object with the given
id.
| def libsbml.LayoutModelPlugin.getLayout |
( |
|
self, |
|
|
|
args |
|
) |
| |
This method has multiple variants; they differ in the arguments they accept.
getLayout(long index) Layout
getLayout(string sid) Layout
Each variant is described separately below.
Method variant with the following signature: getLayout(long index)
Returns the layout object that belongs to the given index. If the index is invalid, None is returned.
- Parameters
-
| index | the index of list of layout objects. |
- Returns
- the Layout object that belongs to the given index. None is returned if the index is invalid.
Method variant with the following signature: getLayout(string sid)
Returns the layout object with the given sid attribute. If the id is invalid, None is returned.
- Parameters
-
| sid | the id attribute of the layout object. |
- Returns
- the Layout object with the given
sid attribute. None is returned if the given sid is invalid.