CORBA module: ConstantDef Interface

Overview The ConstantDef interface defines a named constant.
File name wasir.idl
Local-only True
Ancestor interfaces Contained Interface
Exceptions CORBA::SystemException
Supported operations ConstantDef::describe
IDLType::type
ConstantDef::type_def
ConstantDef::value


Intended Usage

The ConstantDef interface is used within the Interface Repository to represent a constant as defined within OMG IDL. An instance of a ConstantDef object defines the data type of the constant, the constant value, and the constant name. A ConstantDef object can be created using the create_constant operation of the Container interface.

Syntax

  module CORBA
     {
        interface ConstantDef:Contained
           {
              readonlyattribute TypeCode type;
              attribute IDLType type_def;
              attribute anyvalue;
           };
        struct ConstantDescription
           {
              Identifier name;
              RepositoryId id;
              VersionSpec version;
              TypeCode type;
              anyvalue;
           };
     };

Related reference
ConstantDef::describe
ConstantDef::type_def
ConstantDef::value



Searchable topic ID:   rcor_modcnd
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modcnd.html

Library | Support | Terms of Use | Feedback