cellml_api::ModelSet Interface Reference

cellml_api::ModelSet Interface Reference

An interface for accessing a collection of models. More...

Inheritance diagram for cellml_api::ModelSet:
Collaboration diagram for cellml_api::ModelSet:

Public Member Functions

ModelIterator iterateModels ()
 Returns a ModelIterator that can be used to iterate through the Model elements.
Model getModel (in CellMLAttributeString name)
 Fetch a Model by name.
- Public Member Functions inherited from cellml_api::NamedCellMLElementSet
NamedCellMLElement get (in CellMLAttributeString name)
 Fetch a NamedCellMLElement by name.
- Public Member Functions inherited from cellml_api::CellMLElementSet
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.

Additional Inherited Members

- Public Attributes inherited from cellml_api::CellMLElementSet
readonly attribute unsigned long length
 The length of the collection.

Detailed Description

An interface for accessing a collection of models.

Definition at line 1461 of file CellML_APISPEC.idl.

Member Function Documentation

Model cellml_api::ModelSet::getModel ( in CellMLAttributeString  name)

Fetch a Model by name.

Parameters
nameThe name of the Model
Returns
The Model, or nil if not found.
ModelIterator cellml_api::ModelSet::iterateModels ( )

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

The iteration order is undefined.