// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_HUNSPELL_GOOGLE_BDICT_READER_H_ #define THIRD_PARTY_HUNSPELL_GOOGLE_BDICT_READER_H_ #include <stddef.h> #include <string> #include <vector> #include "base/containers/span.h" #include "third_party/hunspell/google/bdict.h" namespace hunspell { class BDictReader; class NodeReader; // Iterators ------------------------------------------------------------------- // Iterates through all words in the dictionary. It will fill the word into // a caller-specified buffer. class WordIterator { … }; // Will iterate over a list of lines separated by NULLs. class LineIterator { … }; // Created by GetReplacementIterator to iterate over all replacement pairs. class ReplacementIterator : public LineIterator { … }; // Reads a BDict file mapped into memory. class BDictReader { … }; } // namespace hunspell #endif // THIRD_PARTY_HUNSPELL_GOOGLE_BDICT_READER_H_