public class CXIdxDeclInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
lexicalContainer – generally same as semanticContainer but can be different in cases like out-of-line C++ member functionsisImplicit – whether the declaration exists in code or was created implicitly by the compiler, e.g. implicit Objective-C methods for properties
struct CXIdxDeclInfo {
CXIdxEntityInfo const * entityInfo;
CXCursor cursor;
CXIdxLoc loc;
CXIdxContainerInfo const * semanticContainer;
CXIdxContainerInfo const * lexicalContainer;
int isRedeclaration;
int isDefinition;
int isContainer;
CXIdxContainerInfo const * declAsContainer;
int isImplicit;
CXIdxAttrInfo const * const * attributes;
unsigned numAttributes;
unsigned flags;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CXIdxDeclInfo.Buffer
An array of
CXIdxDeclInfo 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 |
DECLASCONTAINER
The struct member offsets.
|
static int |
ENTITYINFO
The struct member offsets.
|
static int |
FLAGS
The struct member offsets.
|
static int |
ISCONTAINER
The struct member offsets.
|
static int |
ISDEFINITION
The struct member offsets.
|
static int |
ISIMPLICIT
The struct member offsets.
|
static int |
ISREDECLARATION
The struct member offsets.
|
static int |
LEXICALCONTAINER
The struct member offsets.
|
static int |
LOC
The struct member offsets.
|
static int |
NUMATTRIBUTES
The struct member offsets.
|
static int |
SEMANTICCONTAINER
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
CXIdxDeclInfo(java.nio.ByteBuffer container)
Creates a
CXIdxDeclInfo 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 CXIdxDeclInfo |
calloc()
Returns a new
CXIdxDeclInfo instance allocated with memCalloc. |
static CXIdxDeclInfo.Buffer |
calloc(int capacity)
Returns a new
CXIdxDeclInfo.Buffer instance allocated with memCalloc. |
static CXIdxDeclInfo |
callocStack()
Returns a new
CXIdxDeclInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CXIdxDeclInfo.Buffer |
callocStack(int capacity)
Returns a new
CXIdxDeclInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CXIdxDeclInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxDeclInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CXIdxDeclInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxDeclInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CXIdxDeclInfo |
create()
Returns a new
CXIdxDeclInfo instance allocated with BufferUtils. |
static CXIdxDeclInfo.Buffer |
create(int capacity)
Returns a new
CXIdxDeclInfo.Buffer instance allocated with BufferUtils. |
static CXIdxDeclInfo |
create(long address)
Returns a new
CXIdxDeclInfo instance for the specified memory address. |
static CXIdxDeclInfo.Buffer |
create(long address,
int capacity)
Create a
CXIdxDeclInfo.Buffer instance at the specified memory. |
static CXIdxDeclInfo |
createSafe(long address)
|
static CXIdxDeclInfo.Buffer |
createSafe(long address,
int capacity)
|
CXCursor |
cursor()
Returns a
CXCursor view of the cursor field. |
CXIdxContainerInfo |
declAsContainer()
Returns a
CXIdxContainerInfo view of the struct pointed to by the declAsContainer field. |
CXIdxEntityInfo |
entityInfo()
Returns a
CXIdxEntityInfo view of the struct pointed to by the entityInfo field. |
int |
flags()
Returns the value of the
flags field. |
boolean |
isContainer()
Returns the value of the
isContainer field. |
boolean |
isDefinition()
Returns the value of the
isDefinition field. |
boolean |
isImplicit()
Returns the value of the
isImplicit field. |
boolean |
isRedeclaration()
Returns the value of the
isRedeclaration field. |
CXIdxContainerInfo |
lexicalContainer()
Returns a
CXIdxContainerInfo view of the struct pointed to by the lexicalContainer field. |
CXIdxLoc |
loc()
Returns a
CXIdxLoc view of the loc field. |
static CXIdxDeclInfo |
malloc()
Returns a new
CXIdxDeclInfo instance allocated with memAlloc. |
static CXIdxDeclInfo.Buffer |
malloc(int capacity)
Returns a new
CXIdxDeclInfo.Buffer instance allocated with memAlloc. |
static CXIdxDeclInfo |
mallocStack()
Returns a new
CXIdxDeclInfo instance allocated on the thread-local MemoryStack. |
static CXIdxDeclInfo.Buffer |
mallocStack(int capacity)
Returns a new
CXIdxDeclInfo.Buffer instance allocated on the thread-local MemoryStack. |
static CXIdxDeclInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxDeclInfo.Buffer instance allocated on the specified MemoryStack. |
static CXIdxDeclInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CXIdxDeclInfo instance allocated on the specified MemoryStack. |
static org.lwjgl.PointerBuffer |
nattributes(long struct)
Unsafe version of
attributes. |
static CXCursor |
ncursor(long struct)
Unsafe version of
cursor(). |
static CXIdxContainerInfo |
ndeclAsContainer(long struct)
Unsafe version of
declAsContainer(). |
static CXIdxEntityInfo |
nentityInfo(long struct)
Unsafe version of
entityInfo(). |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static int |
nisContainer(long struct)
Unsafe version of
isContainer(). |
static int |
nisDefinition(long struct)
Unsafe version of
isDefinition(). |
static int |
nisImplicit(long struct)
Unsafe version of
isImplicit(). |
static int |
nisRedeclaration(long struct)
Unsafe version of
isRedeclaration(). |
static CXIdxContainerInfo |
nlexicalContainer(long struct)
Unsafe version of
lexicalContainer(). |
static CXIdxLoc |
nloc(long struct)
Unsafe version of
loc(). |
static int |
nnumAttributes(long struct)
Unsafe version of
numAttributes(). |
static CXIdxContainerInfo |
nsemanticContainer(long struct)
Unsafe version of
semanticContainer(). |
int |
numAttributes()
Returns the value of the
numAttributes field. |
CXIdxContainerInfo |
semanticContainer()
Returns a
CXIdxContainerInfo view of the struct pointed to by the semanticContainer field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int ENTITYINFO
public static final int CURSOR
public static final int LOC
public static final int SEMANTICCONTAINER
public static final int LEXICALCONTAINER
public static final int ISREDECLARATION
public static final int ISDEFINITION
public static final int ISCONTAINER
public static final int DECLASCONTAINER
public static final int ISIMPLICIT
public static final int ATTRIBUTES
public static final int NUMATTRIBUTES
public static final int FLAGS
public CXIdxDeclInfo(java.nio.ByteBuffer container)
CXIdxDeclInfo 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 CXIdxEntityInfo entityInfo()
CXIdxEntityInfo view of the struct pointed to by the entityInfo field.public CXIdxContainerInfo semanticContainer()
CXIdxContainerInfo view of the struct pointed to by the semanticContainer field.public CXIdxContainerInfo lexicalContainer()
CXIdxContainerInfo view of the struct pointed to by the lexicalContainer field.public boolean isRedeclaration()
isRedeclaration field.public boolean isDefinition()
isDefinition field.public boolean isContainer()
isContainer field.public CXIdxContainerInfo declAsContainer()
CXIdxContainerInfo view of the struct pointed to by the declAsContainer field.public boolean isImplicit()
isImplicit field.public org.lwjgl.PointerBuffer attributes()
PointerBuffer view of the data pointed to by the attributes field.public int numAttributes()
numAttributes field.public int flags()
flags field.public static CXIdxDeclInfo malloc()
CXIdxDeclInfo instance allocated with memAlloc. The instance must be explicitly freed.public static CXIdxDeclInfo calloc()
CXIdxDeclInfo instance allocated with memCalloc. The instance must be explicitly freed.public static CXIdxDeclInfo create()
CXIdxDeclInfo instance allocated with BufferUtils.public static CXIdxDeclInfo create(long address)
CXIdxDeclInfo instance for the specified memory address.@Nullable public static CXIdxDeclInfo createSafe(long address)
public static CXIdxDeclInfo.Buffer malloc(int capacity)
CXIdxDeclInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CXIdxDeclInfo.Buffer calloc(int capacity)
CXIdxDeclInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CXIdxDeclInfo.Buffer create(int capacity)
CXIdxDeclInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static CXIdxDeclInfo.Buffer create(long address, int capacity)
CXIdxDeclInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CXIdxDeclInfo.Buffer createSafe(long address, int capacity)
public static CXIdxDeclInfo mallocStack()
CXIdxDeclInfo instance allocated on the thread-local MemoryStack.public static CXIdxDeclInfo callocStack()
CXIdxDeclInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static CXIdxDeclInfo mallocStack(org.lwjgl.system.MemoryStack stack)
CXIdxDeclInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static CXIdxDeclInfo callocStack(org.lwjgl.system.MemoryStack stack)
CXIdxDeclInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static CXIdxDeclInfo.Buffer mallocStack(int capacity)
CXIdxDeclInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static CXIdxDeclInfo.Buffer callocStack(int capacity)
CXIdxDeclInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static CXIdxDeclInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CXIdxDeclInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static CXIdxDeclInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CXIdxDeclInfo.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 CXIdxEntityInfo nentityInfo(long struct)
entityInfo().public static CXIdxContainerInfo nsemanticContainer(long struct)
semanticContainer().public static CXIdxContainerInfo nlexicalContainer(long struct)
lexicalContainer().public static int nisRedeclaration(long struct)
isRedeclaration().public static int nisDefinition(long struct)
isDefinition().public static int nisContainer(long struct)
isContainer().public static CXIdxContainerInfo ndeclAsContainer(long struct)
declAsContainer().public static int nisImplicit(long struct)
isImplicit().public static org.lwjgl.PointerBuffer nattributes(long struct)
attributes.public static int nnumAttributes(long struct)
numAttributes().public static int nflags(long struct)
flags().Copyright LWJGL. All Rights Reserved. License terms.