#include <Enum_TypeCode_Static.h>
List of all members.
template<>
class TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >
Constructor & Destructor Documentation
TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >::Enum |
( |
char const * |
id, |
|
|
char const * |
name, |
|
|
char const *const * |
enumerators, |
|
|
CORBA::ULong |
nenumerators |
|
) |
| |
Member Function Documentation
char const * TAO::TypeCode::Enum< char const *, char const *const *, TAO::Null_RefCount_Policy >::id_i |
( |
void |
| ) |
const |
|
protectedvirtual |
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.
Member Data Documentation
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.
Array of TAO::TypeCode
enumerators representing enumerators in the OMG IDL defined enum
.
The number of enumerators in the OMG IDL enumeration.
The documentation for this class was generated from the following files: