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.StructData forppIncludedFilecallback.Layout
struct CXIdxIncludedFileInfo {CXIdxLochashLoc(); char const *filename(); CXFilefile(); int isImport; int isAngled; intisModuleImport(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxIncludedFileInfo.BufferAn array ofCXIdxIncludedFileInfostructs.
-
Constructor Summary
Constructors Constructor Description CXIdxIncludedFileInfo(java.nio.ByteBuffer container)Creates aCXIdxIncludedFileInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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 CXIdxIncludedFileInfocreateSafe(long address)static CXIdxIncludedFileInfo.BuffercreateSafe(long address, int capacity)longfile()the actual file that the#include/#importdirective resolved tojava.nio.ByteBufferfilename()filename as written in the#include/#importdirectivejava.lang.StringfilenameString()filename as written in the#include/#importdirectiveCXIdxLochashLoc()location of '\#' in the#include/#importdirectivebooleanisAngled()booleanisImport()booleanisModuleImport()non-zero if the directive was automatically turned into a module importstatic longnfile(long struct)Unsafe version offile().static java.nio.ByteBuffernfilename(long struct)Unsafe version offilename().static java.lang.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()
-
-
-
Constructor Detail
-
CXIdxIncludedFileInfo
public CXIdxIncludedFileInfo(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
hashLoc
public CXIdxLoc hashLoc()
location of '\#' in the#include/#importdirective
-
filename, filenameString
public java.nio.ByteBuffer filename() public java.lang.String filenameString()
filename as written in the#include/#importdirective
-
file
public long file()
the actual file that the#include/#importdirective resolved to
-
isImport
public boolean isImport()
- Returns:
- the value of the
isImportfield.
-
isAngled
public boolean isAngled()
- Returns:
- the value of the
isAngledfield.
-
isModuleImport
public boolean isModuleImport()
non-zero if the directive was automatically turned into a module import
-
create
public static CXIdxIncludedFileInfo create(long address)
Returns a newCXIdxIncludedFileInfoinstance 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.Bufferinstance 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().
-
-