[Enterprise Extensions only]

IDL include directives

If your interface declaration refers to a parent interface, or uses some other referenced types, the IDL file must contain #include statements that tell the IDL compiler where to find the referenced interface definitions (the IDL files).

If your interface declaration refers to IDL types (defined by the CORBA specification) that are not IDL reserved words, then the IDL file should contain an #include statement for the orb.idl file.

As in C and C++, if an #include statement specifies a filename that is enclosed in angle brackets ([ ]), the search for the file begins in system-specific locations. If the filename is enclosed in double quotation marks (""), the search for the file begins in the current working directory, before searching the system-specific locations.

For information on other preprocessor directives that can be used in IDL, see IDL pragma directives.