RTI Connext Java API
Version 5.3.1
|
A description of a member of a union. More...
Inherits Serializable.
Public Member Functions | |
UnionMember (String name, boolean is_pointer, int[] labels, TypeCode type) | |
Public Attributes | |
String | name |
The name of the union member. | |
boolean | is_pointer |
Indicates whether the union member is a pointer or not. | |
int[] | labels |
The labels of the union member. | |
TypeCode | type |
The type of the union member. | |
int | id |
The member ID. | |
A description of a member of a union.
UnionMember | ( | String | name, |
boolean | is_pointer, | ||
int[] | labels, | ||
TypeCode | type | ||
) |
Constructs a UnionMember object initialized with the given values.
String name |
The name of the union member.
Cannot be null.
boolean is_pointer |
Indicates whether the union member is a pointer or not.
int [] labels |
The labels of the union member.
Each union member should contain at least one label. If the union discriminator type is not com.rti.dds.infrastructure.int the label value should be evaluated to an integer value. For instance, 'a' would be evaluated to 97.
TypeCode type |
The type of the union member.
Cannot be null.
int id |
The member ID.