Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenUnion
java.lang.Object
org.acplt.oncrpc.apps.jrpcgen.JrpcgenUnion
The
JrpcgenUnion class represents a single union defined
in an rpcgen "x"-file.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:47 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
Field Summary
FieldsModifier and TypeFieldDescriptionJrpcgenDeclarationof descriminant element (containing its identifier and data type).Contains arms of union.Union identifier. -
Constructor Summary
ConstructorsConstructorDescriptionJrpcgenUnion(String identifier, JrpcgenDeclaration descriminant, Vector elements) Constructs aJrpcgenUnionand sets the identifier, the descrimant element as well as all attribute elements. -
Method Summary
-
Field Details
-
identifier
Union identifier. -
descriminant
JrpcgenDeclarationof descriminant element (containing its identifier and data type). -
elements
Contains arms of union. The arms are of classJrpcgenDeclaration. The keys are the descriminant values.
-
-
Constructor Details
-
JrpcgenUnion
Constructs aJrpcgenUnionand sets the identifier, the descrimant element as well as all attribute elements.- Parameters:
identifier- Identifier to be declared.descriminant- Descriminant element of classJrpcgenDeclaration.elements- Vector of atrribute elements of classJrpcgenDeclaration.
-
-
Method Details