RTI Connext C API  Version 6.0.1
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_UnionMember Struct Reference

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

Data Fields

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

Field 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 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc