Class JrpcgenStruct

java.lang.Object
org.acplt.oncrpc.apps.jrpcgen.JrpcgenStruct

public class JrpcgenStruct extends Object
The JrpcgenStruct 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 Details

    • identifier

      public String identifier
      Structure identifier.
    • elements

      public Vector elements
      Contains elements of structure. The elements are of class JrpcgenDeclaration.
  • Constructor Details

    • JrpcgenStruct

      public JrpcgenStruct(String identifier, Vector elements)
      Constructs a JrpcgenStruct and sets the identifier and all its attribute elements.
      Parameters:
      identifier - Identifier to be declared.
      elements - Vector of atrribute elements of class JrpcgenDeclaration.
  • Method Details

    • toString

      public String toString()
      Returns just the identifier.
      Overrides:
      toString in class Object
    • dump

      public void dump()
      Dumps the structure together with its attribute elements to System.out.