public class JrpcgenEnum extends Object
JrpcgenEnum
class represents a single enumeration
from an rpcgen "x"-file. It is a "container" for the elements (constants)
belonging to this enumeration.Modifier and Type | Field and Description |
---|---|
Vector |
enums
Contains enumeration elements as well as their values.
|
String |
identifier
Enumeration identifier.
|
Constructor and Description |
---|
JrpcgenEnum(String identifier,
Vector enums)
Constructs a
JrpcgenEnum and sets the identifier and all
its enumeration elements. |
Modifier and Type | Method and Description |
---|---|
void |
dump()
Dumps the enumeration together with its elements to
System.out . |
String |
toString()
Returns the fully qualified identifier.
|
public String identifier
public Vector enums
JrpcgenConst
.public JrpcgenEnum(String identifier, Vector enums)
JrpcgenEnum
and sets the identifier and all
its enumeration elements.identifier
- Identifier to be declared.enums
- Vector of enumeration elements of class JrpcgenConst
.Copyright © 2022. All rights reserved.