Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenEnum
java.lang.Object
org.acplt.oncrpc.apps.jrpcgen.JrpcgenEnum
The
JrpcgenEnum
class represents a single enumeration
from an rpcgen "x"-file. It is a "container" for the elements (constants)
belonging to this enumeration.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:45 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
Field Summary
FieldsModifier and TypeFieldDescriptionContains enumeration elements as well as their values.Enumeration identifier. -
Constructor Summary
ConstructorsConstructorDescriptionJrpcgenEnum
(String identifier, Vector enums) Constructs aJrpcgenEnum
and sets the identifier and all its enumeration elements. -
Method Summary
-
Field Details
-
identifier
Enumeration identifier. -
enums
Contains enumeration elements as well as their values. The elements are of classJrpcgenConst
.
-
-
Constructor Details
-
JrpcgenEnum
Constructs aJrpcgenEnum
and sets the identifier and all its enumeration elements.- Parameters:
identifier
- Identifier to be declared.enums
- Vector of enumeration elements of classJrpcgenConst
.
-
-
Method Details