Package org.lwjgl.llvm
Class CXIdxEntityRefInfo
- All Implemented Interfaces:
Pointer
struct CXIdxEntityRefInfo {
CXIdxEntityRefKind kind;
CXCursor cursor;
CXIdxLoc loc;
CXIdxEntityInfo const * referencedEntity;
CXIdxEntityInfo const * parentEntity;
CXIdxContainerInfo const * container;
CXSymbolRole role;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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 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 aCXIdxEntityRefInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxEntityRefInfocreate(long address) Returns a newCXIdxEntityRefInfoinstance for the specified memory address.static CXIdxEntityRefInfo.Buffercreate(long address, int capacity) Create aCXIdxEntityRefInfo.Bufferinstance at the specified memory.static @Nullable CXIdxEntityRefInfocreateSafe(long address) static @Nullable CXIdxEntityRefInfo.BuffercreateSafe(long address, int capacity) cursor()intkind()loc()static CXIdxContainerInfoncontainer(long struct) Unsafe version ofcontainer().static CXCursorncursor(long struct) Unsafe version ofcursor().static intnkind(long struct) Unsafe version ofkind().static CXIdxLocnloc(long struct) Unsafe version ofloc().static CXIdxEntityInfonparentEntity(long struct) Unsafe version ofparentEntity().static CXIdxEntityInfonreferencedEntity(long struct) Unsafe version ofreferencedEntity().static intnrole(long struct) Unsafe version ofrole().introle()intsizeof()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 aCXIdxEntityRefInfoinstance 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()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<CXIdxEntityRefInfo>
-
kind
public int kind()- Returns:
- the value of the
kindfield.
-
cursor
- Returns:
- a
CXCursorview of thecursorfield.
-
loc
- Returns:
- a
CXIdxLocview of thelocfield.
-
referencedEntity
- Returns:
- a
CXIdxEntityInfoview of the struct pointed to by thereferencedEntityfield.
-
parentEntity
- Returns:
- a
CXIdxEntityInfoview of the struct pointed to by theparentEntityfield.
-
container
- Returns:
- a
CXIdxContainerInfoview of the struct pointed to by thecontainerfield.
-
role
public int role()- Returns:
- the value of the
rolefield.
-
create
Returns a newCXIdxEntityRefInfoinstance for the specified memory address. -
createSafe
-
create
Create aCXIdxEntityRefInfo.Bufferinstance 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().
-