CellML API
cellml_api::CellMLComponentSet Interface Reference
cellml_api::CellMLComponentSet Interface Reference
An interface for accessing a set of CellMLComponents. More...
Inheritance diagram for cellml_api::CellMLComponentSet:

Collaboration diagram for cellml_api::CellMLComponentSet:

Public Member Functions | |
CellMLComponentIterator | iterateComponents () |
Returns a CellMLComponentIterator that can be used to iterate through the CellMLComponent elements. | |
CellMLComponent | getComponent (in CellMLAttributeString name) |
Fetch a component by name. | |
![]() | |
NamedCellMLElement | get (in CellMLAttributeString name) |
Fetch a NamedCellMLElement by name. | |
![]() | |
boolean | contains (in CellMLElement x) |
Tests for the existance of an element in the set. | |
CellMLElementIterator | iterate () |
Returns a CellMLElementIterator that can be used to iterate through the elements. | |
![]() | |
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. |
Additional Inherited Members | |
![]() | |
readonly attribute unsigned long | length |
The length of the collection. |
Detailed Description
An interface for accessing a set of CellMLComponents.
Definition at line 1495 of file CellML_APISPEC.idl.
Member Function Documentation
CellMLComponent cellml_api::CellMLComponentSet::getComponent | ( | in CellMLAttributeString | name | ) |
Fetch a component by name.
- Parameters
-
name The name of the CellMLComponent.
- Returns
- The CellMLComponent, or nil if not found.
CellMLComponentIterator cellml_api::CellMLComponentSet::iterateComponents | ( | ) |
Returns a CellMLComponentIterator that can be used to iterate through the CellMLComponent elements.
The iteration order is undefined.