Package org.lwjgl.llvm
Class CXIdxBaseClassInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxBaseClassInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class CXIdxBaseClassInfo extends org.lwjgl.system.Struct
Layout
struct CXIdxBaseClassInfo {
CXIdxEntityInfo
const * base;CXCursor
cursor;CXIdxLoc
loc; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CXIdxBaseClassInfo.Buffer
An array ofCXIdxBaseClassInfo
structs.
-
Constructor Summary
Constructors Constructor Description CXIdxBaseClassInfo(java.nio.ByteBuffer container)
Creates aCXIdxBaseClassInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CXIdxEntityInfo
base()
Returns aCXIdxEntityInfo
view of the struct pointed to by thebase
field.static CXIdxBaseClassInfo
create(long address)
Returns a newCXIdxBaseClassInfo
instance for the specified memory address.static CXIdxBaseClassInfo.Buffer
create(long address, int capacity)
Create aCXIdxBaseClassInfo.Buffer
instance at the specified memory.static CXIdxBaseClassInfo
createSafe(long address)
static CXIdxBaseClassInfo.Buffer
createSafe(long address, int capacity)
CXCursor
cursor()
Returns aCXCursor
view of thecursor
field.CXIdxLoc
loc()
Returns aCXIdxLoc
view of theloc
field.static CXIdxEntityInfo
nbase(long struct)
Unsafe version ofbase()
.static CXCursor
ncursor(long struct)
Unsafe version ofcursor()
.static CXIdxLoc
nloc(long struct)
Unsafe version ofloc()
.int
sizeof()
-
-
-
Constructor Detail
-
CXIdxBaseClassInfo
public CXIdxBaseClassInfo(java.nio.ByteBuffer container)
Creates aCXIdxBaseClassInfo
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
-
base
public CXIdxEntityInfo base()
Returns aCXIdxEntityInfo
view of the struct pointed to by thebase
field.
-
create
public static CXIdxBaseClassInfo create(long address)
Returns a newCXIdxBaseClassInfo
instance for the specified memory address.
-
createSafe
@Nullable public static CXIdxBaseClassInfo createSafe(long address)
-
create
public static CXIdxBaseClassInfo.Buffer create(long address, int capacity)
Create aCXIdxBaseClassInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static CXIdxBaseClassInfo.Buffer createSafe(long address, int capacity)
-
nbase
public static CXIdxEntityInfo nbase(long struct)
Unsafe version ofbase()
.
-
-