TAO_AnyTypeCode
2.1.5
|
Name/type pair for fields of an OMG IDL defined structure or exception. More...
#include <TypeCode_Struct_Field.h>
Public Attributes | |
StringType | name |
The name of the field. | |
TypeCodeType | type |
The CORBA::TypeCode of the field. | |
Name/type pair for fields of an OMG IDL defined structure or exception.
A Struct_Field
contains the corresponding name and pointer to the CORBA::TypeCode
for a given OMG IDL defined type. For example, the fields in following OMG IDL structure:
would be represented using the following statically instantiated TAO::TypeCode::Struct_Field
array:
The template parameter STRING_TYPE is either char
const
*
or CORBA::String_var
. The latter is only used when creating CORBA::tk_struct
or CORBA::tk_except
TypeCodes
dynamically, such as through the TypeCodeFactory.
StringType TAO::TypeCode::Struct_Field< StringType, TypeCodeType >::name |
The name of the field.
TypeCodeType TAO::TypeCode::Struct_Field< StringType, TypeCodeType >::type |
The CORBA::TypeCode
of the field.