|
Obsolete IDL Features: Obsolete Remote Procedure Calls |
|
The following macros can be used to get information from varinfo_t structures. Like the variable creation functions, these macros are defined in the file rpc_idl.h.
All of these macros accept a single argument v of varinfo_t type.
This macro returns a pointer to the array data described by the varinfo_t structure.
This macro returns the dimensions of the array described by the varinfo_t structure. The dimensions are returned as long 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 value (as a struct, not a pointer) 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 string variable (as a char*).
This macro returns the type of the variable described by the varinfo_t structure. The type is returned as IDL_TYP_XXX as described under the documentation for the get_idl_variable function.
This macro returns non-zero if v is an array variable.
IDL Online Help (March 06, 2007)