Up Next
Go up to Top
Go forward to Defining IDL Interfaces

IDL Modules and Scoping

An IDL module defines a naming scope for a set of IDL definitions. Modules allow you to group interface and other IDL type definitions in logical name spaces. When writing IDL definitions, always use modules to avoid possible name clashes.

The following example illustrates the use of modules in IDL:


      module Finance { 
        interface Account { 
        ... 
        }; 
      }; 

 

Up Next