cellml_api::MathContainer Interface Reference

cellml_api::MathContainer Interface Reference
Inheritance diagram for cellml_api::MathContainer:
Collaboration diagram for cellml_api::MathContainer:

Public Member Functions

void addMath (in MathMLElement x) raises (CellMLException)
 Add an element to this collection.
void removeMath (in MathMLElement x) raises (CellMLException)
 Remove an element from this collection.
void replaceMath (in MathMLElement x, in MathMLElement y)
 Find an element in this collection, and if it is found, replace it with another element.
void clearMath ()
 Remove all elements in this collection.
- 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 MathList math
 The set of all math defined here.
- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.

Detailed Description

Definition at line 633 of file CellML_APISPEC.idl.

Member Function Documentation

void cellml_api::MathContainer::addMath ( in MathMLElement  x) raises (CellMLException)

Add an element to this collection.

Parameters
xThe element to add. CellMLException if the element cannot be added to this MathContainer.
void cellml_api::MathContainer::clearMath ( )

Remove all elements in this collection.

void cellml_api::MathContainer::removeMath ( in MathMLElement  x) raises (CellMLException)

Remove an element from this collection.

If the element is not found, do nothing.

Parameters
xThe element to remove. CellMLException if the type of element is such that removing the element from the DOM is not permissible. This exception is not raised merely because x is not in the MathContainer.
void cellml_api::MathContainer::replaceMath ( in MathMLElement  x,
in MathMLElement  y 
)

Find an element in this collection, and if it is found, replace it with another element.

Parameters
xThe element to find.
yThe element to replace x with. CellMLException If y is not valid according to the constraints on this collection (check optional).

Member Data Documentation

readonly attribute MathList cellml_api::MathContainer::math

The set of all math defined here.

Definition at line 638 of file CellML_APISPEC.idl.