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.StructLayout
struct CXIdxObjCProtocolRefListInfo {CXIdxObjCProtocolRefInfoconst * const * protocols; unsigned numProtocols; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxObjCProtocolRefListInfo.BufferAn array ofCXIdxObjCProtocolRefListInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNUMPROTOCOLS
PROTOCOLSThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description CXIdxObjCProtocolRefListInfo(java.nio.ByteBuffer container)Creates aCXIdxObjCProtocolRefListInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CXIdxObjCProtocolRefListInfocreate(long address)Returns a newCXIdxObjCProtocolRefListInfoinstance for the specified memory address.static CXIdxObjCProtocolRefListInfo.Buffercreate(long address, int capacity)Create aCXIdxObjCProtocolRefListInfo.Bufferinstance at the specified memory.static CXIdxObjCProtocolRefListInfocreateSafe(long address)static CXIdxObjCProtocolRefListInfo.BuffercreateSafe(long address, int capacity)static intnnumProtocols(long struct)Unsafe version ofnumProtocols().static org.lwjgl.PointerBuffernprotocols(long struct)Unsafe version ofprotocols.intnumProtocols()org.lwjgl.PointerBufferprotocols()intsizeof()
-
-
-
Constructor Detail
-
CXIdxObjCProtocolRefListInfo
public CXIdxObjCProtocolRefListInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCProtocolRefListInfoinstance 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
-
protocols
public org.lwjgl.PointerBuffer protocols()
- Returns:
- a
PointerBufferview of the data pointed to by theprotocolsfield.
-
numProtocols
public int numProtocols()
- Returns:
- the value of the
numProtocolsfield.
-
create
public static CXIdxObjCProtocolRefListInfo create(long address)
Returns a newCXIdxObjCProtocolRefListInfoinstance 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.Bufferinstance 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().
-
-