cellml_api::CellMLComponent Interface Reference

cellml_api::CellMLComponent Interface Reference

This interface represents a component element in the CellML document. More...

Inheritance diagram for cellml_api::CellMLComponent:
Collaboration diagram for cellml_api::CellMLComponent:

Public Attributes

readonly attribute
CellMLVariableSet 
variables
 The set of all variables defined in this component.
readonly attribute UnitsSet units
 The set of all units defined in this component.
readonly attribute ConnectionSet connections
 The set of all connections which involve this component.
readonly attribute CellMLComponent encapsulationParent
 The component which, in the encapsulation hierarchy defined in this model, encapsulates this component.
readonly attribute
CellMLComponentSet 
encapsulationChildren
 The set of all children of this component in the encapsulation hierarchy.
readonly attribute CellMLComponent containmentParent
 The containment parent for this component.
readonly attribute
CellMLComponentSet 
containmentChildren
 The containment children for this component.
readonly attribute ReactionSet reactions
 A set of all reaction elements contained within this component.
readonly attribute unsigned long importNumber
 Gets the 'import number' in which this component is contained.
- Public Attributes inherited from cellml_api::NamedCellMLElement
attribute CellMLAttributeString name
 The name associated with this CellML element.
- Public Attributes inherited from cellml_api::CellMLElement
readonly attribute
CellMLAttributeString 
cellmlVersion
 The CellML version that this element corresponds to.
attribute CellMLAttributeString cmetaId
 This element's cmeta id (which may be defined on any CellML element).
readonly attribute
ExtensionElementList 
extensionElements
 The collection of extension elements associated with this CellML element.
readonly attribute CellMLElementSet childElements
 Get a list of all the child CellMLElements in this element.
readonly attribute CellMLElement parentElement
 The parent element of this element...
readonly attribute Model modelElement
 The underlying model element.
readonly attribute
ExtensionAttributeSet 
extensionAttributes
 Fetches the set of all extension attributes, which can be used to iterate through the extension attributes.
- Public Attributes inherited from XPCOM::IObject
readonly attribute string objid
 Fetches the ID of the object.
- Public Attributes inherited from cellml_api::MathContainer
readonly attribute MathList math
 The set of all math defined here.

Additional Inherited Members

- Public Member Functions inherited from cellml_api::CellMLElement
void insertExtensionElementAfter (in ExtensionElement marker, in ExtensionElement newEl)
 Insert an element into the collection of extension elements without disturbing the order of the existing elements.
void appendExtensionElement (in ExtensionElement x)
 Equivalent to insertExtensionElementAfter(last extension element, x).
void prependExtensionElement (in ExtensionElement x)
 Equivalent to insertExtensionElementAfter(nil, x)
void removeExtensionElement (in ExtensionElement x)
 Remove an extension element.
void replaceExtensionElement (in ExtensionElement x, in ExtensionElement y)
 Find an extension element, and if it is found, replace it with another element.
void clearExtensionElements ()
 Remove all extension elements from this element.
void addElement (in CellMLElement x) raises (CellMLException)
 Add a CellML element to this element.
void removeElement (in CellMLElement x)
 Removes a CellML element from this element.
void replaceElement (in CellMLElement x, in CellMLElement y) raises (CellMLException)
 Removes a CellML element from this element, and replaces it with another CellML element.
void removeByName (in CellMLAttributeString type, in CellMLAttributeString name)
 Remove a CellML element by name, or do nothing if that element is not found.
void setUserData (in wstring key, in UserData data)
 Sets user-supplied annotations on this element.
UserData getUserData (in wstring key) raises (CellMLException)
 Retrieves user-supplied annotations previously set on this element.
CellMLElement clone (in boolean deep)
 Clones a CellMLElement, and optionally all children.
wstring getExtensionAttributeNS (in wstring ns, in wstring localName)
 Fetches an extension attribute.
void setExtensionAttributeNS (in wstring ns, in wstring qualifiedName, in wstring value)
 Sets an extension attribute (adding it if it doesn't already exist, otherwise replacing it).
void removeExtensionAttributeNS (in wstring ns, in wstring localName)
 Removes an extension attribute.
- Public Member Functions inherited from cellml_api::MathContainer
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.

Detailed Description

This interface represents a component element in the CellML document.

Definition at line 676 of file CellML_APISPEC.idl.

Member Data Documentation

readonly attribute ConnectionSet cellml_api::CellMLComponent::connections

The set of all connections which involve this component.

Definition at line 692 of file CellML_APISPEC.idl.

readonly attribute CellMLComponentSet cellml_api::CellMLComponent::containmentChildren

The containment children for this component.

This must work correctly across imports if imports have been instantiated.

Definition at line 721 of file CellML_APISPEC.idl.

readonly attribute CellMLComponent cellml_api::CellMLComponent::containmentParent

The containment parent for this component.

This must work correctly across imports if imports have been instantiated.

Definition at line 715 of file CellML_APISPEC.idl.

readonly attribute CellMLComponentSet cellml_api::CellMLComponent::encapsulationChildren

The set of all children of this component in the encapsulation hierarchy.

Definition at line 709 of file CellML_APISPEC.idl.

readonly attribute CellMLComponent cellml_api::CellMLComponent::encapsulationParent

The component which, in the encapsulation hierarchy defined in this model, encapsulates this component.

When this component is an imported component, an implementation must return any encapsulation parent defined in the importing model. When the same component is imported twice under different names, the implementation must return the correct encapsulation parent for each component instance. This attribute is nil if there is no encapsulation parent.

Definition at line 704 of file CellML_APISPEC.idl.

readonly attribute unsigned long cellml_api::CellMLComponent::importNumber

Gets the 'import number' in which this component is contained.

0 means it is in the parent, and all other numbers are those allocated for each import. This must match the uniqueIdentifier on the import element which causes the importation of the model containing this component.

Definition at line 735 of file CellML_APISPEC.idl.

readonly attribute ReactionSet cellml_api::CellMLComponent::reactions

A set of all reaction elements contained within this component.

Definition at line 726 of file CellML_APISPEC.idl.

readonly attribute UnitsSet cellml_api::CellMLComponent::units

The set of all units defined in this component.

Definition at line 687 of file CellML_APISPEC.idl.

readonly attribute CellMLVariableSet cellml_api::CellMLComponent::variables

The set of all variables defined in this component.

Definition at line 682 of file CellML_APISPEC.idl.