Package org.lwjgl.llvm
Class CXIdxIncludedFileInfo
- All Implemented Interfaces:
Pointer
struct CXIdxIncludedFileInfo {
{@link CXIdxLoc CXIdxLoc} hashLoc;
char const * filename;
CXFile file;
int isImport;
int isAngled;
int isModuleImport;
}
-
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCXIdxIncludedFileInfo
(ByteBuffer container) Creates aCXIdxIncludedFileInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxIncludedFileInfo
create
(long address) Returns a newCXIdxIncludedFileInfo
instance for the specified memory address.static CXIdxIncludedFileInfo.Buffer
create
(long address, int capacity) Create aCXIdxIncludedFileInfo.Buffer
instance at the specified memory.static @Nullable CXIdxIncludedFileInfo
createSafe
(long address) static @Nullable CXIdxIncludedFileInfo.Buffer
createSafe
(long address, int capacity) long
file()
filename()
hashLoc()
boolean
isAngled()
boolean
isImport()
boolean
static long
nfile
(long struct) Unsafe version offile()
.static ByteBuffer
nfilename
(long struct) Unsafe version offilename()
.static String
nfilenameString
(long struct) Unsafe version offilenameString()
.static CXIdxLoc
nhashLoc
(long struct) Unsafe version ofhashLoc()
.static int
nisAngled
(long struct) Unsafe version ofisAngled()
.static int
nisImport
(long struct) Unsafe version ofisImport()
.static int
nisModuleImport
(long struct) Unsafe version ofisModuleImport()
.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. -
HASHLOC
public static final int HASHLOCThe struct member offsets. -
FILENAME
public static final int FILENAMEThe struct member offsets. -
FILE
public static final int FILEThe struct member offsets. -
ISIMPORT
public static final int ISIMPORTThe struct member offsets. -
ISANGLED
public static final int ISANGLEDThe struct member offsets. -
ISMODULEIMPORT
public static final int ISMODULEIMPORTThe struct member offsets.
-
-
Constructor Details
-
CXIdxIncludedFileInfo
Creates aCXIdxIncludedFileInfo
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<CXIdxIncludedFileInfo>
-
hashLoc
- Returns:
- a
CXIdxLoc
view of thehashLoc
field.
-
filename
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thefilename
field.
-
filenameString
- Returns:
- the null-terminated string pointed to by the
filename
field.
-
file
public long file()- Returns:
- the value of the
file
field.
-
isImport
public boolean isImport()- Returns:
- the value of the
isImport
field.
-
isAngled
public boolean isAngled()- Returns:
- the value of the
isAngled
field.
-
isModuleImport
public boolean isModuleImport()- Returns:
- the value of the
isModuleImport
field.
-
create
Returns a newCXIdxIncludedFileInfo
instance for the specified memory address. -
createSafe
-
create
Create aCXIdxIncludedFileInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nhashLoc
Unsafe version ofhashLoc()
. -
nfilename
Unsafe version offilename()
. -
nfilenameString
Unsafe version offilenameString()
. -
nfile
public static long nfile(long struct) Unsafe version offile()
. -
nisImport
public static int nisImport(long struct) Unsafe version ofisImport()
. -
nisAngled
public static int nisAngled(long struct) Unsafe version ofisAngled()
. -
nisModuleImport
public static int nisModuleImport(long struct) Unsafe version ofisModuleImport()
.
-