CORBA::TypeCode
implementation for an OMG IDL enum
.
More...
#include <Enum_TypeCode_Static.h>
List of all members.
Detailed Description
template<typename StringType, class EnumeratorArrayType, class RefCountPolicy>
class TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >
CORBA::TypeCode
implementation for an OMG IDL enum
.
This class implements a CORBA::TypeCode
for an OMG IDL enum
.
Constructor & Destructor Documentation
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
TAO::TypeCode::Enum< StringType, EnumeratorArrayType, RefCountPolicy >::Enum |
( |
char const * |
id, |
|
|
char const * |
name, |
|
|
EnumeratorArrayType const & |
enumerators, |
|
|
CORBA::ULong |
nenumerators |
|
) |
| |
Member Function Documentation
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
Marshal this TypeCode
into a CDR output stream.
Marshal this TypeCode
into the cdr output CDR stream, excluding the TypeCode
kind. Existing cdr contents will not be altered. The marshaled TypeCode
will be appended to the given cdr CDR output stream.
- Parameters:
-
cdr | Output CDR stream into which the TypeCode will be marshaled. |
offset | Number of bytes currently in the output CDR stream, including the top-level TypeCode TCKind . This argument is useful for recursive TypeCodes . TypeCodes that contain other TypeCodes should pass an updated offset value to the marshaling operation for those contained TypeCodes . |
- Returns:
true
if marshaling was successful.
- Note:
- This is a TAO-specific method that is not part of the standard
CORBA::TypeCode
interface.
-
If this method returns false, the contents of the cdr output CDR stream are undefined.
Implements CORBA::TypeCode.
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
Member Data Documentation
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
Enum
Attributes
Attributes representing the structure of an OMG IDL enum
.
- Note:
- These attributes are declared in the order in which they are marshaled into a CDR stream in order to increase cache hits by improving spatial locality. Base attributes containing repository ID and name of structure type.
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
Array of TAO::TypeCode
enumerators representing enumerators in the OMG IDL defined enum
.
template<typename StringType , class EnumeratorArrayType , class RefCountPolicy >
The number of enumerators in the OMG IDL enumeration.
The documentation for this class was generated from the following files: