Class CXIdxCXXClassDeclInfo

  • All Implemented Interfaces:
    Pointer

    public class CXIdxCXXClassDeclInfo
    extends Struct

    Layout

    
     struct CXIdxCXXClassDeclInfo {
         CXIdxDeclInfo const * declInfo;
         CXIdxBaseClassInfo const * const * bases;
         unsigned numBases;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • DECLINFO, BASES, NUMBASES

        The struct member offsets.
    • Constructor Detail

      • CXIdxCXXClassDeclInfo

        public CXIdxCXXClassDeclInfo​(java.nio.ByteBuffer container)
        Creates a CXIdxCXXClassDeclInfo instance at the current position of the specified ByteBuffer 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()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • numBases

        public int numBases()
        Returns the value of the numBases field.
      • create

        public static CXIdxCXXClassDeclInfo create​(long address)
        Returns a new CXIdxCXXClassDeclInfo instance for the specified memory address.
      • createSafe

        @Nullable
        public static CXIdxCXXClassDeclInfo createSafe​(long address)
        Like create, but returns null if address is NULL.
      • nnumBases

        public static int nnumBases​(long struct)
        Unsafe version of numBases().