Class TableOfContents

    • Constructor Summary

      Constructors 
      Constructor Description
      TableOfContents()
      DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getModuleIndex()
      An index into the module table indicating the module in which this defined external symbol is defined.
      int getSymbolIndex()
      An index into the symbol table indicating the defined external symbols to which this entry refers.
      DataType toDataType()
      Returns a structure datatype representing the contents of the implementor of this interface.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableOfContents

        public TableOfContents()
        DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
    • Method Detail

      • getSymbolIndex

        public int getSymbolIndex()
        An index into the symbol table indicating the defined external symbols to which this entry refers.
        Returns:
        an index into the symbol table
      • getModuleIndex

        public int getModuleIndex()
        An index into the module table indicating the module in which this defined external symbol is defined.
        Returns:
        an index into the module table
      • toDataType

        public DataType toDataType()
                            throws DuplicateNameException,
                                   java.io.IOException
        Description copied from interface: StructConverter
        Returns a structure datatype representing the contents of the implementor of this interface.

        For example, given:

         class A {
             int foo;
             double bar;
         }
         

        The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.

        Specified by:
        toDataType in interface StructConverter
        Returns:
        returns a structure datatype representing the implementor of this interface
        Throws:
        DuplicateNameException - when a datatype of the same name already exists
        java.io.IOException
        See Also:
        StructureDataType