Class IndexerCallbacks.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<IndexerCallbacks>, NativeResource, Pointer
Enclosing class:
IndexerCallbacks

public static class IndexerCallbacks.Buffer extends StructBuffer<IndexerCallbacks, IndexerCallbacks.Buffer> implements NativeResource
An array of IndexerCallbacks structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new IndexerCallbacks.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by IndexerCallbacks.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • abortQuery

      @NativeType("int (*) (CXClientData, void *)") public IndexerAbortQuery abortQuery()
      Returns:
      the value of the abortQuery field.
    • diagnostic

      @NativeType("void (*) (CXClientData, CXDiagnosticSet, void *)") public IndexerDiagnostic diagnostic()
      Returns:
      the value of the diagnostic field.
    • enteredMainFile

      @NativeType("CXIdxClientFile (*) (CXClientData, CXFile, void *)") public IndexerEnteredMainFile enteredMainFile()
      Returns:
      the value of the enteredMainFile field.
    • ppIncludedFile

      @NativeType("CXIdxClientFile (*) (CXClientData, CXIdxIncludedFileInfo const *)") public IndexerIncludedFile ppIncludedFile()
      Returns:
      the value of the ppIncludedFile field.
    • importedASTFile

      @NativeType("CXIdxClientASTFile (*) (CXClientData, CXIdxImportedASTFileInfo const *)") public IndexerImportedASTFile importedASTFile()
      Returns:
      the value of the importedASTFile field.
    • startedTranslationUnit

      @NativeType("CXIdxClientContainer (*) (CXClientData, void *)") public IndexerStartedTranslationUnit startedTranslationUnit()
      Returns:
      the value of the startedTranslationUnit field.
    • indexDeclaration

      @NativeType("void (*) (CXClientData, CXIdxDeclInfo const *)") public IndexerIndexDeclaration indexDeclaration()
      Returns:
      the value of the indexDeclaration field.
    • indexEntityReference

      @NativeType("void (*) (CXClientData, CXIdxEntityRefInfo const *)") public IndexerIndexEntityReference indexEntityReference()
      Returns:
      the value of the indexEntityReference field.