public class JrpcgenUnion extends Object
JrpcgenUnion class represents a single union defined
in an rpcgen "x"-file.| Modifier and Type | Field and Description |
|---|---|
JrpcgenDeclaration |
descriminant
JrpcgenDeclaration of descriminant element (containing its
identifier and data type). |
Vector |
elements
Contains arms of union.
|
String |
identifier
Union identifier.
|
| Constructor and Description |
|---|
JrpcgenUnion(String identifier,
JrpcgenDeclaration descriminant,
Vector elements)
Constructs a
JrpcgenUnion and sets the identifier, the
descrimant element as well as all attribute elements. |
public String identifier
public JrpcgenDeclaration descriminant
JrpcgenDeclaration of descriminant element (containing its
identifier and data type).public Vector elements
JrpcgenDeclaration. The keys are the descriminant values.public JrpcgenUnion(String identifier, JrpcgenDeclaration descriminant, Vector elements)
JrpcgenUnion and sets the identifier, the
descrimant element as well as all attribute elements.identifier - Identifier to be declared.descriminant - Descriminant element of class
JrpcgenDeclaration.elements - Vector of atrribute elements of class
JrpcgenDeclaration.Copyright © 2014. All Rights Reserved.