|
intarsys nativeC library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.nativec.type.StructMember
public class StructMember
A field definition within a NativeStructType
.
Method Summary | |
---|---|
byte |
getByte(NativeStruct struct,
int index)
Performance shortcut to access "byte" in the struct member. |
byte[] |
getByteArray(NativeStruct struct,
int index,
int count)
Performance shortcut to access "byte[]" in the struct member. |
long |
getCLong(NativeStruct struct,
int index)
Performance shortcut to access "platform sized long" in the struct member. |
int |
getInt(NativeStruct struct,
int index)
Performance shortcut to access "int" in the struct member. |
long |
getLong(NativeStruct struct,
int index)
Performance shortcut to access "long" in the struct member. |
String |
getName()
The slots name. |
INativeHandle |
getNativeHandle(NativeStruct struct,
int index)
Performance shortcut to access "INativeHandle" in the struct member. |
INativeObject |
getNativeObject(NativeStruct struct)
|
short |
getShort(NativeStruct struct,
int index)
Performance shortcut to access "short" in the struct member. |
String |
getString(NativeStruct struct,
int index)
Performance shortcut to access "String" in the struct member. |
Object |
getValue(NativeStruct struct)
|
void |
setByte(NativeStruct struct,
int index,
byte value)
Performance shortcut to access "byte" in the struct member. |
void |
setByteArray(NativeStruct struct,
int index,
byte[] value,
int valueOffset,
int valueCount)
Performance shortcut to access "byte[]" in the struct member. |
void |
setCLong(NativeStruct struct,
int index,
long value)
Performance shortcut to access "platform sized long" in the struct member. |
void |
setInt(NativeStruct struct,
int index,
int value)
Performance shortcut to access "int" in the struct member. |
void |
setLong(NativeStruct struct,
int index,
long value)
Performance shortcut to access "long" in the struct member. |
void |
setNativeHandle(NativeStruct struct,
int index,
INativeHandle value)
Performance shortcut to access "INativeHandle" in the struct member. |
void |
setShort(NativeStruct struct,
int index,
short value)
Performance shortcut to access "short" in the struct member. |
void |
setString(NativeStruct struct,
int index,
String value)
Performance shortcut to access "String" in the struct member. |
void |
setValue(NativeStruct struct,
Object value)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public byte getByte(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public byte[] getByteArray(NativeStruct struct, int index, int count)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public long getCLong(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public int getInt(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public long getLong(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public String getName()
public INativeHandle getNativeHandle(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public INativeObject getNativeObject(NativeStruct struct)
public short getShort(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public String getString(NativeStruct struct, int index)
struct
- The container struct instanceindex
- The memory offset from the struct member base
public Object getValue(NativeStruct struct)
public void setByte(NativeStruct struct, int index, byte value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setByteArray(NativeStruct struct, int index, byte[] value, int valueOffset, int valueCount)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setCLong(NativeStruct struct, int index, long value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setInt(NativeStruct struct, int index, int value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setLong(NativeStruct struct, int index, long value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setNativeHandle(NativeStruct struct, int index, INativeHandle value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setShort(NativeStruct struct, int index, short value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setString(NativeStruct struct, int index, String value)
struct
- The container struct instanceindex
- The memory offset from the struct member basepublic void setValue(NativeStruct struct, Object value)
public String toString()
toString
in class Object
|
intarsys nativeC library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |