ConstantDef
Contents
-
ConstantDef::describe()
-
ConstantDef::type
-
ConstantDef::value
Synopsis:
ConstantDef describes an IDL constant. It inherits from interface Contained.
CORBA:
// IDL
interface ConstantDef : Contained {
attribute TypeCode type;
attribute any value;
};
Notes:
CORBA defined.
See Also:
Contained
ConstantDef::describe()
Synopsis:
The operation 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 "ConstantDescription". The TypeCode of the value member is:
_tc_ConstantDescription
The value of the any is a structure of type:
// IDL
struct ConstantDescription {
Identifier name;
RepositoryId id;
RepositoryId defined_in;
TypeCode type;
any value;
};
See Also:
Contained::describe()
ConstantDef::type
Synopsis:
attribute TypeCode type;
Description:
Specifies the TypeCode of the constant. The type of a constant must be one of the simple types (long, short, float, char, string, double, boolean, unsigned long, unsigned short). Note, octet is excluded by the CORBA specification.
Notes:
CORBA defined.
ConstantDef::value
Synopsis:
attribute any value;
Description:
Contains the value of the constant.
Notes:
CORBA defined.
[Roadmap]
[Utilities]
[Compiling]
[Configuration]
[Class Reference]
[IR Reference]
[Daemon Reference]
[IDL Grammar]
[System Exceptions]
[Index]