public class Object_Jc extends ByteDataAccessBase
InfoFormattedAppend.PrepareToString
Modifier and Type | Field and Description |
---|---|
static int |
kBitIdentLarge_objectIdentSize |
static int |
kBitIdentMedium_objectIdentSize |
static int |
kBitIdentSmall_objectIdentSize |
static int |
kIsSmallSize_typeSizeIdent
Marking of size in attribute objectIdentSize in Object_Jc.
|
static int |
kPos_objIdentSize |
private static int |
kPos_ownAdress |
private static int |
kPos_reflectionClassAdress |
static int |
mArray_objectIdentSize |
static int |
mIdentLarge_typeSizeIdent |
static int |
mIdentMedium_typeSizeIdent |
static int |
mIdentSmall_typeSizeIdent |
static int |
mInitialized_objectIdentSize |
static int |
mIsLargeSize_typeSizeIdent
Marking of size in attribute objectIdentSize in Object_Jc.
|
static int |
mIsMediumSize_typeSizeIdent
Marking of size in attribute objectIdentSize in Object_Jc.
|
static int |
mSizeBits_typeSizeIdent |
private static int |
mSizeLarge_typeSizeIdent |
private static int |
mSizeMedium_typeSizeIdent |
private static int |
mSizeSmall_typeSizeIdent |
static int |
OBJTYPE_Class_Jc |
static int |
OBJTYPE_Field_Jc |
static int |
OBJTYPE_ReflectionImageBaseAddress_Jc |
static int |
sizeof_Object_Jc
nrofBytes of the C-POD type Object_Jc
|
bBigEndian, bExc, bLittleEndianBig2, data, sizeHead, toStringformatter, version
Constructor and Description |
---|
Object_Jc()
Constructs the access to binary data of the head data of ObjectJc.
|
Object_Jc(int size)
Constructs the access to binary data of a type based on ObjectJc
|
Modifier and Type | Method and Description |
---|---|
void |
castToRawDataAccess(RawDataAccess dst)
assign the data at position of Object_Jc to a RawDataAccess to access data
described by positions and types getted from reflection.
|
double |
getDoubleVal(int idx)
Gets a double value from any offset started from Object_Jc
|
float |
getFloatVal(int idx)
Gets a float value from any offset started from Object_Jc
|
int |
getIdent()
Returns the identification information from an instance.
|
protected int |
getIdent(int idxChild)
Returns the ident information from an instance.
|
int |
getIntVal(int idx,
int nrofBytes)
Gets a integer value from any offset started from Object_Jc
|
int |
getOwnAdress() |
int |
getReflectionClass()
gets the address value of Reflection Class_Jc stored in the binary data of Object_Jc.
|
int |
getSizeObject()
returns the size of the Object_Jc data correlating with typeSizeIdent of Object_Jc.
|
boolean |
isObjectJcArray() |
int |
nrofArrayDimensions()
returns the number of dimensions if it is an ObjectArray_Jc, or 0 if it is scalar.
|
void |
setIdentSize(boolean isInitialized,
boolean isArray,
int ident,
int size) |
java.lang.String |
showContent(java.lang.Appendable u) |
java.lang.String |
toString()
This method is especially usefully to debug in eclipse.
|
_getInt, _getLong, _setInt, _setLong, _setString, addChild, addChild, addChildAt, addChildAt, addChildEmpty, addChildEmpty, addChildFloat, addChildInt, addChildInteger, addChildString, addChildString, addChildString, assign, assign, assign, assignAt, assignAt, assignCasted, assignClear, assignDataToFixChildren, checkData, checkLengthElement, clearData, clearHead, copyData, copyDataFrom, data, detach, getBigEndian, getChar, getChildDouble, getChildFloat, getChildInt, getChildInt16, getChildInteger, getChildString, getChildUint16, getChildUint8, getData, getDouble, getFloat, getFloat, getInt16, getInt16, getInt32, getInt32, getInt64, getInt8, getInt8, getLength, getLengthCurrent, getLengthHead, getLengthTotal, getMaxNrofBytes, getMaxNrofBytesForNextChild, getPositionInBuffer, getPositionNextChildInBuffer, getString, getUint16, getUint16, getUint32, getUint32, getUint8, getUint8, infoAppendHead, infoFormattedAppend, isCurrentChildInParent, isExpandable, isInUse, ixBegin, ixEnd, ixNextChild, removeChild, removeChild, removeChildren, setBigEndian, setCharset, setDouble, setException, setFloat, setFloat, setInt16, setInt16, setInt32, setInt32, setInt8, setInt8, setLengthElement, setLittleEndianBig2, setString, setUint16, setUint16, setUint32, setUint32, setUint8, setUint8, sizeHead, sufficingBytesForNextChild, upcast, XXXrewind
public static final int kPos_objIdentSize
private static final int kPos_ownAdress
private static final int kPos_reflectionClassAdress
public static final int sizeof_Object_Jc
public static final int mArray_objectIdentSize
public static final int mInitialized_objectIdentSize
public static final int mSizeBits_typeSizeIdent
public static final int kIsSmallSize_typeSizeIdent
public static final int mIsMediumSize_typeSizeIdent
public static final int mIsLargeSize_typeSizeIdent
private static final int mSizeSmall_typeSizeIdent
public static final int mIdentSmall_typeSizeIdent
public static final int kBitIdentSmall_objectIdentSize
private static final int mSizeMedium_typeSizeIdent
public static final int mIdentMedium_typeSizeIdent
public static final int kBitIdentMedium_objectIdentSize
private static final int mSizeLarge_typeSizeIdent
public static final int mIdentLarge_typeSizeIdent
public static final int kBitIdentLarge_objectIdentSize
public static final int OBJTYPE_Class_Jc
public static final int OBJTYPE_ReflectionImageBaseAddress_Jc
public static final int OBJTYPE_Field_Jc
public Object_Jc()
ByteDataAccessBase.addChild(ByteDataAccessBase)
etc.public Object_Jc(int size)
size
- Size of that type inclusively ObjectJc.public int getSizeObject()
public int nrofArrayDimensions()
public int getOwnAdress()
public int getReflectionClass()
Reflection_Jc.getClassFromMemAddr(int)
,protected int getIdent(int idxChild)
public int getIdent()
public void setIdentSize(boolean isInitialized, boolean isArray, int ident, int size)
public boolean isObjectJcArray()
public final int getIntVal(int idx, int nrofBytes)
idx
- byte-offset, the offset is not tested. If the offset is wrong, a null-pointer-exception throws.nrofBytes
- to read.public final float getFloatVal(int idx)
idx
- byte-offset, the offset is not tested. If the offset is wrong, a null-pointer-exception throws.public final double getDoubleVal(int idx)
idx
- byte-offset, the offset is not tested. If the offset is wrong, a null-pointer-exception throws.public void castToRawDataAccess(RawDataAccess dst)
dst
- The destination ByteDataAccess.public java.lang.String showContent(java.lang.Appendable u)
public java.lang.String toString()
ByteDataAccessBase
toString
in class ByteDataAccessBase