Package org.lwjgl.llvm
Class CXIdxObjCProtocolRefInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxObjCProtocolRefInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXIdxObjCProtocolRefInfo extends org.lwjgl.system.StructLayout
struct CXIdxObjCProtocolRefInfo {CXIdxEntityInfoconst * protocol;CXCursorcursor;CXIdxLocloc; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxObjCProtocolRefInfo.BufferAn array ofCXIdxObjCProtocolRefInfostructs.
-
Constructor Summary
Constructors Constructor Description CXIdxObjCProtocolRefInfo(java.nio.ByteBuffer container)Creates aCXIdxObjCProtocolRefInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CXIdxObjCProtocolRefInfocreate(long address)Returns a newCXIdxObjCProtocolRefInfoinstance for the specified memory address.static CXIdxObjCProtocolRefInfo.Buffercreate(long address, int capacity)Create aCXIdxObjCProtocolRefInfo.Bufferinstance at the specified memory.static CXIdxObjCProtocolRefInfocreateSafe(long address)static CXIdxObjCProtocolRefInfo.BuffercreateSafe(long address, int capacity)CXCursorcursor()CXIdxLocloc()static CXCursorncursor(long struct)Unsafe version ofcursor().static CXIdxLocnloc(long struct)Unsafe version ofloc().static CXIdxEntityInfonprotocol(long struct)Unsafe version ofprotocol().CXIdxEntityInfoprotocol()intsizeof()
-
-
-
Constructor Detail
-
CXIdxObjCProtocolRefInfo
public CXIdxObjCProtocolRefInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCProtocolRefInfoinstance 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
-
protocol
public CXIdxEntityInfo protocol()
- Returns:
- a
CXIdxEntityInfoview of the struct pointed to by theprotocolfield.
-
create
public static CXIdxObjCProtocolRefInfo create(long address)
Returns a newCXIdxObjCProtocolRefInfoinstance for the specified memory address.
-
createSafe
@Nullable public static CXIdxObjCProtocolRefInfo createSafe(long address)
-
create
public static CXIdxObjCProtocolRefInfo.Buffer create(long address, int capacity)
Create aCXIdxObjCProtocolRefInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CXIdxObjCProtocolRefInfo.Buffer createSafe(long address, int capacity)
-
nprotocol
public static CXIdxEntityInfo nprotocol(long struct)
Unsafe version ofprotocol().
-
-