CellML API
cellml_api::ExtensionElementList Interface Reference
cellml_api::ExtensionElementList Interface Reference
A collection of extension elements. More...
Inheritance diagram for cellml_api::ExtensionElementList:

Collaboration diagram for cellml_api::ExtensionElementList:

Public Member Functions | |
boolean | contains (in ExtensionElement x) |
Tests for the existance of an element in the set. | |
long | getIndexOf (in ExtensionElement x) |
Finds the index of the given extension element. | |
ExtensionElement | getAt (in unsigned long index) |
Fetches the extension element at a certain index(starting from 0). | |
![]() | |
void | add_ref () |
Called to indicate that some code is keeping an owning reference to the object. | |
oneway void | release_ref () |
Removes a reference to an object which was created by some other means (e.g. | |
IObject | query_interface (in utf8string id) |
Returns an IObject of the same implementation, which supports a specific interface. |
Public Attributes | |
readonly attribute unsigned long | length |
The length of the collection. | |
![]() | |
readonly attribute string | objid |
Fetches the ID of the object. |
Detailed Description
A collection of extension elements.
Definition at line 1325 of file CellML_APISPEC.idl.
Member Function Documentation
boolean cellml_api::ExtensionElementList::contains | ( | in ExtensionElement | x | ) |
Tests for the existance of an element in the set.
- Parameters
-
x The element to test for.
- Returns
- true if the element is present, or false otherwise.
ExtensionElement cellml_api::ExtensionElementList::getAt | ( | in unsigned long | index | ) |
Fetches the extension element at a certain index(starting from 0).
- Parameters
-
index The index at which to fetch the extension element.
long cellml_api::ExtensionElementList::getIndexOf | ( | in ExtensionElement | x | ) |
Finds the index of the given extension element.
- Parameters
-
x The extension element to find.
- Returns
- The index(first is 0) of the extension element, or -1 if the element is not found.
Member Data Documentation
readonly attribute unsigned long cellml_api::ExtensionElementList::length |
The length of the collection.
Definition at line 1330 of file CellML_APISPEC.idl.