cellml_api::CellMLElementSet Interface Reference

cellml_api::CellMLElementSet Interface Reference

An immutable collection of CellML elements. More...

Inheritance diagram for cellml_api::CellMLElementSet:
Collaboration diagram for cellml_api::CellMLElementSet:

Public Member Functions

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.
- Public Member Functions inherited from XPCOM::IObject
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.
- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.

Detailed Description

An immutable collection of CellML elements.

Definition at line 1409 of file CellML_APISPEC.idl.

Member Function Documentation

boolean cellml_api::CellMLElementSet::contains ( in CellMLElement  x)

Tests for the existance of an element in the set.

Parameters
xThe element to test for.
Returns
true if the element is present, or false otherwise.
CellMLElementIterator cellml_api::CellMLElementSet::iterate ( )

Returns a CellMLElementIterator that can be used to iterate through the elements.

The iteration order is undefined.

Member Data Documentation

readonly attribute unsigned long cellml_api::CellMLElementSet::length

The length of the collection.

Definition at line 1414 of file CellML_APISPEC.idl.