public class CXIdxImportedASTFileInfo
extends org.lwjgl.system.Struct
file – top level AST file containing the imported PCH, module or submodulemodule – the imported module or NULL if the AST file is a PCHloc – location where the file is imported. Applicable only for modulesisImplicit – non-zero if an inclusion directive was automatically turned into a module import. Applicable only for modules
struct CXIdxImportedASTFileInfo {
CXFile file;
CXModule module;
CXIdxLoc loc;
int isImplicit;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CXIdxImportedASTFileInfo.Buffer
An array of
CXIdxImportedASTFileInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FILE
The struct member offsets.
|
static int |
ISIMPLICIT
The struct member offsets.
|
static int |
LOC
The struct member offsets.
|
static int |
MODULE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
CXIdxImportedASTFileInfo(java.nio.ByteBuffer container)
Creates a
CXIdxImportedASTFileInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static CXIdxImportedASTFileInfo |
create(long address)
Returns a new
CXIdxImportedASTFileInfo instance for the specified memory address. |
static CXIdxImportedASTFileInfo.Buffer |
create(long address,
int capacity)
Create a
CXIdxImportedASTFileInfo.Buffer instance at the specified memory. |
static CXIdxImportedASTFileInfo |
createSafe(long address)
|
static CXIdxImportedASTFileInfo.Buffer |
createSafe(long address,
int capacity)
|
long |
file()
Returns the value of the
file field. |
boolean |
isImplicit()
Returns the value of the
isImplicit field. |
CXIdxLoc |
loc()
Returns a
CXIdxLoc view of the loc field. |
long |
module()
Returns the value of the
module field. |
static long |
nfile(long struct)
Unsafe version of
file(). |
static int |
nisImplicit(long struct)
Unsafe version of
isImplicit(). |
static CXIdxLoc |
nloc(long struct)
Unsafe version of
loc(). |
static long |
nmodule(long struct)
Unsafe version of
module(). |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int FILE
public static final int MODULE
public static final int LOC
public static final int ISIMPLICIT
public CXIdxImportedASTFileInfo(java.nio.ByteBuffer container)
CXIdxImportedASTFileInfo instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic long file()
file field.public long module()
module field.public boolean isImplicit()
isImplicit field.public static CXIdxImportedASTFileInfo create(long address)
CXIdxImportedASTFileInfo instance for the specified memory address.@Nullable public static CXIdxImportedASTFileInfo createSafe(long address)
public static CXIdxImportedASTFileInfo.Buffer create(long address, int capacity)
CXIdxImportedASTFileInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CXIdxImportedASTFileInfo.Buffer createSafe(long address, int capacity)
public static long nfile(long struct)
file().public static long nmodule(long struct)
module().public static int nisImplicit(long struct)
isImplicit().Copyright LWJGL. All Rights Reserved. License terms.