|
libSBML Python API
5.10.0
|
{core}
Registry class in which extension packages are registered.Public Member Functions | |
| def | addExtension |
| def | addL2Namespaces |
| def | disablePackage |
| def | disableUnusedPackages |
| def | enableL2NamespaceForDocument |
| def | enablePackage |
| def | getExtension |
| def | getInstance |
| def | getNumExtension |
| def | getNumRegisteredPackages |
| def | getRegisteredPackageName |
| def | isEnabled |
| def | isPackageEnabled |
| def | isRegistered |
| def | removeL2Namespaces |
| def | setEnabled |
| def libsbml.SBMLExtensionRegistry.addExtension | ( | self, | |
| args | |||
| ) |
Python method signature(s):
addExtension(SBMLExtensionRegistry self, SBMLExtension ext)int
Add the given SBMLExtension to this SBMLExtensionRegistry.
| ext | the SBMLExtension object to be added. |
| def libsbml.SBMLExtensionRegistry.addL2Namespaces | ( | self, | |
| args | |||
| ) |
Python method signature(s):
addL2Namespaces(SBMLExtensionRegistry self, XMLNamespaces xmlns)
adds all L2 Extension namespaces to the namespace list. This will call all overriden SBMLExtension::addL2Namespaces methods.
| def libsbml.SBMLExtensionRegistry.disablePackage | ( | args | ) |
Python method signature(s):
disablePackage(string package)
Disables the package with the given URI / name.
| def libsbml.SBMLExtensionRegistry.disableUnusedPackages | ( | self, | |
| args | |||
| ) |
Python method signature(s):
disableUnusedPackages(SBMLExtensionRegistry self, SBMLDocument doc)
Goes through all extensions in the list of plugins of the given document and disables all plugins that are not being used.
| def libsbml.SBMLExtensionRegistry.enableL2NamespaceForDocument | ( | self, | |
| args | |||
| ) |
Python method signature(s):
enableL2NamespaceForDocument(SBMLExtensionRegistry self, SBMLDocument doc)
Enables all extensions that support serialization / deserialization with SBML Annotations.
| def libsbml.SBMLExtensionRegistry.enablePackage | ( | args | ) |
Python method signature(s):
enablePackage(string package)
Enables the package with the given URI / name.
| def libsbml.SBMLExtensionRegistry.getExtension | ( | self, | |
| args | |||
| ) |
Python method signature(s):
getExtension(SBMLExtensionRegistry self, string package)SBMLExtension
Returns an SBMLExtension object with the given package URI or package name (string).
| package | the URI or name of the package extension |
| def libsbml.SBMLExtensionRegistry.getInstance | ( | ) |
{core}
Registry class in which extension packages are registered. Python method signature(s):getInstance()SBMLExtensionRegistry
Returns an instance (singleton) of the SBMLExtensionRegistry class. This function needs to be invoked when manipulating the SBMLExtensionRegistry class.
| def libsbml.SBMLExtensionRegistry.getNumExtension | ( | self, | |
| args | |||
| ) |
Python method signature(s):
getNumExtension(SBMLExtensionRegistry self, SBaseExtensionPoint extPoint)long
Returns the number of SBMLExtension with the given extension point.
| extPoint | the SBaseExtensionPoint |
| def libsbml.SBMLExtensionRegistry.getNumRegisteredPackages | ( | ) |
Python method signature(s):
getNumRegisteredPackages()long
Returns the number of registered packages.
| def libsbml.SBMLExtensionRegistry.getRegisteredPackageName | ( | args | ) |
Python method signature(s):
getRegisteredPackageName(long index)string
Returns the registered package name at the given index
| index | zero based index of the package name to return |
| def libsbml.SBMLExtensionRegistry.isEnabled | ( | self, | |
| args | |||
| ) |
Python method signature(s):
isEnabled(SBMLExtensionRegistry self, string uri)bool
Checks if the extension with the given URI is enabled (true) or disabled (false)
| uri | the URI of the target package. |
| def libsbml.SBMLExtensionRegistry.isPackageEnabled | ( | args | ) |
Python method signature(s):
isPackageEnabled(string package)bool
If the given package is enabled, returns True; otherwise, returns False.
| def libsbml.SBMLExtensionRegistry.isRegistered | ( | self, | |
| args | |||
| ) |
Python method signature(s):
isRegistered(SBMLExtensionRegistry self, string uri)bool
Checks if the extension with the given URI is registered (true) or not (false)
| uri | the URI of the target package. |
| def libsbml.SBMLExtensionRegistry.removeL2Namespaces | ( | self, | |
| args | |||
| ) |
Python method signature(s):
removeL2Namespaces(SBMLExtensionRegistry self, XMLNamespaces xmlns)
Remove all L2 Extension namespaces from the namespace list. This will call all overriden SBMLExtension::removeL2Namespaces methods.
| def libsbml.SBMLExtensionRegistry.setEnabled | ( | self, | |
| args | |||
| ) |
Python method signature(s):
setEnabled(SBMLExtensionRegistry self, string uri, bool isEnabled)bool
Enable/disable the package with the given uri.
| uri | the URI of the target package. |
| isEnabled | the bool value corresponding to enabled (true) or disabled (false) |