AttributeDef
describes an IDL attribute. It inherits from interface Contained
.
// IDL interface AttributeDef : Contained { enum AttributeMode { NORMAL, READONLY }; attribute TypeCode type; attribute AttributeMode mode; };
Contained
describe()
is inherited from Contained()
. It returns a structure of type Contained::Description
:
// IDL struct Description { Identifier name; any value; };The
name
member of this structure contains the string "AttributeDescription"
. The value
member is an any
whose TypeCode
is:
_tc_AttributeDescriptionand whose value is a structure of type:
// IDL struct AttributeDescription { Identifier name; RepositoryId id; RepositoryId defined_in; TypeCode type; AttributeDef::AttributeMode mode; };
Contained::describe()
attribute AttributeMode mode;
attribute TypeCode type;
TypeCode
of the attribute.