struct aiFileIO {
aiFileOpenProc OpenProc;
aiFileCloseProc CloseProc;
aiUserData UserData;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AIFileIO.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CLOSEPROC
The struct member offsets. |
| public static final int | OPENPROC
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USERDATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AIFileIO(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static AIFileIO | |
| public static AIFileIO. | calloc(int
the buffer capacity capacity)Returns a new |
| public static AIFileIO | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIFileIO. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIFileIO | |
| public static AIFileIO | |
| public static AIFileIO. | |
| public static AIFileIO. | |
| public AIFileCloseProc | |
| public AIFileIO | |
| protected AIFileIO | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static AIFileIO | |
| public static AIFileIO | |
| public static AIFileIO. | create(int
the buffer capacity capacity)Returns a new |
| public static AIFileIO. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AIFileIO | |
| public static AIFileIO. | |
| public static AIFileIO | |
| public static AIFileIO. | malloc(int
the buffer capacity capacity)Returns a new |
| public static AIFileIO | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIFileIO. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIFileIO | |
| public static AIFileIO | |
| public static AIFileIO. | |
| public static AIFileIO. | |
| public static AIFileCloseProc | |
| public static void | |
| public static AIFileOpenProc | |
| public static void | |
| public static long | |
| public static void | |
| public AIFileOpenProc | |
| public AIFileIO | |
| public AIFileIO | set(AIFileOpenProcI OpenProc, AIFileCloseProcI CloseProc, long UserData)
Initializes this struct with the specified values. |
| public AIFileIO | |
| public int | |
| public long | |
| public AIFileIO | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CLOSEPROC | back to summary |
|---|---|
| public static final int CLOSEPROC The struct member offsets. | |
| OPENPROC | back to summary |
|---|---|
| public static final int OPENPROC The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USERDATA | back to summary |
|---|---|
| public static final int USERDATA The struct member offsets. | |
| AIFileIO | back to summary |
|---|---|
| protected AIFileIO(long address, ByteBuffer container) | |
| AIFileIO | back to summary |
|---|---|
| public AIFileIO(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static AIFileIO calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static AIFileIO. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIFileIO calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIFileIO. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static AIFileIO callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIFileIO callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIFileIO. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIFileIO. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| CloseProc | back to summary |
|---|---|
| public AIFileCloseProc CloseProc() Function used to close an existing file
| |
| CloseProc | back to summary |
|---|---|
| public AIFileIO CloseProc(AIFileCloseProcI value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected AIFileIO create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static AIFileIO create() Returns a new | |
| create | back to summary |
|---|---|
| public static AIFileIO create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static AIFileIO. Returns a new
| |
| create | back to summary |
|---|---|
| public static AIFileIO. Create a
| |
| createSafe | back to summary |
|---|---|
| public static AIFileIO createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static AIFileIO. Like
| |
| malloc | back to summary |
|---|---|
| public static AIFileIO malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static AIFileIO. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIFileIO malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIFileIO. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static AIFileIO mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIFileIO mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIFileIO. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIFileIO. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nCloseProc | back to summary |
|---|---|
| public static AIFileCloseProc nCloseProc(long struct) Unsafe version of | |
| nCloseProc | back to summary |
|---|---|
| public static void nCloseProc(long struct, AIFileCloseProcI value) Unsafe version of | |
| nOpenProc | back to summary |
|---|---|
| public static AIFileOpenProc nOpenProc(long struct) Unsafe version of | |
| nOpenProc | back to summary |
|---|---|
| public static void nOpenProc(long struct, AIFileOpenProcI value) Unsafe version of | |
| nUserData | back to summary |
|---|---|
| public static long nUserData(long struct) Unsafe version of | |
| nUserData | back to summary |
|---|---|
| public static void nUserData(long struct, long value) Unsafe version of | |
| OpenProc | back to summary |
|---|---|
| public AIFileOpenProc OpenProc() Function used to open a new file
| |
| OpenProc | back to summary |
|---|---|
| public AIFileIO OpenProc(AIFileOpenProcI value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public AIFileIO set(AIFileOpenProcI OpenProc, AIFileCloseProcI CloseProc, long UserData) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public AIFileIO set(AIFileIO src) Copies the specified struct data to this struct. | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| UserData | back to summary |
|---|---|
| public long UserData() User-defined, opaque data
| |
| UserData | back to summary |
|---|---|
| public AIFileIO UserData(long value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
AIFileIO structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final AIFileIO |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AIFileCloseProc | |
| public AIFileIO. | |
| protected AIFileIO | |
| public AIFileOpenProc | |
| public AIFileIO. | |
| protected AIFileIO. | |
| public long | |
| public AIFileIO. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final AIFileIO ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| CloseProc | back to summary |
|---|---|
public AIFileCloseProc CloseProc()
| |
| CloseProc | back to summary |
|---|---|
| public AIFileIO. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected AIFileIO getElementFactory() Implements abstract org.
| |
| OpenProc | back to summary |
|---|---|
public AIFileOpenProc OpenProc()
| |
| OpenProc | back to summary |
|---|---|
| public AIFileIO. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected AIFileIO. Implements abstract org.
| |
| UserData | back to summary |
|---|---|
public long UserData()
| |
| UserData | back to summary |
|---|---|
| public AIFileIO. Sets the specified value to the | |