Top Description Inners Fields Constructors Methods
org.lwjgl.llvm

public Class CXIdxIncludedFileInfo

extends Struct<CXIdxIncludedFileInfo>
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Data for ppIncludedFile callback.

Layout


struct CXIdxIncludedFileInfo {
    CXIdxLoc hashLoc;
    char const * filename;
    CXFile file;
    int isImport;
    int isAngled;
    int isModuleImport;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FILE

The struct member offsets.

public static final int
FILENAME

The struct member offsets.

public static final int
HASHLOC

The struct member offsets.

public static final int
ISANGLED

The struct member offsets.

public static final int
ISIMPORT

The struct member offsets.

public static final int
ISMODULEIMPORT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
CXIdxIncludedFileInfo(long address, ByteBuffer container)

public
CXIdxIncludedFileInfo(ByteBuffer container)

Creates a CXIdxIncludedFileInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
protected CXIdxIncludedFileInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static CXIdxIncludedFileInfo
create(long address)

Returns a new CXIdxIncludedFileInfo instance for the specified memory address.

public static CXIdxIncludedFileInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a CXIdxIncludedFileInfo.Buffer instance at the specified memory.

public static CXIdxIncludedFileInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static CXIdxIncludedFileInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long
file()

the actual file that the #include/#import directive resolved to

public ByteBuffer
filename()

filename as written in the #include/#import directive

public String
filenameString()

filename as written in the #include/#import directive

public CXIdxLoc
hashLoc()

location of '\#' in the #include/#import directive

public boolean

Returns:

the value of the isAngled field.
isAngled
()

public boolean

Returns:

the value of the isImport field.
isImport
()

public boolean
isModuleImport()

non-zero if the directive was automatically turned into a module import

public static long
nfile(long struct)

Unsafe version of file.

public static ByteBuffer
nfilename(long struct)

Unsafe version of filename.

public static String
nfilenameString(long struct)

Unsafe version of filenameString.

public static CXIdxLoc
nhashLoc(long struct)

Unsafe version of hashLoc.

public static int
nisAngled(long struct)

Unsafe version of isAngled.

public static int
nisImport(long struct)

Unsafe version of isImport.

public static int
nisModuleImport(long struct)

Unsafe version of isModuleImport.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

FILEback to summary
public static final int FILE

The struct member offsets.

FILENAMEback to summary
public static final int FILENAME

The struct member offsets.

HASHLOCback to summary
public static final int HASHLOC

The struct member offsets.

ISANGLEDback to summary
public static final int ISANGLED

The struct member offsets.

ISIMPORTback to summary
public static final int ISIMPORT

The struct member offsets.

ISMODULEIMPORTback to summary
public static final int ISMODULEIMPORT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

CXIdxIncludedFileInfoback to summary
protected CXIdxIncludedFileInfo(long address, ByteBuffer container)
CXIdxIncludedFileInfoback to summary
public CXIdxIncludedFileInfo(ByteBuffer container)

Creates a CXIdxIncludedFileInfo 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.

Method Detail

createback to summary
protected CXIdxIncludedFileInfo create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static CXIdxIncludedFileInfo create(long address)

Returns a new CXIdxIncludedFileInfo instance for the specified memory address.

createback to summary
public static CXIdxIncludedFileInfo.Buffer create(long address, int capacity)

Create a CXIdxIncludedFileInfo.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static CXIdxIncludedFileInfo createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static CXIdxIncludedFileInfo.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
fileback to summary
public long file()

the actual file that the #include/#import directive resolved to

Annotations
@NativeType:CXFile
filenameback to summary
public ByteBuffer filename()

filename as written in the #include/#import directive

Annotations
@NativeType:char const *
filenameStringback to summary
public String filenameString()

filename as written in the #include/#import directive

Annotations
@NativeType:char const *
hashLocback to summary
public CXIdxLoc hashLoc()

location of '\#' in the #include/#import directive

isAngledback to summary
public boolean isAngled()
Returns:boolean

the value of the isAngled field.

Annotations
@NativeType:int
isImportback to summary
public boolean isImport()
Returns:boolean

the value of the isImport field.

Annotations
@NativeType:int
isModuleImportback to summary
public boolean isModuleImport()

non-zero if the directive was automatically turned into a module import

Annotations
@NativeType:int
nfileback to summary
public static long nfile(long struct)

Unsafe version of file.

nfilenameback to summary
public static ByteBuffer nfilename(long struct)

Unsafe version of filename.

nfilenameStringback to summary
public static String nfilenameString(long struct)

Unsafe version of filenameString.

nhashLocback to summary
public static CXIdxLoc nhashLoc(long struct)

Unsafe version of hashLoc.

nisAngledback to summary
public static int nisAngled(long struct)

Unsafe version of isAngled.

nisImportback to summary
public static int nisImport(long struct)

Unsafe version of isImport.

nisModuleImportback to summary
public static int nisModuleImport(long struct)

Unsafe version of isModuleImport.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.llvm back to summary

public Class CXIdxIncludedFileInfo.Buffer

extends StructBuffer<CXIdxIncludedFileInfo, CXIdxIncludedFileInfo.Buffer>
Class Inheritance

An array of CXIdxIncludedFileInfo structs.

Field Summary

Modifier and TypeField and Description
private static final CXIdxIncludedFileInfo

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new CXIdxIncludedFileInfo.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the CXIdxIncludedFileInfo#file field.
file
()

public ByteBuffer

Returns:

a ByteBuffer view of the null-terminated string pointed to by the CXIdxIncludedFileInfo#filename field.
filename
()

public String

Returns:

the null-terminated string pointed to by the CXIdxIncludedFileInfo#filename field.
filenameString
()

protected CXIdxIncludedFileInfo
public CXIdxLoc

Returns:

a CXIdxLoc view of the CXIdxIncludedFileInfo#hashLoc field.
hashLoc
()

public boolean

Returns:

the value of the isAngled field.
isAngled
()

public boolean

Returns:

the value of the isImport field.
isImport
()

public boolean

Returns:

the value of the CXIdxIncludedFileInfo#isModuleImport field.
isModuleImport
()

protected CXIdxIncludedFileInfo.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final CXIdxIncludedFileInfo ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new CXIdxIncludedFileInfo.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by CXIdxIncludedFileInfo#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

fileback to summary
public long file()
Returns:long

the value of the CXIdxIncludedFileInfo#file field.

Annotations
@NativeType:CXFile
filenameback to summary
public ByteBuffer filename()
Returns:ByteBuffer

a ByteBuffer view of the null-terminated string pointed to by the CXIdxIncludedFileInfo#filename field.

Annotations
@NativeType:char const *
filenameStringback to summary
public String filenameString()
Returns:String

the null-terminated string pointed to by the CXIdxIncludedFileInfo#filename field.

Annotations
@NativeType:char const *
getElementFactoryback to summary
protected CXIdxIncludedFileInfo getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
hashLocback to summary
public CXIdxLoc hashLoc()
Returns:CXIdxLoc

a CXIdxLoc view of the CXIdxIncludedFileInfo#hashLoc field.

isAngledback to summary
public boolean isAngled()
Returns:boolean

the value of the isAngled field.

Annotations
@NativeType:int
isImportback to summary
public boolean isImport()
Returns:boolean

the value of the isImport field.

Annotations
@NativeType:int
isModuleImportback to summary
public boolean isModuleImport()
Returns:boolean

the value of the CXIdxIncludedFileInfo#isModuleImport field.

Annotations
@NativeType:int
selfback to summary
protected CXIdxIncludedFileInfo.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override