Package org.lwjgl.llvm
Class CXIdxEntityInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxEntityInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CXIdxEntityInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct CXIdxEntityInfo { CXIdxEntityKind kind; CXIdxEntityCXXTemplateKind templateKind; CXIdxEntityLanguage lang; char const * name; char const * USR;CXCursorcursor;CXIdxAttrInfoconst * const * attributes; unsigned numAttributes; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxEntityInfo.BufferAn array ofCXIdxEntityInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intATTRIBUTES
CURSOR
KIND
LANG
NAME
NUMATTRIBUTESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intTEMPLATEKIND
USRThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description CXIdxEntityInfo(java.nio.ByteBuffer container)Creates aCXIdxEntityInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.lwjgl.PointerBufferattributes()static CXIdxEntityInfocalloc()Returns a newCXIdxEntityInfoinstance allocated withmemCalloc.static CXIdxEntityInfo.Buffercalloc(int capacity)Returns a newCXIdxEntityInfo.Bufferinstance allocated withmemCalloc.static CXIdxEntityInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCXIdxEntityInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxEntityInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newCXIdxEntityInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxEntityInfocallocStack()Deprecated.static CXIdxEntityInfo.BuffercallocStack(int capacity)Deprecated.static CXIdxEntityInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static CXIdxEntityInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static CXIdxEntityInfocreate()Returns a newCXIdxEntityInfoinstance allocated withBufferUtils.static CXIdxEntityInfo.Buffercreate(int capacity)Returns a newCXIdxEntityInfo.Bufferinstance allocated withBufferUtils.static CXIdxEntityInfocreate(long address)Returns a newCXIdxEntityInfoinstance for the specified memory address.static CXIdxEntityInfo.Buffercreate(long address, int capacity)Create aCXIdxEntityInfo.Bufferinstance at the specified memory.static CXIdxEntityInfocreateSafe(long address)static CXIdxEntityInfo.BuffercreateSafe(long address, int capacity)CXCursorcursor()intkind()intlang()static CXIdxEntityInfomalloc()Returns a newCXIdxEntityInfoinstance allocated withmemAlloc.static CXIdxEntityInfo.Buffermalloc(int capacity)Returns a newCXIdxEntityInfo.Bufferinstance allocated withmemAlloc.static CXIdxEntityInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCXIdxEntityInfo.Bufferinstance allocated on the specifiedMemoryStack.static CXIdxEntityInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newCXIdxEntityInfoinstance allocated on the specifiedMemoryStack.static CXIdxEntityInfomallocStack()Deprecated.static CXIdxEntityInfo.BuffermallocStack(int capacity)Deprecated.static CXIdxEntityInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static CXIdxEntityInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.java.nio.ByteBuffername()java.lang.StringnameString()static org.lwjgl.PointerBuffernattributes(long struct)Unsafe version ofattributes.static CXCursorncursor(long struct)Unsafe version ofcursor().static intnkind(long struct)Unsafe version ofkind().static intnlang(long struct)Unsafe version oflang().static java.nio.ByteBuffernname(long struct)Unsafe version ofname().static java.lang.StringnnameString(long struct)Unsafe version ofnameString().static intnnumAttributes(long struct)Unsafe version ofnumAttributes().static intntemplateKind(long struct)Unsafe version oftemplateKind().intnumAttributes()static java.nio.ByteBuffernUSR(long struct)Unsafe version ofUSR.static java.lang.StringnUSRString(long struct)Unsafe version ofUSRString().intsizeof()inttemplateKind()java.nio.ByteBufferUSR()java.lang.StringUSRString()
-
-
-
Constructor Detail
-
CXIdxEntityInfo
public CXIdxEntityInfo(java.nio.ByteBuffer container)
Creates aCXIdxEntityInfoinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
kind
public int kind()
- Returns:
- the value of the
kindfield.
-
templateKind
public int templateKind()
- Returns:
- the value of the
templateKindfield.
-
lang
public int lang()
- Returns:
- the value of the
langfield.
-
name
public java.nio.ByteBuffer name()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thenamefield.
-
nameString
public java.lang.String nameString()
- Returns:
- the null-terminated string pointed to by the
namefield.
-
USR
public java.nio.ByteBuffer USR()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theUSRfield.
-
USRString
public java.lang.String USRString()
- Returns:
- the null-terminated string pointed to by the
USRfield.
-
attributes
public org.lwjgl.PointerBuffer attributes()
- Returns:
- a
PointerBufferview of the data pointed to by theattributesfield.
-
numAttributes
public int numAttributes()
- Returns:
- the value of the
numAttributesfield.
-
malloc
public static CXIdxEntityInfo malloc()
Returns a newCXIdxEntityInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static CXIdxEntityInfo calloc()
Returns a newCXIdxEntityInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static CXIdxEntityInfo create()
Returns a newCXIdxEntityInfoinstance allocated withBufferUtils.
-
create
public static CXIdxEntityInfo create(long address)
Returns a newCXIdxEntityInfoinstance for the specified memory address.
-
createSafe
@Nullable public static CXIdxEntityInfo createSafe(long address)
-
malloc
public static CXIdxEntityInfo.Buffer malloc(int capacity)
Returns a newCXIdxEntityInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static CXIdxEntityInfo.Buffer calloc(int capacity)
Returns a newCXIdxEntityInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static CXIdxEntityInfo.Buffer create(int capacity)
Returns a newCXIdxEntityInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static CXIdxEntityInfo.Buffer create(long address, int capacity)
Create aCXIdxEntityInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CXIdxEntityInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static CXIdxEntityInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxEntityInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static CXIdxEntityInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxEntityInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static CXIdxEntityInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxEntityInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static CXIdxEntityInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxEntityInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static CXIdxEntityInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxEntityInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static CXIdxEntityInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxEntityInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static CXIdxEntityInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxEntityInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static CXIdxEntityInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxEntityInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nkind
public static int nkind(long struct)
Unsafe version ofkind().
-
ntemplateKind
public static int ntemplateKind(long struct)
Unsafe version oftemplateKind().
-
nlang
public static int nlang(long struct)
Unsafe version oflang().
-
nname
public static java.nio.ByteBuffer nname(long struct)
Unsafe version ofname().
-
nnameString
public static java.lang.String nnameString(long struct)
Unsafe version ofnameString().
-
nUSR
public static java.nio.ByteBuffer nUSR(long struct)
Unsafe version ofUSR.
-
nUSRString
public static java.lang.String nUSRString(long struct)
Unsafe version ofUSRString().
-
nattributes
public static org.lwjgl.PointerBuffer nattributes(long struct)
Unsafe version ofattributes.
-
nnumAttributes
public static int nnumAttributes(long struct)
Unsafe version ofnumAttributes().
-
-