Package org.lwjgl.llvm
Class CXStringSet
- All Implemented Interfaces:
Pointer
struct CXStringSet {
CXString * Strings;
unsigned Count;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCXStringSet(ByteBuffer container) Creates aCXStringSetinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintCount()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 @Nullable CXStringSetcreateSafe(long address) static @Nullable CXStringSet.BuffercreateSafe(long address, int capacity) static intnCount(long struct) Unsafe version ofCount().static CXString.BuffernStrings(long struct) Unsafe version ofStrings().intsizeof()Returnssizeof(struct).Strings()Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STRINGS
public static final int STRINGSThe struct member offsets. -
COUNT
public static final int COUNTThe struct member offsets.
-
-
Constructor Details
-
CXStringSet
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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<CXStringSet>
-
Strings
- Returns:
- a
CXString.Bufferview of the struct array pointed to by theStringsfield.
-
Count
public int Count()- Returns:
- the value of the
Countfield.
-
create
Returns a newCXStringSetinstance for the specified memory address. -
createSafe
-
create
Create aCXStringSet.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
nStrings
Unsafe version ofStrings(). -
nCount
public static int nCount(long struct) Unsafe version ofCount().
-