Package org.lwjgl.llvm
Class CXSourceRangeList
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXSourceRangeList
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXSourceRangeList extends org.lwjgl.system.Struct
Identifies an array of ranges.Member documentation
count
– the number of ranges in theranges
arrayranges
– an array ofCXSourceRange
s.
Layout
struct CXSourceRangeList { unsigned count;
CXSourceRange
* ranges; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CXSourceRangeList.Buffer
An array ofCXSourceRangeList
structs.
-
Constructor Summary
Constructors Constructor Description CXSourceRangeList(java.nio.ByteBuffer container)
Creates aCXSourceRangeList
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
Returns the value of thecount
field.static CXSourceRangeList
create(long address)
Returns a newCXSourceRangeList
instance for the specified memory address.static CXSourceRangeList.Buffer
create(long address, int capacity)
Create aCXSourceRangeList.Buffer
instance at the specified memory.static CXSourceRangeList
createSafe(long address)
static CXSourceRangeList.Buffer
createSafe(long address, int capacity)
static int
ncount(long struct)
Unsafe version ofcount()
.static CXSourceRange.Buffer
nranges(long struct)
Unsafe version ofranges()
.CXSourceRange.Buffer
ranges()
Returns aCXSourceRange.Buffer
view of the struct array pointed to by theranges
field.int
sizeof()
-
-
-
Constructor Detail
-
CXSourceRangeList
public CXSourceRangeList(java.nio.ByteBuffer container)
Creates aCXSourceRangeList
instance at the current position of the specifiedByteBuffer
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
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
count
public int count()
Returns the value of thecount
field.
-
ranges
public CXSourceRange.Buffer ranges()
Returns aCXSourceRange.Buffer
view of the struct array pointed to by theranges
field.
-
create
public static CXSourceRangeList create(long address)
Returns a newCXSourceRangeList
instance for the specified memory address.
-
createSafe
@Nullable public static CXSourceRangeList createSafe(long address)
-
create
public static CXSourceRangeList.Buffer create(long address, int capacity)
Create aCXSourceRangeList.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static CXSourceRangeList.Buffer createSafe(long address, int capacity)
-
ncount
public static int ncount(long struct)
Unsafe version ofcount()
.
-
nranges
public static CXSourceRange.Buffer nranges(long struct)
Unsafe version ofranges()
.
-
-