Package org.lwjgl.llvm
Class CXIdxEntityRefInfo
- All Implemented Interfaces:
Pointer
struct CXIdxEntityRefInfo {
CXIdxEntityRefKind kind;
{@link CXCursor CXCursor} cursor;
{@link CXIdxLoc CXIdxLoc} loc;
{@link CXIdxEntityInfo CXIdxEntityInfo} const * referencedEntity;
{@link CXIdxEntityInfo CXIdxEntityInfo} const * parentEntity;
{@link CXIdxContainerInfo CXIdxContainerInfo} const * container;
CXSymbolRole role;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCXIdxEntityRefInfo
(ByteBuffer container) Creates aCXIdxEntityRefInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxEntityRefInfo
create
(long address) Returns a newCXIdxEntityRefInfo
instance for the specified memory address.static CXIdxEntityRefInfo.Buffer
create
(long address, int capacity) Create aCXIdxEntityRefInfo.Buffer
instance at the specified memory.static @Nullable CXIdxEntityRefInfo
createSafe
(long address) static @Nullable CXIdxEntityRefInfo.Buffer
createSafe
(long address, int capacity) cursor()
int
kind()
loc()
static CXIdxContainerInfo
ncontainer
(long struct) Unsafe version ofcontainer()
.static CXCursor
ncursor
(long struct) Unsafe version ofcursor()
.static int
nkind
(long struct) Unsafe version ofkind()
.static CXIdxLoc
nloc
(long struct) Unsafe version ofloc()
.static CXIdxEntityInfo
nparentEntity
(long struct) Unsafe version ofparentEntity()
.static CXIdxEntityInfo
nreferencedEntity
(long struct) Unsafe version ofreferencedEntity()
.static int
nrole
(long struct) Unsafe version ofrole()
.int
role()
int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
KIND
public static final int KINDThe struct member offsets. -
CURSOR
public static final int CURSORThe struct member offsets. -
LOC
public static final int LOCThe struct member offsets. -
REFERENCEDENTITY
public static final int REFERENCEDENTITYThe struct member offsets. -
PARENTENTITY
public static final int PARENTENTITYThe struct member offsets. -
CONTAINER
public static final int CONTAINERThe struct member offsets. -
ROLE
public static final int ROLEThe struct member offsets.
-
-
Constructor Details
-
CXIdxEntityRefInfo
Creates aCXIdxEntityRefInfo
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<CXIdxEntityRefInfo>
-
kind
public int kind()- Returns:
- the value of the
kind
field.
-
cursor
- Returns:
- a
CXCursor
view of thecursor
field.
-
loc
- Returns:
- a
CXIdxLoc
view of theloc
field.
-
referencedEntity
- Returns:
- a
CXIdxEntityInfo
view of the struct pointed to by thereferencedEntity
field.
-
parentEntity
- Returns:
- a
CXIdxEntityInfo
view of the struct pointed to by theparentEntity
field.
-
container
- Returns:
- a
CXIdxContainerInfo
view of the struct pointed to by thecontainer
field.
-
role
public int role()- Returns:
- the value of the
role
field.
-
create
Returns a newCXIdxEntityRefInfo
instance for the specified memory address. -
createSafe
-
create
Create aCXIdxEntityRefInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nkind
public static int nkind(long struct) Unsafe version ofkind()
. -
ncursor
Unsafe version ofcursor()
. -
nloc
Unsafe version ofloc()
. -
nreferencedEntity
Unsafe version ofreferencedEntity()
. -
nparentEntity
Unsafe version ofparentEntity()
. -
ncontainer
Unsafe version ofcontainer()
. -
nrole
public static int nrole(long struct) Unsafe version ofrole()
.
-