Crossfire JXClient, Trunk
Public Attributes | List of all members
CORBA::ValueBoxDef Interface Reference

import"ir.idl";

Inheritance diagram for CORBA::ValueBoxDef:
Inheritance graph
Collaboration diagram for CORBA::ValueBoxDef:
Collaboration graph

Public Attributes

attribute IDLType original_type_def
 
- Public Attributes inherited from CORBA::IDLType
readonly attribute TypeCode type
 
- Public Attributes inherited from CORBA::IRObject
readonly attribute DefinitionKind def_kind
 

Additional Inherited Members

- Public Member Functions inherited from CORBA::IRObject
void destroy ()
 

Detailed Description

ValueBoxDef is an interface that reresents a value type with a single data member inside its state section and no inheritance or methods. For example, when transmitting a string or sequence as an actual parameter on an interface operation or as a data member of a value type that is an actual parameter, it may be important to preserve any sharing of the string or sequence within the object graph being transmitted. Because current IDL data types do not preserve referential integrity in this way, this requirement is conveniently handled by using a value type. Value types also support the transmission of nulls (as a distinguished value), whereas IDL data types such as string and sequence (which are mapped to empty strings and sequences) do not. The Java to IDL mapping requires both preservation of referential integrity and transmission of nulls. Because it would be cumbersome to require the full IDL syntax for a value type for this specific usage, this shorthand notation is introduced to cover this use of value types for simple containment of a single data member.

Definition at line 748 of file ir.idl.

Member Data Documentation

◆ original_type_def

attribute IDLType CORBA::ValueBoxDef::original_type_def

Definition at line 771 of file ir.idl.


The documentation for this interface was generated from the following file: