|
libSBML C# API
libSBML 5.10.0 C# API
|
{qual}
qual The core module of the 'qual' package extension.Public Member Functions | |
| void | addL2Namespaces (XMLNamespaces xmlns) |
| Adds all L2 Extension namespaces to the namespace list. More... | |
| new QualExtension | clone () |
| Creates and returns a deep copy of this QualExtension 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) |
| SWIGTYPE_p_packageErrorTableEntry | getErrorTable (long index) |
| Return the entry in the error table at this index. More... | |
| long | getErrorTableIndex (long errorId) |
| Return the index in the error table with the given errorId. More... | |
| long | getLevel (string uri) |
| Returns the SBML Level for the given URI of this package. More... | |
| string | getMessage (long index, long pkgVersion, string details) |
| string | getName () |
| Returns the name of this package ('qual') 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 for the given URI of this package. More... | |
| SBMLNamespaces | getSBMLExtensionNamespaces (string uri) |
| Returns an QualPkgNamespaces object. More... | |
| long | getSeverity (long index, long pkgVersion) |
| string | getShortMessage (long index) |
| string | getStringFromTypeCode (int typeCode) |
| Takes a type code of the “qual” package and returns a string describing 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 namespace URI corresponding to the combination of the given SBML Level, Version, and package version. More... | |
| long | getVersion (string uri) |
| Returns the SBML Version for the given URI of this package. More... | |
| bool | isEnabled () |
| Check if this package is enabled (true) or disabled (false). More... | |
| bool | isInUse (SBMLDocument doc) |
| Indicates 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... | |
| QualExtension () | |
| Constructor. More... | |
| QualExtension (QualExtension orig) | |
| Copy constructor. More... | |
| void | removeL2Namespaces (XMLNamespaces xmlns) |
| Removes the L2 Namespaces. 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 | getXmlnsL3V1V1 () |
| Returns URI of supported versions of this package. More... | |
| static void | init () |
| Initializes qual 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.QualExtension.QualExtension | ( | ) |
Constructor.
| libsbmlcs.QualExtension.QualExtension | ( | QualExtension | orig | ) |
Copy constructor.
|
inherited |
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.
| new QualExtension libsbmlcs.QualExtension.clone | ( | ) |
Creates and returns a deep copy of this QualExtension object.
|
virtual |
Reimplemented from libsbmlcs.SBMLExtension.
|
virtual |
Reimplemented from libsbmlcs.SBMLExtension.
|
virtual |
Reimplemented from libsbmlcs.SBMLExtension.
|
inherited |
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.
| SWIGTYPE_p_packageErrorTableEntry libsbmlcs.QualExtension.getErrorTable | ( | long | index | ) |
Return the entry in the error table at this index.
| index | a long integergere representing the index of the error in the QualSBMLErrorTable |
| long libsbmlcs.QualExtension.getErrorTableIndex | ( | long | errorId | ) |
Return the index in the error table with the given errorId.
| errorId | a long integergere representing the errorId of the error in the QualSBMLErrorTable |
| long libsbmlcs.QualExtension.getLevel | ( | string | uri | ) |
Returns the SBML Level for the given URI of this package.
| uri | the string of URI that represents one of versions of the “qual” package |
0 if the given URI is invalid.
|
inherited |
| string libsbmlcs.QualExtension.getName | ( | ) |
Returns the name of this package ('qual')
|
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.QualExtension.getPackageVersion | ( | string | uri | ) |
Returns the package version for the given URI of this package.
| uri | the string of URI that represents one of versions of the “qual” package |
0 if the given URI is invalid. | SBMLNamespaces libsbmlcs.QualExtension.getSBMLExtensionNamespaces | ( | string | uri | ) |
Returns an QualPkgNamespaces object.
| uri | the string of URI that represents one of versions of the “qual” package |
uri, or null if the URI is not defined in the Hierarchical Model Qualosition package.
|
inherited |
|
inherited |
| string libsbmlcs.QualExtension.getStringFromTypeCode | ( | int | typeCode | ) |
Takes a type code of the “qual” package and returns a string describing 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.QualExtension.getURI | ( | long | sbmlLevel, |
| long | sbmlVersion, | ||
| long | pkgVersion | ||
| ) |
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 |
| long libsbmlcs.QualExtension.getVersion | ( | string | uri | ) |
Returns the SBML Version for the given URI of this package.
| uri | the string of URI that represents one of versions of the “qual” package |
0 if the given URI is invalid.
|
static |
Returns URI of supported versions of this package.
|
static |
Initializes qual 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 QualExtension.cpp
static SBMLExtensionRegister<QualExtension> qualExtensionRegistry;
|
inherited |
Check if this package is enabled (true) or disabled (false).
|
inherited |
Indicates whether this extension is being used by the given SBMLDocument.
The default implementation returns true. This means that when a document had this extension enabled, it will not be possible to convert it to L2 as we cannot make sure that the extension can be converted.
| doc | the SBML document to test. |
|
inherited |
Returns a flag indicating, whether the given URI (package version) is supported by this package extension.
|
inherited |
Removes the L2 Namespaces.
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 |