Class CXIdxDeclInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class CXIdxDeclInfo extends Struct<CXIdxDeclInfo> implements NativeResource

 struct CXIdxDeclInfo {
     {@link CXIdxEntityInfo CXIdxEntityInfo} const * entityInfo;
     {@link CXCursor CXCursor} cursor;
     {@link CXIdxLoc CXIdxLoc} loc;
     {@link CXIdxContainerInfo CXIdxContainerInfo} const * semanticContainer;
     {@link CXIdxContainerInfo CXIdxContainerInfo} const * lexicalContainer;
     int isRedeclaration;
     int isDefinition;
     int isContainer;
     {@link CXIdxContainerInfo CXIdxContainerInfo} const * declAsContainer;
     int isImplicit;
     {@link CXIdxAttrInfo CXIdxAttrInfo} const * const * attributes;
     unsigned numAttributes;
     unsigned flags;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • ENTITYINFO

      public static final int ENTITYINFO
      The struct member offsets.
    • CURSOR

      public static final int CURSOR
      The struct member offsets.
    • LOC

      public static final int LOC
      The struct member offsets.
    • SEMANTICCONTAINER

      public static final int SEMANTICCONTAINER
      The struct member offsets.
    • LEXICALCONTAINER

      public static final int LEXICALCONTAINER
      The struct member offsets.
    • ISREDECLARATION

      public static final int ISREDECLARATION
      The struct member offsets.
    • ISDEFINITION

      public static final int ISDEFINITION
      The struct member offsets.
    • ISCONTAINER

      public static final int ISCONTAINER
      The struct member offsets.
    • DECLASCONTAINER

      public static final int DECLASCONTAINER
      The struct member offsets.
    • ISIMPLICIT

      public static final int ISIMPLICIT
      The struct member offsets.
    • ATTRIBUTES

      public static final int ATTRIBUTES
      The struct member offsets.
    • NUMATTRIBUTES

      public static final int NUMATTRIBUTES
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
  • Constructor Details

    • CXIdxDeclInfo

      public CXIdxDeclInfo(ByteBuffer container)
      Creates a CXIdxDeclInfo 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 Details