Package org.lwjgl.llvm
Class CXIdxObjCContainerDeclInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxObjCContainerDeclInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXIdxObjCContainerDeclInfo extends org.lwjgl.system.Struct
Layout
struct CXIdxObjCContainerDeclInfo {
CXIdxDeclInfo
const * declInfo; CXIdxObjCContainerKind kind; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CXIdxObjCContainerDeclInfo.Buffer
An array ofCXIdxObjCContainerDeclInfo
structs.
-
Constructor Summary
Constructors Constructor Description CXIdxObjCContainerDeclInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCContainerDeclInfo
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 CXIdxObjCContainerDeclInfo
create(long address)
Returns a newCXIdxObjCContainerDeclInfo
instance for the specified memory address.static CXIdxObjCContainerDeclInfo.Buffer
create(long address, int capacity)
Create aCXIdxObjCContainerDeclInfo.Buffer
instance at the specified memory.static CXIdxObjCContainerDeclInfo
createSafe(long address)
static CXIdxObjCContainerDeclInfo.Buffer
createSafe(long address, int capacity)
CXIdxDeclInfo
declInfo()
Returns aCXIdxDeclInfo
view of the struct pointed to by thedeclInfo
field.int
kind()
Returns the value of thekind
field.static CXIdxDeclInfo
ndeclInfo(long struct)
Unsafe version ofdeclInfo()
.static int
nkind(long struct)
Unsafe version ofkind()
.int
sizeof()
-
-
-
Constructor Detail
-
CXIdxObjCContainerDeclInfo
public CXIdxObjCContainerDeclInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCContainerDeclInfo
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
-
declInfo
public CXIdxDeclInfo declInfo()
Returns aCXIdxDeclInfo
view of the struct pointed to by thedeclInfo
field.
-
kind
public int kind()
Returns the value of thekind
field.
-
create
public static CXIdxObjCContainerDeclInfo create(long address)
Returns a newCXIdxObjCContainerDeclInfo
instance for the specified memory address.
-
createSafe
@Nullable public static CXIdxObjCContainerDeclInfo createSafe(long address)
-
create
public static CXIdxObjCContainerDeclInfo.Buffer create(long address, int capacity)
Create aCXIdxObjCContainerDeclInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static CXIdxObjCContainerDeclInfo.Buffer createSafe(long address, int capacity)
-
ndeclInfo
public static CXIdxDeclInfo ndeclInfo(long struct)
Unsafe version ofdeclInfo()
.
-
nkind
public static int nkind(long struct)
Unsafe version ofkind()
.
-
-