Class TCOffsets
java.lang.Object
com.sun.tools.corba.ee.idl.toJavaPortable.TCOffsets
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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.void
bumpCurrentOffset
(int value) int
int
Return -1 if the given name is not in the list of types.void
set
(SymtabEntry entry) void
setMember
(SymtabEntry entry)
-
Field Details
-
tcs
-
offset
private int offset
-
-
Constructor Details
-
TCOffsets
public TCOffsets()
-
-
Method Details
-
offset
Return -1 if the given name is not in the list of types. -
set
-
alignStrLen
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
-
currentOffset
public int currentOffset() -
bumpCurrentOffset
public void bumpCurrentOffset(int value)
-