UnionMember Class Reference
[Type Code Support]

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

Inherits java.io.Serializable.

List of all members.

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.


Detailed Description

A description of a member of a union.

See also:
TypeCodeFactory.create_union_tc

Constructor & Destructor Documentation

UnionMember ( String  name,
boolean  is_pointer,
int[]  labels,
TypeCode  type 
)

Constructs a UnionMember object initialized with the given values.


Member Data Documentation

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

The type of the union member.

Cannot be null.


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc