Package org.lwjgl.llvm
Class CXStringSet
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXStringSet
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXStringSet extends org.lwjgl.system.StructLayout
struct CXStringSet {CXString* Strings; unsigned Count; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXStringSet.BufferAn array ofCXStringSetstructs.
-
Constructor Summary
Constructors Constructor Description CXStringSet(java.nio.ByteBuffer container)Creates aCXStringSetinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intCount()static CXStringSetcreate(long address)Returns a newCXStringSetinstance for the specified memory address.static CXStringSet.Buffercreate(long address, int capacity)Create aCXStringSet.Bufferinstance at the specified memory.static CXStringSetcreateSafe(long address)static CXStringSet.BuffercreateSafe(long address, int capacity)static intnCount(long struct)Unsafe version ofCount().static CXString.BuffernStrings(long struct)Unsafe version ofStrings().intsizeof()CXString.BufferStrings()
-
-
-
Constructor Detail
-
CXStringSet
public CXStringSet(java.nio.ByteBuffer container)
Creates aCXStringSetinstance 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
-
Strings
public CXString.Buffer Strings()
- Returns:
- a
CXString.Bufferview of the struct array pointed to by theStringsfield.
-
Count
public int Count()
- Returns:
- the value of the
Countfield.
-
create
public static CXStringSet create(long address)
Returns a newCXStringSetinstance for the specified memory address.
-
createSafe
@Nullable public static CXStringSet createSafe(long address)
-
create
public static CXStringSet.Buffer create(long address, int capacity)
Create aCXStringSet.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CXStringSet.Buffer createSafe(long address, int capacity)
-
nStrings
public static CXString.Buffer nStrings(long struct)
Unsafe version ofStrings().
-
nCount
public static int nCount(long struct)
Unsafe version ofCount().
-
-