HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxReduceResult.hpp
Go to the documentation of this file.
1
15
#ifndef SPHINXREDUCERESULT_HPP_
16
#define SPHINXREDUCERESULT_HPP_
17
18
#include "
ReduceTaskCore.hpp
"
19
#include <vector>
20
21
namespace
HCE{
22
namespace
sphinx{
23
namespace
reduce_task
24
{
25
26
class
SphinxReduceResult
:
public
HCE::reduce::core::ReduceResultIf
{
27
public
:
28
SphinxReduceResult
();
29
~SphinxReduceResult
();
30
31
bool
hasNext
();
32
void
reset
();
33
void
getNext
(std::string &key, std::string &value);
34
void
addKeyValue
(
const
std::string &key,
const
std::string &value);
35
36
private
:
37
std::vector<std::pair<std::string, std::string> > _result;
38
std::vector<std::pair<std::string, std::string> >::iterator _resultIterator;
39
};
40
41
}
42
}
43
}
44
45
#endif
sources
reduceSphinx
src
SphinxReduceResult.hpp
Generated on Mon Jan 13 2014 13:08:38 for HCE project C++ developers source code library by
1.8.1.2