public abstract class BaseStruct extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
data |
protected boolean |
owned |
Constructor and Description |
---|
BaseStruct(long data,
boolean owned) |
Modifier and Type | Method and Description |
---|---|
protected void |
_checkRefValidity() |
protected byte |
_getBYTE(int offset) |
protected long |
_getDHandle(int offset) |
protected int |
_getDWORD(int offset) |
protected int |
_getFONTID(int offset) |
protected int |
_getHTMLAPI_REF_TYPE(int offset) |
protected int |
_getInt(int offset) |
protected long |
_getLong(int offset) |
protected int |
_getNOTEID(int offset) |
protected long |
_getPointer(int offset) |
protected short |
_getUSHORT(int offset) |
protected short |
_getWORD(int offset) |
protected void |
_setBYTE(int offset,
byte value) |
protected void |
_setDHandle(int offset,
long value) |
protected void |
_setDWORD(int offset,
int value) |
protected void |
_setFONTID(int offset,
int value) |
protected void |
_setInt(int offset,
int value) |
protected void |
_setLong(int offset,
long value) |
protected void |
_setNOTEID(int offset,
int value) |
protected void |
_setUSHORT(int offset,
short value) |
protected void |
_setWORD(int offset,
short value) |
protected void |
finalize() |
void |
free() |
void |
free(boolean force) |
static int |
getAllocatedStructCount() |
long |
getDataPtr() |
long |
getField(int offset) |
protected boolean |
isRefValid() |
static boolean |
isTraceCreation() |
void |
setDataPtr(long data) |
static void |
setTraceCreation(boolean traceCreation)
Configures whether the stack trace at creation should be stored inside each struct, for memory-
debugging needs.
|
String |
toString() |
public static final int getAllocatedStructCount()
public static void setTraceCreation(boolean traceCreation)
traceCreation
- the mode to setpublic static boolean isTraceCreation()
protected void finalize() throws Throwable
public final void free()
public final void free(boolean force)
public final long getField(int offset)
public final long getDataPtr()
public void setDataPtr(long data)
protected final long _getDHandle(int offset)
protected final void _setDHandle(int offset, long value)
protected final byte _getBYTE(int offset)
protected final void _setBYTE(int offset, byte value)
protected final short _getWORD(int offset)
protected final void _setWORD(int offset, short value)
protected final int _getDWORD(int offset)
protected final void _setDWORD(int offset, int value)
protected final short _getUSHORT(int offset)
protected final void _setUSHORT(int offset, short value)
protected final int _getNOTEID(int offset)
protected final void _setNOTEID(int offset, int value)
protected final int _getInt(int offset)
protected final void _setInt(int offset, int value)
protected final long _getLong(int offset)
protected final void _setLong(int offset, long value)
protected final long _getPointer(int offset)
protected final int _getFONTID(int offset)
protected final void _setFONTID(int offset, int value)
protected final int _getHTMLAPI_REF_TYPE(int offset)
protected boolean isRefValid()
protected void _checkRefValidity()
Copyright © 2014–2018. All rights reserved.