OperationDef::result

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.

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 ();

Related reference
CORBA module



Searchable topic ID:   rcor_modop6
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modop6.html

Library | Support | Terms of Use | Feedback