2-75
DSOM Framework Reference
add_arg Method
Purpose
Incrementally adds an argument to a Request object.
IDL Syntax
ORBStatus add_arg (
in Identifier name,
in TypeCode arg_type,
in void* value,
in long len,
in Flags arg_flags);
Description
The add_arg method incrementally adds an argument to a Request object. The Request
object must have been created using the create_request method with an empty argument
list.
Parameters
receiver A pointer to a Request object.
env A pointer to the Environment structure for the method caller.
name An identifier representing the name of the argument to be added.
arg_type The typecode for the argument to be added.
value A pointer to the argument value to be added.
len The length of the argument.
arg_flags A Flags bitmask (unsigned long). The arg_flags parameter may take one of
the following values to indicate parameter direction:
ARG_IN The argument is input only.
ARG_OUT The argument is output only.
ARG_INOUT The argument is input/output.
In addition, arg_flags may also contain the following values:
IN_COPY_VALUE
An internal copy of the argument is to be made and used.
DEPENDENT_LIST
Indicates that a specified sublist must be freed when
the parent list is freed.
Kommentare zu diesen Handbüchern