Package org.lwjgl.llvm
Class CXIdxDeclInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CXIdxDeclInfo>
org.lwjgl.llvm.CXIdxDeclInfo
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CXIdxDeclInfo
extends org.lwjgl.system.Struct<CXIdxDeclInfo>
implements org.lwjgl.system.NativeResource
Layout
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;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCXIdxDeclInfo(ByteBuffer container) Creates aCXIdxDeclInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionorg.lwjgl.PointerBufferstatic CXIdxDeclInfocalloc()Returns a newCXIdxDeclInfoinstance allocated withmemCalloc.static CXIdxDeclInfo.Buffercalloc(int capacity) Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemCalloc.static CXIdxDeclInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxDeclInfocalloc(org.lwjgl.system.MemoryStack stack) Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxDeclInfoDeprecated.static CXIdxDeclInfo.BuffercallocStack(int capacity) Deprecated.static CXIdxDeclInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static CXIdxDeclInfocallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static CXIdxDeclInfocreate()Returns a newCXIdxDeclInfoinstance allocated withBufferUtils.static CXIdxDeclInfo.Buffercreate(int capacity) Returns a newCXIdxDeclInfo.Bufferinstance allocated withBufferUtils.static CXIdxDeclInfocreate(long address) Returns a newCXIdxDeclInfoinstance for the specified memory address.static CXIdxDeclInfo.Buffercreate(long address, int capacity) Create aCXIdxDeclInfo.Bufferinstance at the specified memory.static @Nullable CXIdxDeclInfocreateSafe(long address) static @Nullable CXIdxDeclInfo.BuffercreateSafe(long address, int capacity) cursor()intflags()booleanbooleanbooleanwhether the declaration exists in code or was created implicitly by the compiler, e.g.booleangenerally same assemanticContainerbut can be different in cases like out-of-line C++ member functionsloc()static CXIdxDeclInfomalloc()Returns a newCXIdxDeclInfoinstance allocated withmemAlloc.static CXIdxDeclInfo.Buffermalloc(int capacity) Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemAlloc.static CXIdxDeclInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStack.static CXIdxDeclInfomalloc(org.lwjgl.system.MemoryStack stack) Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStack.static CXIdxDeclInfoDeprecated.static CXIdxDeclInfo.BuffermallocStack(int capacity) Deprecated.static CXIdxDeclInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static CXIdxDeclInfomallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static org.lwjgl.PointerBuffernattributes(long struct) Unsafe version ofattributes.static CXCursorncursor(long struct) Unsafe version ofcursor().static CXIdxContainerInfondeclAsContainer(long struct) Unsafe version ofdeclAsContainer().static CXIdxEntityInfonentityInfo(long struct) Unsafe version ofentityInfo().static intnflags(long struct) Unsafe version offlags().static intnisContainer(long struct) Unsafe version ofisContainer().static intnisDefinition(long struct) Unsafe version ofisDefinition().static intnisImplicit(long struct) Unsafe version ofisImplicit().static intnisRedeclaration(long struct) Unsafe version ofisRedeclaration().static CXIdxContainerInfonlexicalContainer(long struct) Unsafe version oflexicalContainer().static CXIdxLocnloc(long struct) Unsafe version ofloc().static intnnumAttributes(long struct) Unsafe version ofnumAttributes().static CXIdxContainerInfonsemanticContainer(long struct) Unsafe version ofsemanticContainer().intintsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
ENTITYINFO
public static final int ENTITYINFOThe struct member offsets. -
CURSOR
public static final int CURSORThe struct member offsets. -
LOC
public static final int LOCThe struct member offsets. -
SEMANTICCONTAINER
public static final int SEMANTICCONTAINERThe struct member offsets. -
LEXICALCONTAINER
public static final int LEXICALCONTAINERThe struct member offsets. -
ISREDECLARATION
public static final int ISREDECLARATIONThe struct member offsets. -
ISDEFINITION
public static final int ISDEFINITIONThe struct member offsets. -
ISCONTAINER
public static final int ISCONTAINERThe struct member offsets. -
DECLASCONTAINER
public static final int DECLASCONTAINERThe struct member offsets. -
ISIMPLICIT
public static final int ISIMPLICITThe struct member offsets. -
ATTRIBUTES
public static final int ATTRIBUTESThe struct member offsets. -
NUMATTRIBUTES
public static final int NUMATTRIBUTESThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets.
-
-
Constructor Details
-
CXIdxDeclInfo
Creates aCXIdxDeclInfoinstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<CXIdxDeclInfo>
-
entityInfo
- Returns:
- a
CXIdxEntityInfoview of the struct pointed to by theentityInfofield.
-
cursor
- Returns:
- a
CXCursorview of thecursorfield.
-
loc
- Returns:
- a
CXIdxLocview of thelocfield.
-
semanticContainer
- Returns:
- a
CXIdxContainerInfoview of the struct pointed to by thesemanticContainerfield.
-
lexicalContainer
generally same assemanticContainerbut can be different in cases like out-of-line C++ member functions -
isRedeclaration
public boolean isRedeclaration()- Returns:
- the value of the
isRedeclarationfield.
-
isDefinition
public boolean isDefinition()- Returns:
- the value of the
isDefinitionfield.
-
isContainer
public boolean isContainer()- Returns:
- the value of the
isContainerfield.
-
declAsContainer
- Returns:
- a
CXIdxContainerInfoview of the struct pointed to by thedeclAsContainerfield.
-
isImplicit
public boolean isImplicit()whether the declaration exists in code or was created implicitly by the compiler, e.g. implicit Objective-C methods for properties -
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.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
malloc
Returns a newCXIdxDeclInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newCXIdxDeclInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newCXIdxDeclInfoinstance allocated withBufferUtils. -
create
Returns a newCXIdxDeclInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newCXIdxDeclInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aCXIdxDeclInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static CXIdxDeclInfo.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 CXIdxDeclInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nentityInfo
Unsafe version ofentityInfo(). -
ncursor
Unsafe version ofcursor(). -
nloc
Unsafe version ofloc(). -
nsemanticContainer
Unsafe version ofsemanticContainer(). -
nlexicalContainer
Unsafe version oflexicalContainer(). -
nisRedeclaration
public static int nisRedeclaration(long struct) Unsafe version ofisRedeclaration(). -
nisDefinition
public static int nisDefinition(long struct) Unsafe version ofisDefinition(). -
nisContainer
public static int nisContainer(long struct) Unsafe version ofisContainer(). -
ndeclAsContainer
Unsafe version ofdeclAsContainer(). -
nisImplicit
public static int nisImplicit(long struct) Unsafe version ofisImplicit(). -
nattributes
public static org.lwjgl.PointerBuffer nattributes(long struct) Unsafe version ofattributes. -
nnumAttributes
public static int nnumAttributes(long struct) Unsafe version ofnumAttributes(). -
nflags
public static int nflags(long struct) Unsafe version offlags().
-