Package com.sun.tools.corba.ee.idl
Class UnionBranch
java.lang.Object
com.sun.tools.corba.ee.idl.UnionBranch
This class encapsulates one branch of a union. Here are some examples
of what it may contain:
- case 1: short x;
- <short x, <1>, false>
- case 0: case 8: case 2: long x;
- <long x, <0, 8, 2>, false>
- default: long x;
- <long x, <>, true>
- case 0: case 2: default: char c;
- <char c, <0, 2>, true>
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
true if this is the default branch.A vector of Expression's, one for each label in the order in which they appear in the IDL file.The type definition for the branch. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
typedef
The type definition for the branch. -
labels
A vector of Expression's, one for each label in the order in which they appear in the IDL file. The default branch has no label. -
isDefault
public boolean isDefaulttrue if this is the default branch.
-
-
Constructor Details
-
UnionBranch
public UnionBranch()
-