|
External Development Guide: Remote Procedure Calls |
|
The following macros can be used to get information on IDL RPC variables. These macros are defined in idl_rpc.h.
All of these macros accept a single argument, v, of type IDL_VPTR.
This macro returns a pointer (char*) to the data area of an array block.
This macro returns a C array which contains the array dimensions.
This macro returns the number of dimensions of the array.
This macro returns the value of a 1-byte, unsigned char variable.
This macro returns the value (as a struct, not a pointer) of a complex variable.
This macro returns the real field of a complex variable.
This macro returns the imaginary field of a complex variable.
This macro returns the value (as a struct, not a pointer) of a double precision, complex variable.
This macro returns the real field of a double-precision complex variable.
This macro returns the imaginary field of a double-precision complex variable.
This macro returns the value of a double-precision, floating-point variable.
This macro returns the value of a single-precision, floating-point variable.
This macro returns the value of a 2-byte integer variable.
This macro returns the value of a 4-byte integer variable.
This macro returns the value of a 8-byte integer variable.
This macro returns non-zero if v is an array variable.
This macro returns the value of a string variable (as a char*).
This macro returns the type code of the variable. IDL type codes are discussed in Type Codes.
This macro returns the value of an unsigned 2-byte integer variable.
This macro returns the value of an unsigned 4-byte integer variable.
This macro returns the value of an unsigned 8-byte integer value.
IDL Online Help (March 06, 2007)