libSBML Python API  5.10.0
 All Classes Namespaces Files Functions Variables Modules Pages
libsbml.GroupsExtension Class Reference
Inheritance diagram for libsbml.GroupsExtension:
[legend]

Detailed Description

Proxy of C++ GroupsExtension class.

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
 

Member Function Documentation

def libsbml.GroupsExtension.clone (   self)

Python method signature(s):

clone(GroupsExtension self)   GroupsExtension

Creates and returns a deep copy of this GroupsExtension object.

Returns
a (deep) copy of this SBase object
def libsbml.GroupsExtension.getDefaultLevel ( )

Python method signature(s):

getDefaultLevel()   long

Returns the default SBML Level this extension.

def libsbml.GroupsExtension.getDefaultPackageVersion ( )

Python method signature(s):

getDefaultPackageVersion()   long

Returns the default SBML version this extension.

def libsbml.GroupsExtension.getDefaultVersion ( )

Python method signature(s):

getDefaultVersion()   long

Returns the default SBML Version this extension.

def libsbml.GroupsExtension.getLevel (   self,
  args 
)

Python method signature(s):

getLevel(GroupsExtension self, string uri)   long

Returns the SBML level with the given URI of this package.

Parameters
urithe string of URI that represents one of versions of groups package
Returns
the SBML level with the given URI of this package. 0 will be returned if the given URI is invalid.
def libsbml.GroupsExtension.getName (   self)

Python method signature(s):

getName(GroupsExtension self)   string

Returns the name of this package ('groups')

the name of this package ('groups')

def libsbml.GroupsExtension.getPackageName ( )

Proxy of C++ GroupsExtension class.

Python method signature(s):

getPackageName()   string

Returns the package name of this extension.

def libsbml.GroupsExtension.getPackageVersion (   self,
  args 
)

Python method signature(s):

getPackageVersion(GroupsExtension self, string uri)   long

Returns the package version with the given URI of this package.

Parameters
urithe string of URI that represents one of versions of groups package
Returns
the package version with the given URI of this package. 0 will be returned if the given URI is invalid.
def libsbml.GroupsExtension.getSBMLExtensionNamespaces (   self,
  args 
)

Python method signature(s):

getSBMLExtensionNamespaces(GroupsExtension self, string uri)   SBMLNamespaces

Returns an SBMLExtensionNamespaces<GroupsExtension> object whose alias type is GroupsPkgNamespace. Null will be returned if the given uri is not defined in the groups package.

Parameters
urithe string of URI that represents one of versions of groups package
Returns
an GroupsPkgNamespace object corresponding to the given uri. None will be returned if the given URI is not defined in groups package.
def libsbml.GroupsExtension.getStringFromTypeCode (   self,
  args 
)

Python method signature(s):

getStringFromTypeCode(GroupsExtension self, int typeCode)   string *

This method takes a type code from the Groups package and returns a string representing the code.

def libsbml.GroupsExtension.getURI (   self,
  args 
)

Python method signature(s):

getURI(GroupsExtension self, long sbmlLevel, long sbmlVersion, long pkgVersion)   string

Returns the URI (namespace) of the package corresponding to the combination of the given sbml level, sbml version, and package version. Empty string will be returned if no corresponding URI exists.

Parameters
sbmlLevelthe level of SBML
sbmlVersionthe version of SBML
pkgVersionthe version of package
Returns
a string of the package URI
def libsbml.GroupsExtension.getVersion (   self,
  args 
)

Python method signature(s):

getVersion(GroupsExtension self, string uri)   long

Returns the SBML version with the given URI of this package.

Parameters
urithe string of URI that represents one of versions of groups package
Returns
the SBML version with the given URI of this package. 0 will be returned if the given URI is invalid.
def libsbml.GroupsExtension.getXmlnsL3V1V1 ( )

Python method signature(s):

getXmlnsL3V1V1()   string

Returns URI of supported versions of this package.