public class JrpcgenStruct
extends java.lang.Object
JrpcgenStruct class represents a single structure defined
in an rpcgen "x"-file.| Modifier and Type | Field and Description |
|---|---|
java.util.Vector |
elements
Contains elements of structure.
|
java.lang.String |
identifier
Structure identifier.
|
| Constructor and Description |
|---|
JrpcgenStruct(java.lang.String identifier,
java.util.Vector elements)
Constructs a
JrpcgenStruct and sets the identifier and all
its attribute elements. |
| Modifier and Type | Method and Description |
|---|---|
void |
dump()
Dumps the structure together with its attribute elements to
System.out. |
java.lang.String |
toString()
Returns just the identifier.
|
public java.lang.String identifier
public java.util.Vector elements
JrpcgenDeclaration.public JrpcgenStruct(java.lang.String identifier,
java.util.Vector elements)
JrpcgenStruct and sets the identifier and all
its attribute elements.identifier - Identifier to be declared.elements - Vector of atrribute elements of class
JrpcgenDeclaration.