Package org.lwjgl.llvm
Class CXIndexOptions.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<CXIndexOptions.Buffer>
org.lwjgl.system.StructBuffer<CXIndexOptions,CXIndexOptions.Buffer>
org.lwjgl.llvm.CXIndexOptions.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<CXIndexOptions>
,NativeResource
,Pointer
- Enclosing class:
CXIndexOptions
public static class CXIndexOptions.Buffer
extends StructBuffer<CXIndexOptions,CXIndexOptions.Buffer>
implements NativeResource
An array of
CXIndexOptions
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newCXIndexOptions.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
DisplayDiagnostics
(boolean value) Sets the specified value to theDisplayDiagnostics
field.boolean
ExcludeDeclarationsFromPCH
(boolean value) Sets the specified value to theExcludeDeclarationsFromPCH
field.@Nullable ByteBuffer
InvocationEmissionPath
(@Nullable ByteBuffer value) Sets the address of the specified encoded string to theInvocationEmissionPath
field.@Nullable String
@Nullable ByteBuffer
PreambleStoragePath
(@Nullable ByteBuffer value) Sets the address of the specified encoded string to thePreambleStoragePath
field.@Nullable String
int
Size()
Size
(int value) Sets the specified value to theSize
field.Sets the default value to theSize
field.boolean
StorePreamblesInMemory
(boolean value) Sets the specified value to theStorePreamblesInMemory
field.byte
ThreadBackgroundPriorityForEditing
(byte value) Sets the specified value to theThreadBackgroundPriorityForEditing
field.byte
ThreadBackgroundPriorityForIndexing
(byte value) Sets the specified value to theThreadBackgroundPriorityForIndexing
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newCXIndexOptions.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
CXIndexOptions.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
Size
public int Size()- Returns:
- the value of the
Size
field.
-
ThreadBackgroundPriorityForIndexing
public byte ThreadBackgroundPriorityForIndexing()- Returns:
- the value of the
ThreadBackgroundPriorityForIndexing
field.
-
ThreadBackgroundPriorityForEditing
public byte ThreadBackgroundPriorityForEditing()- Returns:
- the value of the
ThreadBackgroundPriorityForEditing
field.
-
ExcludeDeclarationsFromPCH
public boolean ExcludeDeclarationsFromPCH()- Returns:
- the value of the
ExcludeDeclarationsFromPCH
field.
-
DisplayDiagnostics
public boolean DisplayDiagnostics()- Returns:
- the value of the
DisplayDiagnostics
field.
-
StorePreamblesInMemory
public boolean StorePreamblesInMemory()- Returns:
- the value of the
StorePreamblesInMemory
field.
-
PreambleStoragePath
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thePreambleStoragePath
field.
-
PreambleStoragePathString
- Returns:
- the null-terminated string pointed to by the
PreambleStoragePath
field.
-
InvocationEmissionPath
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by theInvocationEmissionPath
field.
-
InvocationEmissionPathString
- Returns:
- the null-terminated string pointed to by the
InvocationEmissionPath
field.
-
Size
Sets the specified value to theSize
field. -
Size$Default
Sets the default value to theSize
field. -
ThreadBackgroundPriorityForIndexing
Sets the specified value to theThreadBackgroundPriorityForIndexing
field. -
ThreadBackgroundPriorityForEditing
Sets the specified value to theThreadBackgroundPriorityForEditing
field. -
ExcludeDeclarationsFromPCH
Sets the specified value to theExcludeDeclarationsFromPCH
field. -
DisplayDiagnostics
Sets the specified value to theDisplayDiagnostics
field. -
StorePreamblesInMemory
Sets the specified value to theStorePreamblesInMemory
field. -
PreambleStoragePath
Sets the address of the specified encoded string to thePreambleStoragePath
field. -
InvocationEmissionPath
Sets the address of the specified encoded string to theInvocationEmissionPath
field.
-