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.StructLayout
struct CXIdxObjCContainerDeclInfo {CXIdxDeclInfoconst * declInfo; CXIdxObjCContainerKind kind; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxObjCContainerDeclInfo.BufferAn array ofCXIdxObjCContainerDeclInfostructs.
-
Constructor Summary
Constructors Constructor Description CXIdxObjCContainerDeclInfo(java.nio.ByteBuffer container)Creates aCXIdxObjCContainerDeclInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CXIdxObjCContainerDeclInfocreate(long address)Returns a newCXIdxObjCContainerDeclInfoinstance for the specified memory address.static CXIdxObjCContainerDeclInfo.Buffercreate(long address, int capacity)Create aCXIdxObjCContainerDeclInfo.Bufferinstance at the specified memory.static CXIdxObjCContainerDeclInfocreateSafe(long address)static CXIdxObjCContainerDeclInfo.BuffercreateSafe(long address, int capacity)CXIdxDeclInfodeclInfo()intkind()static CXIdxDeclInfondeclInfo(long struct)Unsafe version ofdeclInfo().static intnkind(long struct)Unsafe version ofkind().intsizeof()
-
-
-
Constructor Detail
-
CXIdxObjCContainerDeclInfo
public CXIdxObjCContainerDeclInfo(java.nio.ByteBuffer container)
Creates aCXIdxObjCContainerDeclInfoinstance 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
-
declInfo
public CXIdxDeclInfo declInfo()
- Returns:
- a
CXIdxDeclInfoview of the struct pointed to by thedeclInfofield.
-
kind
public int kind()
- Returns:
- the value of the
kindfield.
-
create
public static CXIdxObjCContainerDeclInfo create(long address)
Returns a newCXIdxObjCContainerDeclInfoinstance 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.Bufferinstance 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().
-
-