Package org.lwjgl.llvm
Class CXIdxImportedASTFileInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxImportedASTFileInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXIdxImportedASTFileInfo extends org.lwjgl.system.StructData for IndexerCallbacks#importedASTFile.Layout
struct CXIdxImportedASTFileInfo { CXFilefile(); CXModulemodule();CXIdxLocloc(); intisImplicit(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxImportedASTFileInfo.BufferAn array ofCXIdxImportedASTFileInfostructs.
-
Constructor Summary
Constructors Constructor Description CXIdxImportedASTFileInfo(java.nio.ByteBuffer container)Creates aCXIdxImportedASTFileInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CXIdxImportedASTFileInfocreate(long address)Returns a newCXIdxImportedASTFileInfoinstance for the specified memory address.static CXIdxImportedASTFileInfo.Buffercreate(long address, int capacity)Create aCXIdxImportedASTFileInfo.Bufferinstance at the specified memory.static CXIdxImportedASTFileInfocreateSafe(long address)static CXIdxImportedASTFileInfo.BuffercreateSafe(long address, int capacity)longfile()top level AST file containing the imported PCH, module or submodulebooleanisImplicit()non-zero if an inclusion directive was automatically turned into a module import.CXIdxLocloc()location where the file is imported.longmodule()the imported module orNULLif the AST file is a PCHstatic longnfile(long struct)Unsafe version offile().static intnisImplicit(long struct)Unsafe version ofisImplicit().static CXIdxLocnloc(long struct)Unsafe version ofloc().static longnmodule(long struct)Unsafe version ofmodule().intsizeof()
-
-
-
Constructor Detail
-
CXIdxImportedASTFileInfo
public CXIdxImportedASTFileInfo(java.nio.ByteBuffer container)
Creates aCXIdxImportedASTFileInfoinstance 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
-
file
public long file()
top level AST file containing the imported PCH, module or submodule
-
module
public long module()
the imported module orNULLif the AST file is a PCH
-
loc
public CXIdxLoc loc()
location where the file is imported. Applicable only for modules
-
isImplicit
public boolean isImplicit()
non-zero if an inclusion directive was automatically turned into a module import. Applicable only for modules
-
create
public static CXIdxImportedASTFileInfo create(long address)
Returns a newCXIdxImportedASTFileInfoinstance for the specified memory address.
-
createSafe
@Nullable public static CXIdxImportedASTFileInfo createSafe(long address)
-
create
public static CXIdxImportedASTFileInfo.Buffer create(long address, int capacity)
Create aCXIdxImportedASTFileInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CXIdxImportedASTFileInfo.Buffer createSafe(long address, int capacity)
-
nfile
public static long nfile(long struct)
Unsafe version offile().
-
nmodule
public static long nmodule(long struct)
Unsafe version ofmodule().
-
nisImplicit
public static int nisImplicit(long struct)
Unsafe version ofisImplicit().
-
-