CellML API
CGRS::GenericMethod Interface Reference
CGRS::GenericMethod Interface Reference
Represents a method. More...
Inheritance diagram for CGRS::GenericMethod:

Collaboration diagram for CGRS::GenericMethod:

Public Member Functions | |
| GenericValue | invoke (in ObjectValue invokeOn, in ValueSequence inValues, out ValueSequence outValues, out boolean wasException) |
| Invokes the method using the specified sequence of input values. | |
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 ParameterSequence | parameters |
| The sequence of parameters required by a method. | |
| readonly attribute GenericType | returnType |
| The return type of the method. | |
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
Member Function Documentation
| GenericValue CGRS::GenericMethod::invoke | ( | in ObjectValue | invokeOn, |
| in ValueSequence | inValues, | ||
| out ValueSequence | outValues, | ||
| out boolean | wasException | ||
| ) |
Invokes the method using the specified sequence of input values.
- Parameters
-
invokeOn The object on which to invoke this object (must be of the correct type). inValues The values of the in and in/out parameters to invoke the method with. outValues The values of the out and in/out parameters returned from the method. wasException If this out parameter comes back true, an exception was raised. In this case, the size and generic type of outValues and the return value are undefined.
- Returns
- A GenericValue representing the return value. CGRSError if one or more of the input values is of the incorrect type.
Member Data Documentation
| readonly attribute ParameterSequence CGRS::GenericMethod::parameters |
| readonly attribute GenericType CGRS::GenericMethod::returnType |

Public Member Functions inherited from