libSBML C# API
5.18.0
|
This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.
Public Member Functions | |
new void | addL2Namespaces (XMLNamespaces xmlns) |
adds all L2 Extension namespaces to the namespace list. More... | |
new 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) |
new void | enableL2NamespaceForDocument (SBMLDocument doc) |
Adds the L2 Namespace to the document and enables the extension. More... | |
long | getCategory (long index) |
new long | getLevel (string uri) |
Returns the SBML level with the given URI of this package. More... | |
string | getMessage (long index, long pkgVersion, string details) |
new string | getName () |
Returns the name of this package ('render') More... | |
int | getNumOfSBasePlugins () |
Returns the number of SBasePluginCreatorBase objects stored in this object. More... | |
long | getNumOfSupportedPackageURI () |
Returns the number of supported package namespace URIs. More... | |
new long | getPackageVersion (string uri) |
Returns the package version with the given URI of this package. More... | |
new SBMLNamespaces | getSBMLExtensionNamespaces (string uri) |
Returns a RenderPkgNamespaces object. More... | |
long | getSeverity (long index, long pkgVersion) |
string | getShortMessage (long index) |
new string | getStringFromTypeCode (int typeCode) |
This method takes a type code of groups package and returns a string representing the code. More... | |
string | getSupportedPackageURI (long n) |
Returns the nth XML namespace URI. More... | |
new 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... | |
new long | getVersion (string uri) |
Returns the SBML version with the given URI of this package. More... | |
bool | isEnabled () |
Returns true if this package is enabled. More... | |
new bool | isInUse (SBMLDocument doc) |
Determines whether this extension is being used by the given SBMLDocument. More... | |
bool | isSupported (string uri) |
Returns true if the given XML namespace URI is supported by this package extension. More... | |
new 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 or 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 () |
Returns URI of L2 version of supported versions of this package. More... | |
static string | getXmlnsL3V1V1 () |
Returns URI of supported versions of this package. More... | |
static void | init () |
Protected Attributes | |
bool | swigCMemOwn |
libsbmlcs.RenderExtension.RenderExtension | ( | ) |
Constructor.
libsbmlcs.RenderExtension.RenderExtension | ( | RenderExtension | arg0 | ) |
Copy constructor.
new void libsbmlcs.RenderExtension.addL2Namespaces | ( | XMLNamespaces | xmlns | ) |
adds all L2 Extension namespaces to the namespace list.
This method is overridden here since Render does serialize to an L2 annotation.
new 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.
new void libsbmlcs.RenderExtension.enableL2NamespaceForDocument | ( | SBMLDocument | doc | ) |
Adds the L2 Namespace to the document and enables the extension.
This method is overridden here since Render does serialize to an L2 annotation.
|
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.
new 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 the versions of the render package |
|
inherited |
new string libsbmlcs.RenderExtension.getName | ( | ) |
Returns the name of this package ('render')
|
inherited |
Returns the number of SBasePluginCreatorBase objects stored in this object.
|
inherited |
Returns the number of supported package namespace URIs.
|
static |
Returns the package name of this extension.
new 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 the versions of the render package |
new SBMLNamespaces libsbmlcs.RenderExtension.getSBMLExtensionNamespaces | ( | string | uri | ) |
Returns a RenderPkgNamespaces object.
null
will be returned if the given uri is not defined in the render package.
uri | the string of URI that represents one of the versions of the render package |
null
will be returned if the given URI is not defined in render package.
|
inherited |
|
inherited |
new 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 nth XML namespace URI.
n | the index number of the namespace URI being sought. |
new 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 |
new 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 the versions of the render package |
|
static |
Returns URI of L2 version of supported versions of this package.
|
static |
Returns URI of supported versions of this package.
|
static |
|
inherited |
Returns true
if this package is enabled.
true
if this package is enabled, false
otherwise. new 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 true
if the given XML namespace URI is supported by this package extension.
true
if the given XML namespace URI (equivalent to a package version) is supported by this package extension, false
otherwise. new void libsbmlcs.RenderExtension.removeL2Namespaces | ( | XMLNamespaces | xmlns | ) |
Removes the L2 Namespace from a document.
This method is overridden here since Render does serialize to an L2 annotation.
|
inherited |
Enable or disable this package.
isEnabled | flag indicating whether to enable (if true ) or disable (false ) this package extension. |
true
if this call succeeded; false
otherwise.
|
protectedinherited |