org.acplt.oncrpc.apps.jrpcgen
public class JrpcgenUnionArm extends java.lang.Object
JrpcgenUnionArm
class represents a single union arm defined
for a particular union in an rpcgen "x"-file.Modifier and Type | Field and Description |
---|---|
JrpcgenDeclaration |
element
Attribute element of descriminated arm (of class
JrpcgenDeclaration ). |
java.lang.String |
value
Value for which the descriminated union arm is valid.
|
Constructor and Description |
---|
JrpcgenUnionArm(java.lang.String value,
JrpcgenDeclaration element)
Constructs a
JrpcgenUnionArm and sets decrimated arm's
value and the associated attribute element. |
Modifier and Type | Method and Description |
---|---|
void |
dump()
Dumps the union arm to
System.out . |
public java.lang.String value
public JrpcgenDeclaration element
JrpcgenDeclaration
).public JrpcgenUnionArm(java.lang.String value, JrpcgenDeclaration element)
JrpcgenUnionArm
and sets decrimated arm's
value and the associated attribute element.value
- Value for which descriminated arm is valid.element
- Descriminated arm element of class
JrpcgenDeclaration
.