public class CXSourceRangeList
extends org.lwjgl.system.Struct
count – the number of ranges in the ranges arrayranges – an array of CXSourceRanges.
struct CXSourceRangeList {
unsigned count;
CXSourceRange * ranges;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CXSourceRangeList.Buffer
An array of
CXSourceRangeList structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COUNT
The struct member offsets.
|
static int |
RANGES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
CXSourceRangeList(java.nio.ByteBuffer container)
Creates a
CXSourceRangeList instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Returns the value of the
count field. |
static CXSourceRangeList |
create(long address)
Returns a new
CXSourceRangeList instance for the specified memory address. |
static CXSourceRangeList.Buffer |
create(long address,
int capacity)
Create a
CXSourceRangeList.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 of
count(). |
static CXSourceRange.Buffer |
nranges(long struct)
Unsafe version of
ranges(). |
CXSourceRange.Buffer |
ranges()
Returns a
CXSourceRange.Buffer view of the struct array pointed to by the ranges field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int COUNT
public static final int RANGES
public CXSourceRangeList(java.nio.ByteBuffer container)
CXSourceRangeList 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 int count()
count field.public CXSourceRange.Buffer ranges()
CXSourceRange.Buffer view of the struct array pointed to by the ranges field.public static CXSourceRangeList create(long address)
CXSourceRangeList instance for the specified memory address.@Nullable public static CXSourceRangeList createSafe(long address)
public static CXSourceRangeList.Buffer create(long address, int capacity)
CXSourceRangeList.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CXSourceRangeList.Buffer createSafe(long address, int capacity)
public static int ncount(long struct)
count().public static CXSourceRange.Buffer nranges(long struct)
ranges().Copyright LWJGL. All Rights Reserved. License terms.