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

      public IndexerAbortQuery abortQuery()
      Returns:
      the value of the abortQuery field.
    • diagnostic

      public IndexerDiagnostic diagnostic()
      Returns:
      the value of the diagnostic field.
    • enteredMainFile

      public IndexerEnteredMainFile enteredMainFile()
      Returns:
      the value of the enteredMainFile field.
    • ppIncludedFile

      public IndexerIncludedFile ppIncludedFile()
      Returns:
      the value of the ppIncludedFile field.
    • importedASTFile

      public IndexerImportedASTFile importedASTFile()
      Returns:
      the value of the importedASTFile field.
    • startedTranslationUnit

      public IndexerStartedTranslationUnit startedTranslationUnit()
      Returns:
      the value of the startedTranslationUnit field.
    • indexDeclaration

      public IndexerIndexDeclaration indexDeclaration()
      Returns:
      the value of the indexDeclaration field.
    • indexEntityReference

      public IndexerIndexEntityReference indexEntityReference()
      Returns:
      the value of the indexEntityReference field.