Package de.intarsys.nativec.type
Class NativeSimple
java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeSimple
- All Implemented Interfaces:
INativeMemory,INativeObject
- Direct Known Subclasses:
NativeNumber,NativeVoid
An abstract superclass for the implementation of primitive
NativeObject instances. These NativeObject instances are not
constructed from other NativeObject instances but implemented
directly in Java, having a fixed size.-
Field Summary
Fields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_FLOAT, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT -
Method Summary
Methods inherited from class de.intarsys.nativec.type.NativeObject
cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getNativeType, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.intarsys.nativec.type.INativeObject
getValue, setValue
-
Method Details
-
getByteCount
public int getByteCount()Description copied from class:NativeObjectThe number of bytes occupied by this.- Specified by:
getByteCountin classNativeObject- Returns:
- The number of bytes occupied by this.
-