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.StructIdentifies an array of ranges.Layout
struct CXSourceRangeList { unsignedcount();CXSourceRange*ranges(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXSourceRangeList.BufferAn array ofCXSourceRangeListstructs.
-
Constructor Summary
Constructors Constructor Description CXSourceRangeList(java.nio.ByteBuffer container)Creates aCXSourceRangeListinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcount()the number of ranges in therangesarraystatic CXSourceRangeListcreate(long address)Returns a newCXSourceRangeListinstance for the specified memory address.static CXSourceRangeList.Buffercreate(long address, int capacity)Create aCXSourceRangeList.Bufferinstance at the specified memory.static CXSourceRangeListcreateSafe(long address)static CXSourceRangeList.BuffercreateSafe(long address, int capacity)static intncount(long struct)Unsafe version ofcount().static CXSourceRange.Buffernranges(long struct)Unsafe version ofranges().CXSourceRange.Bufferranges()an array ofCXSourceRanges.intsizeof()
-
-
-
Constructor Detail
-
CXSourceRangeList
public CXSourceRangeList(java.nio.ByteBuffer container)
Creates aCXSourceRangeListinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
count
public int count()
the number of ranges in therangesarray
-
ranges
public CXSourceRange.Buffer ranges()
an array ofCXSourceRanges.
-
create
public static CXSourceRangeList create(long address)
Returns a newCXSourceRangeListinstance 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.Bufferinstance 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().
-
-