libSBML Python API
5.10.0
|
{comp}
comp The core module of the “comp” package extension.Public Member Functions | |
def | clone |
def | getDefaultLevel |
def | getDefaultPackageVersion |
def | getDefaultVersion |
def | getLevel |
def | getName |
def | getPackageName |
def | getPackageVersion |
def | getSBMLExtensionNamespaces |
def | getStringFromTypeCode |
def | getURI |
def | getVersion |
def | getXmlnsL3V1V1 |
def libsbml.CompExtension.clone | ( | self | ) |
Python method signature(s):
clone(CompExtension self)CompExtension
Creates and returns a deep copy of this CompExtension object.
def libsbml.CompExtension.getDefaultLevel | ( | ) |
Python method signature(s):
getDefaultLevel()long
Returns the default SBML Level this extension.
def libsbml.CompExtension.getDefaultPackageVersion | ( | ) |
Python method signature(s):
getDefaultPackageVersion()long
Returns the default SBML version this extension.
def libsbml.CompExtension.getDefaultVersion | ( | ) |
Python method signature(s):
getDefaultVersion()long
Returns the default SBML Version this extension.
def libsbml.CompExtension.getLevel | ( | self, | |
args | |||
) |
Python method signature(s):
getLevel(CompExtension self, string uri)long
Returns the SBML Level for the given URI of this package.
uri | the string of URI that represents one of versions of the “comp” package |
0
if the given URI is invalid. def libsbml.CompExtension.getName | ( | self | ) |
Python method signature(s):
getName(CompExtension self)string
Returns the name of this package as a short-form label ("<code>comp</code>").
def libsbml.CompExtension.getPackageName | ( | ) |
{comp}
comp The core module of the “comp” package extension. Python method signature(s):getPackageName()string
Returns the package name of this extension.
def libsbml.CompExtension.getPackageVersion | ( | self, | |
args | |||
) |
Python method signature(s):
getPackageVersion(CompExtension self, string uri)long
Returns the package version for the given URI of this package.
uri | the string of URI that represents one of versions of the “comp” package |
0
if the given URI is invalid. def libsbml.CompExtension.getSBMLExtensionNamespaces | ( | self, | |
args | |||
) |
Python method signature(s):
getSBMLExtensionNamespaces(CompExtension self, string uri)SBMLNamespaces
Returns an CompPkgNamespaces object.
uri | the string of URI that represents one of versions of the “comp” package |
uri
, or None
if the URI is not defined in the Hierarchical Model Composition package. def libsbml.CompExtension.getStringFromTypeCode | ( | self, | |
args | |||
) |
Python method signature(s):
getStringFromTypeCode(CompExtension self, int typeCode)string *
Takes a type code of the “comp” package and returns a string describing the code.
def libsbml.CompExtension.getURI | ( | self, | |
args | |||
) |
Python method signature(s):
getURI(CompExtension self, long sbmlLevel, long sbmlVersion, long pkgVersion)string
Returns the namespace URI corresponding to the combination of the given SBML Level, Version, and package version.
sbmlLevel | the level of SBML |
sbmlVersion | the version of SBML |
pkgVersion | the version of package |
def libsbml.CompExtension.getVersion | ( | self, | |
args | |||
) |
Python method signature(s):
getVersion(CompExtension self, string uri)long
Returns the SBML Version for the given URI of this package.
uri | the string of URI that represents one of versions of the “comp” package |
0
if the given URI is invalid. def libsbml.CompExtension.getXmlnsL3V1V1 | ( | ) |
Python method signature(s):
getXmlnsL3V1V1()string
Returns URI of supported versions of this package.