//File DAISType.idl #ifndef _DAIS_TYPE_IDL #define _DAIS_TYPE_IDL #pragma prefix "omg.org" #include module DAIS { module Type { struct Description { TypeID id; ResourceID schema; string label; string descrip; TypeIDs aggregated_types; }; typedef sequence Descriptions; interface Iterator { boolean next_n ( in unsigned long n, out Descriptions types ); void reset(); Iterator clone(); void destroy(); }; interface Home { exception UnknownResourceID {string reason;}; Description find ( in TypeID type ) raises (UnknownResourceID); Iterator find_by_schema ( in ResourceID schema ); };};}; #endif // _DAIS_TYPE_IDL