RTI Connext C++ API  Version 5.0.0
DDS_UnionMember Struct Reference

A description of a member of a union. More...

Public Attributes

char * name
 The name of the union member.
 
DDS_Boolean is_pointer
 Indicates whether the union member is a pointer or not.
 
struct DDS_LongSeq labels
 The labels of the union member.
 
const DDS_TypeCodetype
 The type of the union member.
 

Detailed Description

A description of a member of a union.

See Also
DDS_UnionMemberSeq
DDS_TypeCodeFactory::create_union_tc

Member Data Documentation

char* DDS_UnionMember::name

The name of the union member.

Cannot be NULL.

DDS_Boolean DDS_UnionMember::is_pointer

Indicates whether the union member is a pointer or not.

struct DDS_LongSeq DDS_UnionMember::labels

The labels of the union member.

Each union member should contain at least one label. If the union discriminator type is not DDS_Long the label value should be evaluated to an integer value. For instance, 'a' would be evaluated to 97.

const DDS_TypeCode* DDS_UnionMember::type

The type of the union member.

Cannot be NULL.


RTI Connext C++ API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc