1 #ifndef MARISA_IOSTREAM_H_
2 #define MARISA_IOSTREAM_H_
3 
4 #include <iosfwd>
5 
6 namespace marisa {
7 
8 class Trie;
9 
10 std::istream &read(std::istream &stream, Trie *trie);
11 std::ostream &write(std::ostream &stream, const Trie &trie);
12 
13 std::istream &operator>>(std::istream &stream, Trie &trie);
14 std::ostream &operator<<(std::ostream &stream, const Trie &trie);
15 
16 }  // namespace marisa
17 
18 #endif  // MARISA_IOSTREAM_H_
19