Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenStruct
- java.lang.Object
-
- org.acplt.oncrpc.apps.jrpcgen.JrpcgenStruct
-
public class JrpcgenStruct extends java.lang.Object
TheJrpcgenStruct
class represents a single structure defined in an rpcgen "x"-file.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:47 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Vector
elements
Contains elements of structure.java.lang.String
identifier
Structure identifier.
-
Constructor Summary
Constructors Constructor Description JrpcgenStruct(java.lang.String identifier, java.util.Vector elements)
Constructs aJrpcgenStruct
and sets the identifier and all its attribute elements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump()
Dumps the structure together with its attribute elements toSystem.out
.java.lang.String
toString()
Returns just the identifier.
-
-
-
Field Detail
-
identifier
public java.lang.String identifier
Structure identifier.
-
elements
public java.util.Vector elements
Contains elements of structure. The elements are of classJrpcgenDeclaration
.
-
-
Constructor Detail
-
JrpcgenStruct
public JrpcgenStruct(java.lang.String identifier, java.util.Vector elements)
Constructs aJrpcgenStruct
and sets the identifier and all its attribute elements.- Parameters:
identifier
- Identifier to be declared.elements
- Vector of atrribute elements of classJrpcgenDeclaration
.
-
-