RTI Connext .NET API (legacy)  Version 6.1.1
DDS::UnionMember Class Reference

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

#include <managed_typecode.h>

Public Attributes

System::String ^ name
 The name of the union member. More...
 
System::Boolean is_pointer
 Indicates whether the union member is a pointer or not. More...
 
IntSeqlabels
 The labels of the union member. More...
 
TypeCodetype
 The type of the union member. More...
 

Detailed Description

A description of a member of a union.

See also
DDS::UnionMemberSeq
DDS::TypeCodeFactory::create_union_tc

Member Data Documentation

◆ name

System::String ^ DDS::UnionMember::name

The name of the union member.

Cannot be null.

◆ is_pointer

System::Boolean DDS::UnionMember::is_pointer

Indicates whether the union member is a pointer or not.

◆ labels

IntSeq ^ 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 System::Int32 the label value should be evaluated to an integer value. For instance, 'a' would be evaluated to 97.

◆ type

TypeCode ^ DDS::UnionMember::type

The type of the union member.

Cannot be null.