Package org.lwjgl.llvm
Class CXIdxIncludedFileInfo
- All Implemented Interfaces:
Pointer
struct CXIdxIncludedFileInfo {
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.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 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 aCXIdxIncludedFileInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxIncludedFileInfocreate(long address) Returns a newCXIdxIncludedFileInfoinstance for the specified memory address.static CXIdxIncludedFileInfo.Buffercreate(long address, int capacity) Create aCXIdxIncludedFileInfo.Bufferinstance at the specified memory.static @Nullable CXIdxIncludedFileInfocreateSafe(long address) static @Nullable CXIdxIncludedFileInfo.BuffercreateSafe(long address, int capacity) longfile()filename()hashLoc()booleanisAngled()booleanisImport()booleanstatic longnfile(long struct) Unsafe version offile().static ByteBuffernfilename(long struct) Unsafe version offilename().static StringnfilenameString(long struct) Unsafe version offilenameString().static CXIdxLocnhashLoc(long struct) Unsafe version ofhashLoc().static intnisAngled(long struct) Unsafe version ofisAngled().static intnisImport(long struct) Unsafe version ofisImport().static intnisModuleImport(long struct) Unsafe version ofisModuleImport().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. -
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 aCXIdxIncludedFileInfoinstance 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<CXIdxIncludedFileInfo>
-
hashLoc
- Returns:
- a
CXIdxLocview of thehashLocfield.
-
filename
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thefilenamefield.
-
filenameString
- Returns:
- the null-terminated string pointed to by the
filenamefield.
-
file
public long file()- Returns:
- the value of the
filefield.
-
isImport
public boolean isImport()- Returns:
- the value of the
isImportfield.
-
isAngled
public boolean isAngled()- Returns:
- the value of the
isAngledfield.
-
isModuleImport
public boolean isModuleImport()- Returns:
- the value of the
isModuleImportfield.
-
create
Returns a newCXIdxIncludedFileInfoinstance for the specified memory address. -
createSafe
-
create
Create aCXIdxIncludedFileInfo.Bufferinstance 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().
-