public class Numa2d
extends com.sun.jna.Structure
Modifier and Type | Class and Description |
---|---|
static class |
Numa2d.ByReference |
static class |
Numa2d.ByValue |
Modifier and Type | Field and Description |
---|---|
int |
initsize
initial size of each numa that is made
C type : l_int32 |
int |
ncols
number of cols allocated for ptr array
C type : l_int32 |
int |
nrows
number of rows allocated for ptr array
C type : l_int32 |
com.sun.jna.ptr.PointerByReference |
numa
2D array of Numa
C type : Numa*** |
Constructor and Description |
---|
Numa2d() |
Numa2d(int nrows,
int ncols,
int initsize,
com.sun.jna.ptr.PointerByReference numa) |
Numa2d(com.sun.jna.Pointer peer) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<?> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int nrows
public int ncols
public int initsize
public com.sun.jna.ptr.PointerByReference numa
public Numa2d()
public Numa2d(int nrows, int ncols, int initsize, com.sun.jna.ptr.PointerByReference numa)
nrows
- number of rows allocated for ptr arrayncols
- number of cols allocated for ptr arrayinitsize
- initial size of each numa that is madenuma
- 2D array of Numapublic Numa2d(com.sun.jna.Pointer peer)