Package de.intarsys.nativec.type
Class StructMember
java.lang.Object
de.intarsys.nativec.type.StructMember
A field definition within a
NativeStructType.-
Method Summary
Modifier and TypeMethodDescriptionbytegetByte(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.longgetCLong(NativeStruct struct, int index) Performance shortcut to access "platform sized long" in the struct member.floatgetFloat(NativeStruct struct, int index) intgetInt(NativeStruct struct, int index) Performance shortcut to access "int" in the struct member.longgetLong(NativeStruct struct, int index) Performance shortcut to access "long" in the struct member.getName()The slots name.getNativeHandle(NativeStruct struct, int index) Performance shortcut to access "INativeHandle" in the struct member.getNativeObject(NativeStruct struct) shortgetShort(NativeStruct struct, int index) Performance shortcut to access "short" in the struct member.getString(NativeStruct struct, int index) Performance shortcut to access "String" in the struct member.getValue(NativeStruct struct) getWideString(NativeStruct struct, int index) Performance shortcut to access "String" (from wide characters) in the struct member.voidsetByte(NativeStruct struct, int index, byte value) Performance shortcut to access "byte" in the struct member.voidsetByteArray(NativeStruct struct, int index, byte[] value, int valueOffset, int valueCount) Performance shortcut to access "byte[]" in the struct member.voidsetCLong(NativeStruct struct, int index, long value) Performance shortcut to access "platform sized long" in the struct member.voidsetInt(NativeStruct struct, int index, int value) Performance shortcut to access "int" in the struct member.voidsetLong(NativeStruct struct, int index, long value) Performance shortcut to access "long" in the struct member.voidsetNativeHandle(NativeStruct struct, int index, INativeHandle value) Performance shortcut to access "INativeHandle" in the struct member.voidsetShort(NativeStruct struct, int index, short value) Performance shortcut to access "short" in the struct member.voidsetString(NativeStruct struct, int index, String value) Performance shortcut to access "String" in the struct member.voidsetValue(NativeStruct struct, Object value) voidsetWideString(NativeStruct struct, int index, String value) Performance shortcut to access "String" (from wide characters) in the struct member.toString()
-
Method Details
-
getByte
Performance shortcut to access "byte" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The byte at index within the memory range of struct
-
getByteArray
Performance shortcut to access "byte[]" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The byte array starting at index of length count within the memory range of struct
-
getCLong
Performance shortcut to access "platform sized long" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The platform sized long at index within the memory range of struct
-
getFloat
-
getInt
Performance shortcut to access "int" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The int at index within the memory range of struct
-
getLong
Performance shortcut to access "long" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The long at index within the memory range of struct
-
getName
The slots name.- Returns:
- The slots name.
-
getNativeHandle
Performance shortcut to access "INativeHandle" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The INativeHandle at index within the memory range of struct
-
getNativeObject
-
getShort
Performance shortcut to access "short" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The short at index within the memory range of struct
-
getString
Performance shortcut to access "String" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The String at index within the memory range of struct
-
getValue
-
getWideString
Performance shortcut to access "String" (from wide characters) in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base- Returns:
- The wide character String at index within the memory range of struct
-
setByte
Performance shortcut to access "byte" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setByteArray
public void setByteArray(NativeStruct struct, int index, byte[] value, int valueOffset, int valueCount) Performance shortcut to access "byte[]" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setCLong
Performance shortcut to access "platform sized long" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setInt
Performance shortcut to access "int" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setLong
Performance shortcut to access "long" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setNativeHandle
Performance shortcut to access "INativeHandle" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setShort
Performance shortcut to access "short" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setString
Performance shortcut to access "String" in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
setValue
-
setWideString
Performance shortcut to access "String" (from wide characters) in the struct member.- Parameters:
struct- The container struct instanceindex- The memory offset from the struct member base
-
toString
-