public class Field_Jc extends ByteDataAccessBase
Class_Jc.getDeclaredField(String)
and Class_Jc.getDeclaredFields()
Modifier and Type | Class and Description |
---|---|
static class |
Field_Jc.EModifier
Definition adequate Headerfile ReflectionJc.h in enum Modifier_reflectJc_t:
|
static class |
Field_Jc.TypeSizeIdent
Helper class for TreeMap of scalar type properties.
|
InfoFormattedAppend.PrepareToString
Modifier and Type | Field and Description |
---|---|
static int |
INIZ_ID_FieldJc |
static int |
kLengthName
Nr of bytes of a name in a Field_Jc-POD
|
private static int |
kPos_bitModifiers
Position of the modifier in a Field_Jc-POD
|
private static int |
kPos_declaringClass |
private static int |
kPos_nrofArrayElements
Position of the type reference in a Field_Jc-POD
|
private static int |
kPos_offsetToObjectifcBase |
private static int |
kPos_position
Position of the Position of the data in a Field_Jc-POD
|
static int |
kPos_type
Position of the type reference in a Field_Jc-POD
|
private static int |
kPosName
Position of the name in a Field_Jc-POD
|
static int |
mOffsIsProxyIx4Target_FieldJc |
static int |
REFLECTION_bitfield |
static int |
REFLECTION_bool |
static int |
REFLECTION_boolean |
static int |
REFLECTION_char |
static int |
REFLECTION_Class_Jc |
static int |
REFLECTION_Class_Jc_t |
static int |
REFLECTION_double |
static int |
REFLECTION_float |
static int |
REFLECTION_int |
static int |
REFLECTION_int16 |
static int |
REFLECTION_int32 |
static int |
REFLECTION_int64 |
static int |
REFLECTION_int8 |
static int |
REFLECTION_Object_Jc |
static int |
REFLECTION_ObjectRefValues_Jc |
static int |
REFLECTION_String |
static int |
REFLECTION_uint |
static int |
REFLECTION_uint16 |
static int |
REFLECTION_uint32 |
static int |
REFLECTION_uint64 |
static int |
REFLECTION_uint8 |
static int |
REFLECTION_void |
private static java.util.Map<java.lang.String,Field_Jc.TypeSizeIdent> |
scalarTypeProperties |
static int |
sizeOf_Field_Jc |
static int |
XXXOBJTYPE_Field_Jc
Definition of type ident see Reflection_Jc.h.
|
bBigEndian, bExc, bLittleEndianBig2, data, sizeHead, toStringformatter, version
Constructor and Description |
---|
Field_Jc() |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
convert2String(double n) |
private java.lang.String |
convert2String(int n) |
int |
getDeclClass() |
float |
getFloat(ByteDataAccess obj)
Gets the value from any data byte structure descibed with XmlBinCodeElmeent
TODO Type Kontrolle auskomentiert
|
long |
getInt16(ByteDataAccess obj) |
long |
getInt32(ByteDataAccess obj) |
int |
getModifiers() |
java.lang.String |
getName()
Gets the name of the field, readed from the data image from target system.
|
int |
getNrofBytesPrimitiveType()
gets the number of bytes if it is a primitive type
or gets 0 elsewhere.
|
int |
getPositionInBuffer_type()
Returns the position of the type element in the data buffer, used for relocation.
|
short |
getPosValue()
Gets the position of the data appropriate to this field inside a instance, readed from the data image from target system.
|
int |
getType() |
int |
getTypeSize() |
int |
getTypeSize(int nType) |
static Field_Jc.TypeSizeIdent |
getTypeSizeIdent(java.lang.String sType)
Gets the type ident and size of a given scalar type.
|
java.lang.String |
getValue(Object_Jc Data) |
void |
set_bitModifiers(int value) |
void |
set_nrofArrayElements(int value) |
void |
set_offsetToObjectifcBase(int value) |
void |
set_position(int value) |
void |
set_type(int value)
Sets the type value.
|
void |
setName(java.lang.String sName) |
int |
setOffs_declaringClass(int value) |
_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, toString, upcast, XXXrewind
private static final int kPosName
public static final int kLengthName
private static final int kPos_nrofArrayElements
public static final int kPos_type
private static final int kPos_bitModifiers
private static final int kPos_position
private static final int kPos_offsetToObjectifcBase
private static final int kPos_declaringClass
public static final int sizeOf_Field_Jc
public static final int REFLECTION_void
public static final int REFLECTION_int64
public static final int REFLECTION_uint64
public static final int REFLECTION_int32
public static final int REFLECTION_uint32
public static final int REFLECTION_int16
public static final int REFLECTION_uint16
public static final int REFLECTION_int8
public static final int REFLECTION_uint8
public static final int REFLECTION_int
public static final int REFLECTION_uint
public static final int REFLECTION_float
public static final int REFLECTION_double
public static final int REFLECTION_char
public static final int REFLECTION_bool
public static final int REFLECTION_boolean
public static final int REFLECTION_String
public static final int REFLECTION_bitfield
public static final int mOffsIsProxyIx4Target_FieldJc
private static final java.util.Map<java.lang.String,Field_Jc.TypeSizeIdent> scalarTypeProperties
public static final int REFLECTION_Object_Jc
public static final int REFLECTION_ObjectRefValues_Jc
public static final int REFLECTION_Class_Jc
public static final int REFLECTION_Class_Jc_t
public static final int XXXOBJTYPE_Field_Jc
public static final int INIZ_ID_FieldJc
public static Field_Jc.TypeSizeIdent getTypeSizeIdent(java.lang.String sType)
sType
- The type 'int', 'int32' etc.public int getTypeSize(int nType)
public java.lang.String getName()
public void setName(java.lang.String sName)
public java.lang.String getValue(Object_Jc Data)
private java.lang.String convert2String(int n)
private java.lang.String convert2String(double n)
public int getTypeSize()
public int getType()
public int getModifiers()
public int getNrofBytesPrimitiveType()
public int getDeclClass()
public float getFloat(ByteDataAccess obj) throws java.lang.IllegalArgumentException
obj
- java.lang.IllegalArgumentException
java.lang.IllegalAccessException
public long getInt32(ByteDataAccess obj)
public long getInt16(ByteDataAccess obj)
public short getPosValue()
public void set_nrofArrayElements(int value)
public void set_type(int value)
value
- value to store in the type field.public void set_bitModifiers(int value)
public void set_position(int value)
public void set_offsetToObjectifcBase(int value)
public int setOffs_declaringClass(int value)
public int getPositionInBuffer_type()