ResultsIteratorImpl.hpp
834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* File: ResultsIteratorImpl.hpp
* Author: mlenart
*
* Created on 26 czerwiec 2014, 14:37
*/
#ifndef RESULTSITERATORIMPL_HPP
#define RESULTSITERATORIMPL_HPP
#include <string>
#include "morfeusz2.h"
//#include "MorfeuszInternal.hpp"
#include "charset/TextReader.hpp"
namespace morfeusz {
class MorfeuszInternal;
class ResultsIteratorImpl: public ResultsIterator {
public:
ResultsIteratorImpl(const MorfeuszInternal& morfeusz, const std::string& text);
virtual ~ResultsIteratorImpl();
bool hasNext() const;
const MorphInterpretation& peek() const;
MorphInterpretation next();
private:
const MorfeuszInternal& morfeusz;
TextReader reader;
};
}
#endif /* RESULTSITERATORIMPL_HPP */