CellML API
CGRS::SequenceValue Interface Reference
CGRS::SequenceValue Interface Reference
Represents a sequence value (a sequence of some inner type). More...
Inheritance diagram for CGRS::SequenceValue:

Collaboration diagram for CGRS::SequenceValue:

Public Member Functions | |
| GenericValue | getValueByIndex (in long index) raises (CGRSError) |
| Retrieves a value from the sequence by index. | |
| void | appendValue (in GenericValue v) raises (CGRSError) |
| Appends a value to the sequence. | |
Public Attributes | |
| readonly attribute long | valueCount |
| Retrieves the number of values in the sequence. | |
Public Attributes inherited from CGRS::GenericValue | |
| readonly attribute GenericType | typeOfValue |
| The type corresponding to the value. | |
Public Attributes inherited from XPCOM::IObject | |
| readonly attribute string | objid |
| Fetches the ID of the object. | |
| readonly attribute interface_list | supported_interfaces |
| Fetches all supported interfaces. | |
Detailed Description
Represents a sequence value (a sequence of some inner type).
Once the inner type is fixed, all internal values must be of that type.
Member Function Documentation
| void CGRS::SequenceValue::appendValue | ( | in GenericValue | v | ) | raises (CGRSError) |
Appends a value to the sequence.
CGRSError if the value is of the wrong type.
| GenericValue CGRS::SequenceValue::getValueByIndex | ( | in long | index | ) | raises (CGRSError) |
Retrieves a value from the sequence by index.
CGRSError if the index is out of range.

Public Attributes inherited from