public class CXIdxEntityInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct CXIdxEntityInfo {
CXIdxEntityKind kind;
CXIdxEntityCXXTemplateKind templateKind;
CXIdxEntityLanguage lang;
char const * name;
char const * USR;
CXCursor cursor;
CXIdxAttrInfo const * const * attributes;
unsigned numAttributes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CXIdxEntityInfo.Buffer
An array of
CXIdxEntityInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ATTRIBUTES
The struct member offsets.
|
static int |
CURSOR
The struct member offsets.
|
static int |
KIND
The struct member offsets.
|
static int |
LANG
The struct member offsets.
|
static int |
NAME
The struct member offsets.
|
static int |
NUMATTRIBUTES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TEMPLATEKIND
The struct member offsets.
|
static int |
USR
The struct member offsets.
|
| Constructor and Description |
|---|
CXIdxEntityInfo(java.nio.ByteBuffer container)
Creates a
CXIdxEntityInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
org.lwjgl.PointerBuffer |
attributes()
Returns a
PointerBuffer view of the data pointed to by the attributes field. |
static CXIdxEntityInfo |
calloc()
Returns a new
CXIdxEntityInfo instance allocated with memCalloc. |
static CXIdxEntityInfo.Buffer |
calloc(int capacity)
Returns a new
CXIdxEntityInfo.Buffer instance allocated with memCalloc. |
static CXIdxEntityInfo |
callocStack()
Returns a new
CXIdxEntityInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CXIdxEntityInfo.Buffer |
callocStack(int capacity)
Returns a new
CXIdxEntityInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CXIdxEntityInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxEntityInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CXIdxEntityInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxEntityInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CXIdxEntityInfo |
create()
Returns a new
CXIdxEntityInfo instance allocated with BufferUtils. |
static CXIdxEntityInfo.Buffer |
create(int capacity)
Returns a new
CXIdxEntityInfo.Buffer instance allocated with BufferUtils. |
static CXIdxEntityInfo |
create(long address)
Returns a new
CXIdxEntityInfo instance for the specified memory address. |
static CXIdxEntityInfo.Buffer |
create(long address,
int capacity)
Create a
CXIdxEntityInfo.Buffer instance at the specified memory. |
static CXIdxEntityInfo |
createSafe(long address)
|
static CXIdxEntityInfo.Buffer |
createSafe(long address,
int capacity)
|
CXCursor |
cursor()
Returns a
CXCursor view of the cursor field. |
int |
kind()
Returns the value of the
kind field. |
int |
lang()
Returns the value of the
lang field. |
static CXIdxEntityInfo |
malloc()
Returns a new
CXIdxEntityInfo instance allocated with memAlloc. |
static CXIdxEntityInfo.Buffer |
malloc(int capacity)
Returns a new
CXIdxEntityInfo.Buffer instance allocated with memAlloc. |
static CXIdxEntityInfo |
mallocStack()
Returns a new
CXIdxEntityInfo instance allocated on the thread-local MemoryStack. |
static CXIdxEntityInfo.Buffer |
mallocStack(int capacity)
Returns a new
CXIdxEntityInfo.Buffer instance allocated on the thread-local MemoryStack. |
static CXIdxEntityInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxEntityInfo.Buffer instance allocated on the specified MemoryStack. |
static CXIdxEntityInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxEntityInfo instance allocated on the specified MemoryStack. |
java.nio.ByteBuffer |
name()
Returns a
ByteBuffer view of the null-terminated string pointed to by the name field. |
java.lang.String |
nameString()
Decodes the null-terminated string pointed to by the
name field. |
static org.lwjgl.PointerBuffer |
nattributes(long struct)
Unsafe version of
attributes. |
static CXCursor |
ncursor(long struct)
Unsafe version of
cursor(). |
static int |
nkind(long struct)
Unsafe version of
kind(). |
static int |
nlang(long struct)
Unsafe version of
lang(). |
static java.nio.ByteBuffer |
nname(long struct)
Unsafe version of
name(). |
static java.lang.String |
nnameString(long struct)
Unsafe version of
nameString(). |
static int |
nnumAttributes(long struct)
Unsafe version of
numAttributes(). |
static int |
ntemplateKind(long struct)
Unsafe version of
templateKind(). |
int |
numAttributes()
Returns the value of the
numAttributes field. |
static java.nio.ByteBuffer |
nUSR(long struct)
Unsafe version of
USR. |
static java.lang.String |
nUSRString(long struct)
Unsafe version of
USRString(). |
int |
sizeof() |
int |
templateKind()
Returns the value of the
templateKind field. |
java.nio.ByteBuffer |
USR()
Returns a
ByteBuffer view of the null-terminated string pointed to by the USR field. |
java.lang.String |
USRString()
Decodes the null-terminated string pointed to by the
USR field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int KIND
public static final int TEMPLATEKIND
public static final int LANG
public static final int NAME
public static final int USR
public static final int CURSOR
public static final int ATTRIBUTES
public static final int NUMATTRIBUTES
public CXIdxEntityInfo(java.nio.ByteBuffer container)
CXIdxEntityInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int kind()
kind field.public int templateKind()
templateKind field.public int lang()
lang field.public java.nio.ByteBuffer name()
ByteBuffer view of the null-terminated string pointed to by the name field.public java.lang.String nameString()
name field.public java.nio.ByteBuffer USR()
ByteBuffer view of the null-terminated string pointed to by the USR field.public java.lang.String USRString()
USR field.public org.lwjgl.PointerBuffer attributes()
PointerBuffer view of the data pointed to by the attributes field.public int numAttributes()
numAttributes field.public static CXIdxEntityInfo malloc()
CXIdxEntityInfo instance allocated with memAlloc. The instance must be explicitly freed.public static CXIdxEntityInfo calloc()
CXIdxEntityInfo instance allocated with memCalloc. The instance must be explicitly freed.public static CXIdxEntityInfo create()
CXIdxEntityInfo instance allocated with BufferUtils.public static CXIdxEntityInfo create(long address)
CXIdxEntityInfo instance for the specified memory address.@Nullable public static CXIdxEntityInfo createSafe(long address)
public static CXIdxEntityInfo.Buffer malloc(int capacity)
CXIdxEntityInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CXIdxEntityInfo.Buffer calloc(int capacity)
CXIdxEntityInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CXIdxEntityInfo.Buffer create(int capacity)
CXIdxEntityInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static CXIdxEntityInfo.Buffer create(long address, int capacity)
CXIdxEntityInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CXIdxEntityInfo.Buffer createSafe(long address, int capacity)
public static CXIdxEntityInfo mallocStack()
CXIdxEntityInfo instance allocated on the thread-local MemoryStack.public static CXIdxEntityInfo callocStack()
CXIdxEntityInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static CXIdxEntityInfo mallocStack(org.lwjgl.system.MemoryStack stack)
CXIdxEntityInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static CXIdxEntityInfo callocStack(org.lwjgl.system.MemoryStack stack)
CXIdxEntityInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static CXIdxEntityInfo.Buffer mallocStack(int capacity)
CXIdxEntityInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static CXIdxEntityInfo.Buffer callocStack(int capacity)
CXIdxEntityInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static CXIdxEntityInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CXIdxEntityInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static CXIdxEntityInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CXIdxEntityInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nkind(long struct)
kind().public static int ntemplateKind(long struct)
templateKind().public static int nlang(long struct)
lang().public static java.nio.ByteBuffer nname(long struct)
name().public static java.lang.String nnameString(long struct)
nameString().public static java.nio.ByteBuffer nUSR(long struct)
USR.public static java.lang.String nUSRString(long struct)
USRString().public static org.lwjgl.PointerBuffer nattributes(long struct)
attributes.public static int nnumAttributes(long struct)
numAttributes().Copyright LWJGL. All Rights Reserved. License terms.