|
libSBML C# API
libSBML 5.10.0 C# API
|
Public Member Functions | |
| void | addL2Namespaces (XMLNamespaces xmlns) |
| adds all L2 Extension namespaces to the namespace list. More... | |
| RenderExtension | clone () |
| Creates and returns a deep copy of this RenderExtension object. More... | |
| override void | Dispose () |
| override SBase | DowncastSBase (IntPtr cPtr, bool owner) |
| override SBasePlugin | DowncastSBasePlugin (IntPtr cPtr, bool owner) |
| void | enableL2NamespaceForDocument (SBMLDocument doc) |
| Adds the L2 Namespace to the document and enables the extension. More... | |
| long | getCategory (long index) |
| virtual long | getErrorIdOffset () |
| long | getErrorTableIndex (long errorId) |
| long | getLevel (string uri) |
| Returns the SBML level with the given URI of this package. More... | |
| string | getMessage (long index, long pkgVersion, string details) |
| string | getName () |
| Returns the name of this package ('fbc') More... | |
| int | getNumOfSBasePlugins () |
| Returns the number of SBasePlugin objects stored in this object. More... | |
| long | getNumOfSupportedPackageURI () |
| Returns the number of supported package Namespace (package versions) of this package extension. More... | |
| long | getPackageVersion (string uri) |
| Returns the package version with the given URI of this package. More... | |
| SBMLNamespaces | getSBMLExtensionNamespaces (string uri) |
| Returns an SBMLExtensionNamespaces<GroupsExtension> object whose alias type is LayoutPkgNamespace. More... | |
| long | getSeverity (long index, long pkgVersion) |
| string | getShortMessage (long index) |
| string | getStringFromTypeCode (int typeCode) |
| This method takes a type code of groups package and returns a string representing the code. More... | |
| string | getSupportedPackageURI (long i) |
| Returns the ith URI (the supported package version) More... | |
| string | getURI (long sbmlLevel, long sbmlVersion, long pkgVersion) |
| Returns the URI (namespace) of the package corresponding to the combination of the given sbml level, sbml version, and package version. More... | |
| long | getVersion (string uri) |
| Returns the SBML version with the given URI of this package. More... | |
| bool | isEnabled () |
| Check if this package is enabled (true) or disabled (false). More... | |
| bool | isInUse (SBMLDocument doc) |
| Determines whether this extension is being used by the given SBMLDocument. More... | |
| bool | isSupported (string uri) |
| Returns a flag indicating, whether the given URI (package version) is supported by this package extension. More... | |
| void | removeL2Namespaces (XMLNamespaces xmlns) |
| Removes the L2 Namespace from a document. More... | |
| RenderExtension () | |
| Constructor. More... | |
| RenderExtension (RenderExtension arg0) | |
| Copy constructor. More... | |
| bool | setEnabled (bool isEnabled) |
| enable/disable this package. More... | |
Static Public Member Functions | |
| static long | getDefaultLevel () |
| Returns the default SBML Level this extension. More... | |
| static long | getDefaultPackageVersion () |
| Returns the default SBML version this extension. More... | |
| static long | getDefaultVersion () |
| Returns the default SBML Version this extension. More... | |
| static string | getPackageName () |
| Returns the package name of this extension. More... | |
| static string | getXmlnsL2 () |
| static string | getXmlnsL3V1V1 () |
| Returns URI of supported versions of this package. More... | |
| static void | init () |
| Initializes layout extension by creating an object of this class with required SBasePlugin derived objects and registering the object to the SBMLExtensionRegistry class. More... | |
Protected Attributes | |
| bool | swigCMemOwn |
| libsbmlcs.RenderExtension.RenderExtension | ( | ) |
Constructor.
| libsbmlcs.RenderExtension.RenderExtension | ( | RenderExtension | arg0 | ) |
Copy constructor.
| void libsbmlcs.RenderExtension.addL2Namespaces | ( | XMLNamespaces | xmlns | ) |
adds all L2 Extension namespaces to the namespace list.
This method should be overridden by all extensions that want to serialize to an L2 annotation.
| RenderExtension libsbmlcs.RenderExtension.clone | ( | ) |
Creates and returns a deep copy of this RenderExtension object.
|
virtual |
Reimplemented from libsbmlcs.SBMLExtension.
|
virtual |
Reimplemented from libsbmlcs.SBMLExtension.
|
virtual |
Reimplemented from libsbmlcs.SBMLExtension.
| void libsbmlcs.RenderExtension.enableL2NamespaceForDocument | ( | SBMLDocument | doc | ) |
Adds the L2 Namespace to the document and enables the extension.
If the extension supports serialization to SBML L2 Annotations, this method should be overrridden, so it will be activated.
|
inherited |
|
static |
Returns the default SBML Level this extension.
|
static |
Returns the default SBML version this extension.
|
static |
Returns the default SBML Version this extension.
|
virtualinherited |
Reimplemented in libsbmlcs.GroupsExtension.
|
inherited |
| long libsbmlcs.RenderExtension.getLevel | ( | string | uri | ) |
Returns the SBML level with the given URI of this package.
| uri | the string of URI that represents one of versions of layout package |
|
inherited |
| string libsbmlcs.RenderExtension.getName | ( | ) |
Returns the name of this package ('fbc')
the name of this package ('fbc')
|
inherited |
Returns the number of SBasePlugin objects stored in this object.
|
inherited |
Returns the number of supported package Namespace (package versions) of this package extension.
|
static |
Returns the package name of this extension.
| long libsbmlcs.RenderExtension.getPackageVersion | ( | string | uri | ) |
Returns the package version with the given URI of this package.
| uri | the string of URI that represents one of versions of layout package |
| SBMLNamespaces libsbmlcs.RenderExtension.getSBMLExtensionNamespaces | ( | string | uri | ) |
Returns an SBMLExtensionNamespaces<GroupsExtension> object whose alias type is LayoutPkgNamespace.
Null will be returned if the given uri is not defined in the layout package.
| uri | the string of URI that represents one of versions of layout package |
|
inherited |
|
inherited |
| string libsbmlcs.RenderExtension.getStringFromTypeCode | ( | int | typeCode | ) |
This method takes a type code of groups package and returns a string representing the code.
|
inherited |
Returns the ith URI (the supported package version)
| i | the index of the list of URI (the list of supporeted package versions) |
| string libsbmlcs.RenderExtension.getURI | ( | long | sbmlLevel, |
| long | sbmlVersion, | ||
| long | pkgVersion | ||
| ) |
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.
| sbmlLevel | the level of SBML |
| sbmlVersion | the version of SBML |
| pkgVersion | the version of package |
| long libsbmlcs.RenderExtension.getVersion | ( | string | uri | ) |
Returns the SBML version with the given URI of this package.
| uri | the string of URI that represents one of versions of layout package |
|
static |
|
static |
Returns URI of supported versions of this package.
|
static |
Initializes layout extension by creating an object of this class with required SBasePlugin derived objects and registering the object to the SBMLExtensionRegistry class.
(NOTE) This function is automatically invoked when creating the following global object in GroupsExtension.cpp
static SBMLExtensionRegister<GroupsExtension> groupsExtensionRegistry;
|
inherited |
Check if this package is enabled (true) or disabled (false).
| bool libsbmlcs.RenderExtension.isInUse | ( | SBMLDocument | doc | ) |
Determines whether this extension is being used by the given SBMLDocument.
The implementation returns true if the list of layouts contains a global render information, or a layout object contains a local render information object.
| doc | the sbml document to test. |
|
inherited |
Returns a flag indicating, whether the given URI (package version) is supported by this package extension.
| void libsbmlcs.RenderExtension.removeL2Namespaces | ( | XMLNamespaces | xmlns | ) |
Removes the L2 Namespace from a document.
This method should be overridden by all extensions that want to serialize to an L2 annotation.
|
inherited |
enable/disable this package.
Returned value is the result of this function.
| isEnabled | the bool value: true (enabled) or false (disabled) |
|
protectedinherited |