Container
describes objects that can contain other objects. It is a base interface for the following interfaces:
Each of the Interface Repository types inherits fromRepository
ModuleDef
InterfaceDef
Contained
or Container
, or both.
// IDL typedef string Identifier; typedef Identifier InterfaceName; typedef sequence<Contained> ContainedSeq; interface Container { struct Description { Contained contained_object; Identifier name; any value; }; typedef sequence<Description> DescriptionSeq; ContainedSeq contents( in InterfaceName restrict_type, in boolean exclude_inherited); ContainedSeq lookup_name( in Identifier search_name, in long levels_to_search, in InterfaceName restrict_type, in boolean exclude_inherited); DescriptionSeq describe_contents( in InterfaceName restrict_type, in boolean exclude_inherited, in long max_returned_objs); };
Contained
ContainedSeq contents( in InterfaceName restrict_type, in boolean exclude_inherited);
Repository
.
Container::describe_contents()
DescriptionSeq describe_contents( in InterfaceName restrict_type, in boolean exclude_inherited, in long max_returned_objs);
describe_contents()
is a combination of the operation Contained::describe()
and the operation Container::contents()
. It returns a sequence of Description structures:
struct Description { Contained contained_object; Identifier name; any value; };each of which gives the object reference of a contained object, together with its
name
and value
.
Container::contents()
Contained::describe()
ContainedSeq lookup_name( in Identifier search_name, in long levels_to_search, in InterfaceName restrict_type, in boolean exclude_inherited);
search_name
.