Package org.lwjgl.llvm
Class CXIdxCXXClassDeclInfo
- All Implemented Interfaces:
Pointer
struct CXIdxCXXClassDeclInfo {
CXIdxDeclInfo const * declInfo;
CXIdxBaseClassInfo const * const * bases;
unsigned numBases;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCXIdxCXXClassDeclInfo(ByteBuffer container) Creates aCXIdxCXXClassDeclInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbases()static CXIdxCXXClassDeclInfocreate(long address) Returns a newCXIdxCXXClassDeclInfoinstance for the specified memory address.static CXIdxCXXClassDeclInfo.Buffercreate(long address, int capacity) Create aCXIdxCXXClassDeclInfo.Bufferinstance at the specified memory.static @Nullable CXIdxCXXClassDeclInfocreateSafe(long address) static @Nullable CXIdxCXXClassDeclInfo.BuffercreateSafe(long address, int capacity) declInfo()static PointerBuffernbases(long struct) Unsafe version ofbases.static CXIdxDeclInfondeclInfo(long struct) Unsafe version ofdeclInfo().static intnnumBases(long struct) Unsafe version ofnumBases().intnumBases()intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DECLINFO
public static final int DECLINFOThe struct member offsets. -
BASES
public static final int BASESThe struct member offsets. -
NUMBASES
public static final int NUMBASESThe struct member offsets.
-
-
Constructor Details
-
CXIdxCXXClassDeclInfo
Creates aCXIdxCXXClassDeclInfoinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<CXIdxCXXClassDeclInfo>
-
declInfo
- Returns:
- a
CXIdxDeclInfoview of the struct pointed to by thedeclInfofield.
-
bases
- Returns:
- a
PointerBufferview of the data pointed to by thebasesfield.
-
numBases
public int numBases()- Returns:
- the value of the
numBasesfield.
-
create
Returns a newCXIdxCXXClassDeclInfoinstance for the specified memory address. -
createSafe
-
create
Create aCXIdxCXXClassDeclInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ndeclInfo
Unsafe version ofdeclInfo(). -
nbases
Unsafe version ofbases. -
nnumBases
public static int nnumBases(long struct) Unsafe version ofnumBases().
-