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.Struct
Layout
struct CXIdxObjCProtocolRefInfo {
CXIdxEntityInfo
const * protocol;CXCursor
cursor;CXIdxLoc
loc; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CXIdxObjCProtocolRefInfo.Buffer
An array ofCXIdxObjCProtocolRefInfo
structs.
-
Constructor Summary
Constructors Constructor Description CXIdxObjCProtocolRefInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCProtocolRefInfo
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 CXIdxObjCProtocolRefInfo
create(long address)
Returns a newCXIdxObjCProtocolRefInfo
instance for the specified memory address.static CXIdxObjCProtocolRefInfo.Buffer
create(long address, int capacity)
Create aCXIdxObjCProtocolRefInfo.Buffer
instance at the specified memory.static CXIdxObjCProtocolRefInfo
createSafe(long address)
static CXIdxObjCProtocolRefInfo.Buffer
createSafe(long address, int capacity)
CXCursor
cursor()
Returns aCXCursor
view of thecursor
field.CXIdxLoc
loc()
Returns aCXIdxLoc
view of theloc
field.static CXCursor
ncursor(long struct)
Unsafe version ofcursor()
.static CXIdxLoc
nloc(long struct)
Unsafe version ofloc()
.static CXIdxEntityInfo
nprotocol(long struct)
Unsafe version ofprotocol()
.CXIdxEntityInfo
protocol()
Returns aCXIdxEntityInfo
view of the struct pointed to by theprotocol
field.int
sizeof()
-
-
-
Constructor Detail
-
CXIdxObjCProtocolRefInfo
public CXIdxObjCProtocolRefInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCProtocolRefInfo
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
-
protocol
public CXIdxEntityInfo protocol()
Returns aCXIdxEntityInfo
view of the struct pointed to by theprotocol
field.
-
create
public static CXIdxObjCProtocolRefInfo create(long address)
Returns a newCXIdxObjCProtocolRefInfo
instance 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.Buffer
instance 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()
.
-
-