Next: Object management
Up: Client-side
Previous: Bindings generation
Contents
Index
Header files
The hierarchical nature of SIDL packages lends itself to multiple
options for including enumerations,
interfaces, and classes. The naming convention for associated
header files uses underscore-separated parts corresponding to the
package hierarchy. That is, type X.Y.Z -- where X is the name
of the package, Y the subpackage, and Z the class -- is included with
#include "X_Y_Z.h".
The header files for the whole subpackage, X.Y, are included with
#include "X_Y.h". For instance, all
types in the sidl name space are included in #include "sidl.h".
Babel ensures each generated client-side header file automatically includes
sidl_header.h, which defines
- struct sidl_dcomplex for the SIDL dcomplex type with
parts named real and imaginary;
- struct sidl_fcomplex for the SIDL fcomplex type with
parts named real and imaginary;
- int32_t and int64_t for the SIDL int and long
types;
- a typedef for sidl_bool for the SIDL bool type;
- preprocessor symbols TRUE and FALSE; and
- function prototypes for the multi-dimensional array APIs for
the basic SIDL types.
Next: Object management
Up: Client-side
Previous: Bindings generation
Contents
Index
babel-1.0.0
users_guide Last Modified 2006-07-21
http://www.llnl.gov/CASC/components
components@llnl.gov