//File: DAISNode.idl #ifndef _DAIS_NODE_IDL #define _DAIS_NODE_IDL #pragma prefix "omg.org" #include module DAIS { module Node { struct Description { ResourceID id; ResourceID parent; string label; string descrip; TypeID type; boolean is_leaf; }; typedef sequence< Description > Descriptions; interface Iterator { boolean next_n ( in unsigned long n, out Descriptions nodes ); void reset(); Iterator clone(); void destroy(); }; interface Home { exception UnknownResourceID {string reason;}; Description find ( in ResourceID node ) raises (UnknownResourceID); Descriptions find_each ( in ResourceIDs nodes ) raises (UnknownResourceID); Iterator find_by_parent ( in ResourceID node, in string filter_criteria ) raises (UnknownResourceID); Iterator find_by_type ( in ResourceID node, in string filter_criteria, in TypeIDs type_filter ) raises (UnknownResourceID); Strings get_pathnames ( in ResourceIDs nodes ); ResourceIDs get_ids ( in Strings pathnames ); };};}; #endif // _DAIS_NODE_IDL