Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenUnionArm
- java.lang.Object
-
- org.acplt.oncrpc.apps.jrpcgen.JrpcgenUnionArm
-
public class JrpcgenUnionArm extends java.lang.ObjectTheJrpcgenUnionArmclass represents a single union arm defined for a particular union in an rpcgen "x"-file.- Version:
- $Revision: 1.2 $ $Date: 2003/08/14 08:09:59 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
-
Field Summary
Fields Modifier and Type Field Description JrpcgenDeclarationelementAttribute element of descriminated arm (of classJrpcgenDeclaration).java.lang.StringvalueValue for which the descriminated union arm is valid.
-
Constructor Summary
Constructors Constructor Description JrpcgenUnionArm(java.lang.String value, JrpcgenDeclaration element)Constructs aJrpcgenUnionArmand sets decrimated arm's value and the associated attribute element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump()Dumps the union arm toSystem.out.
-
-
-
Field Detail
-
value
public java.lang.String value
Value for which the descriminated union arm is valid.
-
element
public JrpcgenDeclaration element
Attribute element of descriminated arm (of classJrpcgenDeclaration).
-
-
Constructor Detail
-
JrpcgenUnionArm
public JrpcgenUnionArm(java.lang.String value, JrpcgenDeclaration element)Constructs aJrpcgenUnionArmand sets decrimated arm's value and the associated attribute element.- Parameters:
value- Value for which descriminated arm is valid.element- Descriminated arm element of classJrpcgenDeclaration.
-
-