![]() |
Overview The result read operation returns a type (CORBA::TypeCode *) representative of the value returned by the operation Original interface OperationDef Interface Exceptions CORBA::SystemException
Intended Usage
The result attribute of a CORBA::OperationDef object references a CORBA::TypeCode * that describes the type of the value returned by the operation. The result read operation can be used to retrieve a pointer to a copy of the CORBA::TypeCode referenced by the result attribute.
IDL Syntax
readonly attribute TypeCode result;
Input parameters
None.
Return values
- TypeCode *
- The returned value is a pointer to a copy of the CORBA::TypeCode referenced by the result attribute. The memory is owned by the caller and can be returned using CORBA::release.
Example
// C++ // assume that 'this_operation' has already been initialized CORBA::OperationDef * this_operation; // retrieve the TypeCode which represents the type of result of the operation CORBA::TypeCode * operations_result_tc; operations_result_tc = this_operation-> result ();