java.lang.Object
com.sun.tools.corba.ee.idl.toJavaPortable.TCOffsets

public class TCOffsets extends Object
  • Field Details

  • Constructor Details

    • TCOffsets

      public TCOffsets()
  • Method Details

    • offset

      public int offset(String name)
      Return -1 if the given name is not in the list of types.
    • set

      public void set(SymtabEntry entry)
    • alignStrLen

      public int alignStrLen(String string)
      Return the full length of the string type: 4 byte length, x bytes for string + 1 for the null terminator, align it so it ends on a 4-byte boundary. This method assumes the string starts at a 4-byte boundary since it doesn't do any leading alignment.
    • setMember

      public void setMember(SymtabEntry entry)
    • currentOffset

      public int currentOffset()
    • bumpCurrentOffset

      public void bumpCurrentOffset(int value)