public class JrpcgenStruct extends Object
JrpcgenStruct
class represents a single structure defined
in an rpcgen "x"-file.Modifier and Type | Field and Description |
---|---|
Vector |
elements
Contains elements of structure.
|
String |
identifier
Structure identifier.
|
Constructor and Description |
---|
JrpcgenStruct(String identifier,
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 . |
String |
toString()
Returns just the identifier.
|
public String identifier
public Vector elements
JrpcgenDeclaration
.public JrpcgenStruct(String identifier, Vector elements)
JrpcgenStruct
and sets the identifier and all
its attribute elements.identifier
- Identifier to be declared.elements
- Vector of attribute elements of class
JrpcgenDeclaration
.Copyright © 2022. All rights reserved.