Package org.lwjgl.llvm
Class CXIdxIncludedFileInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxIncludedFileInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXIdxIncludedFileInfo extends org.lwjgl.system.Struct
Data forppIncludedFile
callback.Member documentation
hashLoc
– location of '\#' in the#include/#import
directivefilename
– filename as written in the#include/#import
directivefile
– the actual file that the#include/#import
directive resolved toisModuleImport
– non-zero if the directive was automatically turned into a module import
Layout
struct CXIdxIncludedFileInfo {
CXIdxLoc
hashLoc; char const * filename; CXFile file; int isImport; int isAngled; int isModuleImport; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CXIdxIncludedFileInfo.Buffer
An array ofCXIdxIncludedFileInfo
structs.
-
Constructor Summary
Constructors Constructor Description CXIdxIncludedFileInfo(java.nio.ByteBuffer container)
Creates aCXIdxIncludedFileInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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 CXIdxIncludedFileInfo
createSafe(long address)
static CXIdxIncludedFileInfo.Buffer
createSafe(long address, int capacity)
long
file()
Returns the value of thefile
field.java.nio.ByteBuffer
filename()
Returns aByteBuffer
view of the null-terminated string pointed to by thefilename
field.java.lang.String
filenameString()
Decodes the null-terminated string pointed to by thefilename
field.CXIdxLoc
hashLoc()
Returns aCXIdxLoc
view of thehashLoc
field.boolean
isAngled()
Returns the value of theisAngled
field.boolean
isImport()
Returns the value of theisImport
field.boolean
isModuleImport()
Returns the value of theisModuleImport
field.static long
nfile(long struct)
Unsafe version offile()
.static java.nio.ByteBuffer
nfilename(long struct)
Unsafe version offilename()
.static java.lang.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()
-
-
-
Constructor Detail
-
CXIdxIncludedFileInfo
public CXIdxIncludedFileInfo(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
filename
public java.nio.ByteBuffer filename()
Returns aByteBuffer
view of the null-terminated string pointed to by thefilename
field.
-
filenameString
public java.lang.String filenameString()
Decodes the null-terminated string pointed to by thefilename
field.
-
file
public long file()
Returns the value of thefile
field.
-
isImport
public boolean isImport()
Returns the value of theisImport
field.
-
isAngled
public boolean isAngled()
Returns the value of theisAngled
field.
-
isModuleImport
public boolean isModuleImport()
Returns the value of theisModuleImport
field.
-
create
public static CXIdxIncludedFileInfo create(long address)
Returns a newCXIdxIncludedFileInfo
instance for the specified memory address.
-
createSafe
@Nullable public static CXIdxIncludedFileInfo createSafe(long address)
-
create
public static CXIdxIncludedFileInfo.Buffer create(long address, int capacity)
Create aCXIdxIncludedFileInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static CXIdxIncludedFileInfo.Buffer createSafe(long address, int capacity)
-
nfilename
public static java.nio.ByteBuffer nfilename(long struct)
Unsafe version offilename()
.
-
nfilenameString
public static java.lang.String nfilenameString(long struct)
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()
.
-
-