Contained
Contents
-
Contained::defined_in
-
Contained::describe()
-
Contained::id
-
Contained::name
-
Contained::within()
Synopsis:
Interface Contained describes Interface Repository objects that can be contained in other objects. It is a base interface for the following interfaces:
ModuleDef
InterfaceDef
ConstantDef
TypeDef
ExceptionDef
AttributeDef
OperationDef
ParameterDef
CORBA:
// IDL
typedef string Identifier;
typedef string RepositoryId;
typedef sequence<Container> ContainerSeq;
interface Contained {
attribute Identifier name;
attribute RepositoryId id;
attribute RepositoryId defined_in;
ContainerSeq within();
struct Description {
Identifier name;
any value;
};
Description describe();
};
Notes:
CORBA defined.
See Also:
Container
Contained::defined_in
Synopsis:
attribute RepositoryId defined_in;
Description:
The unique identifier of the Interface Repository object in which the object is defined. The defined_in attribute is nil for a definition given at the file level of an IDL file.
Notes:
CORBA defined.
Contained::describe()
Synopsis:
Description describe();
Description:
Returns a Contained::Description structure:
// IDL
struct Description {
Identifier name;
any value;
};
The member value is different for each Interface Repository type. It can be one of the following types:
ModuleDescription
InterfaceDescription
AttributeDescription
OperationDescription
ParameterDescription
TypeDescription
ExceptionDescription
The name of a Description is the string corresponding to each of these. For example if describe() is called on an operation, then Description::name will be "OperationDescription".
Notes:
CORBA defined.
See Also:
Container::describe_contents()
Contained::id
Synopsis:
attribute RepositoryId id;
Description:
An identifier to uniquely identify a module, interface, constant, typedef, exception, attribute or operation within the Repository.
Notes:
CORBA defined.
See Also:
Contained::name
Contained::name
Synopsis:
attribute Identifier name;
Description:
Each Interface Repository object is identified by a name which is unique within its scope. For example, in the following definition:
// IDL
interface Example {
void op();
};
the names are Example and op. A name is not necessarily unique within an Interface Repository.
Notes:
CORBA defined.
See Also:
Contained::id
Contained::within()
Synopsis:
ContainerSeq within();
Description:
Returns the list of objects that contain the object. An Interface Repository object is contained in another if:
If an object is an interface or module, it can be contained only by the object that defines it. Other objects can be contained by the objects that define them and by the objects that inherit them.
Notes:
CORBA defined.
[Roadmap]
[Utilities]
[Compiling]
[Configuration]
[Class Reference]
[IR Reference]
[Daemon Reference]
[IDL Grammar]
[System Exceptions]
[Index]