|
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.NativeType
de.intarsys.nativec.type.NativeStructType
public class NativeStructType
The meta class implementation
| Method Summary | |
|---|---|
StructMember |
declare(String name,
INativeType declaration)
Declare a new member for the struct. |
int |
getByteBoundary()
|
int |
getByteCount()
The size of the type in c memory. |
int |
getByteSize()
The total size of the StructDeclaration. |
StructMember |
getField(String name)
|
List<StructMember> |
getFields()
The collection of StructMember instances in declaration order. |
int |
getFieldsSize()
|
INativeObject |
getNativeObject(NativeStruct struct,
String name)
|
int |
getPacking()
|
void |
setPacking(int pPacking)
|
String |
toString()
|
| Methods inherited from class de.intarsys.nativec.type.NativeType |
|---|
Array, createNative, createNative, getPreferredBoundary, lookup, Ref, register |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public StructMember declare(String name,
INativeType declaration)
name - The name of the new member slot.declaration - The type declaration for the slotpublic int getByteBoundary()
public int getByteSize()
public StructMember getField(String name)
public List<StructMember> getFields()
public int getFieldsSize()
public INativeObject getNativeObject(NativeStruct struct,
String name)
public int getPacking()
public int getByteCount()
INativeType
getByteCount in interface INativeTypegetByteCount in class NativeTypepublic void setPacking(int pPacking)
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 | |||||||||