Package org.lwjgl.llvm
Class CXIdxObjCProtocolRefListInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxObjCProtocolRefListInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXIdxObjCProtocolRefListInfo extends org.lwjgl.system.Struct
Layout
struct CXIdxObjCProtocolRefListInfo {
CXIdxObjCProtocolRefInfo
const * const * protocols; unsigned numProtocols; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CXIdxObjCProtocolRefListInfo.Buffer
An array ofCXIdxObjCProtocolRefListInfo
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
NUMPROTOCOLS
PROTOCOLSThe struct member offsets.static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor Description CXIdxObjCProtocolRefListInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCProtocolRefListInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CXIdxObjCProtocolRefListInfo
create(long address)
Returns a newCXIdxObjCProtocolRefListInfo
instance for the specified memory address.static CXIdxObjCProtocolRefListInfo.Buffer
create(long address, int capacity)
Create aCXIdxObjCProtocolRefListInfo.Buffer
instance at the specified memory.static CXIdxObjCProtocolRefListInfo
createSafe(long address)
static CXIdxObjCProtocolRefListInfo.Buffer
createSafe(long address, int capacity)
static int
nnumProtocols(long struct)
Unsafe version ofnumProtocols()
.static org.lwjgl.PointerBuffer
nprotocols(long struct)
Unsafe version ofprotocols
.int
numProtocols()
Returns the value of thenumProtocols
field.org.lwjgl.PointerBuffer
protocols()
Returns aPointerBuffer
view of the data pointed to by theprotocols
field.int
sizeof()
-
-
-
Constructor Detail
-
CXIdxObjCProtocolRefListInfo
public CXIdxObjCProtocolRefListInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCProtocolRefListInfo
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
-
protocols
public org.lwjgl.PointerBuffer protocols()
Returns aPointerBuffer
view of the data pointed to by theprotocols
field.
-
numProtocols
public int numProtocols()
Returns the value of thenumProtocols
field.
-
create
public static CXIdxObjCProtocolRefListInfo create(long address)
Returns a newCXIdxObjCProtocolRefListInfo
instance for the specified memory address.
-
createSafe
@Nullable public static CXIdxObjCProtocolRefListInfo createSafe(long address)
-
create
public static CXIdxObjCProtocolRefListInfo.Buffer create(long address, int capacity)
Create aCXIdxObjCProtocolRefListInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static CXIdxObjCProtocolRefListInfo.Buffer createSafe(long address, int capacity)
-
nprotocols
public static org.lwjgl.PointerBuffer nprotocols(long struct)
Unsafe version ofprotocols
.
-
nnumProtocols
public static int nnumProtocols(long struct)
Unsafe version ofnumProtocols()
.
-
-