Top Description Inners Constructors Methods
org.lwjgl.assimp

public abstract Class AIFileSeek

extends Callback
implements AIFileSeekI
Class Inheritance
All Implemented Interfaces
org.lwjgl.assimp.AIFileSeekI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.assimp.AIFileSeek.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


aiReturn (*invoke) (
    struct aiFile *pFile,
    size_t offset,
    aiOrigin origin
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
AIFileSeek(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static AIFileSeek

Returns:

the new AIFileSeek
create
(long functionPointer)

Creates a AIFileSeek instance from the specified function pointer.

public static AIFileSeek
create(AIFileSeekI instance)

Creates a AIFileSeek instance that delegates to the specified AIFileSeekI instance.

public static AIFileSeek
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

AIFileSeekback to summary
protected AIFileSeek()
AIFileSeekback to summary
pack-priv AIFileSeek(long functionPointer)

Method Detail

createback to summary
public static AIFileSeek create(long functionPointer)

Creates a AIFileSeek instance from the specified function pointer.

Returns:AIFileSeek

the new AIFileSeek

createback to summary
public static AIFileSeek create(AIFileSeekI instance)

Creates a AIFileSeek instance that delegates to the specified AIFileSeekI instance.

createSafeback to summary
public static AIFileSeek createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.assimp back to summary

private final Class AIFileSeek.Container

extends AIFileSeek
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final AIFileSeekI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, AIFileSeekI delegate)

Method Summary

Modifier and TypeMethod and Description
public int
invoke(long
file pointer to seek
pFile
,
long
number of bytes to shift from origin
offset
,
int
position used as reference for the offset
origin
)

Implements org.lwjgl.assimp.AIFileSeekI.invoke.

File seek procedure
Inherited from org.lwjgl.assimp.AIFileSeek:
createcreatecreateSafe

Field Detail

delegateback to summary
private final AIFileSeekI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, AIFileSeekI delegate)

Method Detail

invokeback to summary
public int invoke(long pFile, long offset, int origin)

Implements org.lwjgl.assimp.AIFileSeekI.invoke.

Doc from org.lwjgl.assimp.AIFileSeekI.invoke.

File seek procedure

Parameters
pFile:long

file pointer to seek

offset:long

number of bytes to shift from origin

origin:int

position used as reference for the offset

Returns:int

an aiReturn value

Annotations
@Override