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
SphinxResultSorterIf.hpp
Go to the documentation of this file.
1
15
#ifndef SPHINXRESULTSORTERIF_HPP_
16
#define SPHINXRESULTSORTERIF_HPP_
17
18
#include "
SphinxResultData.hpp
"
19
#include <Poco/SharedPtr.h>
20
#include <string>
21
22
namespace
HCE
23
{
24
namespace
sphinx
25
{
26
namespace
reduce_task
27
{
28
29
const
unsigned
int
NULL_SORT
= 0;
30
const
unsigned
int
ASC_SORT
= 1;
31
const
unsigned
int
DESC_SORT
= 2;
32
33
34
class
SphinxResultSorterIf
{
35
public
:
36
virtual
~SphinxResultSorterIf
(){}
37
38
virtual
void
sortByWeight
(
39
std::vector<std::pair<std::string, unsigned long long> > &weightDocIds) = 0;
40
};
41
42
}
43
}
44
}
45
46
#endif
sources
reduceSphinx
src
SphinxResultSorterIf.hpp
Generated on Mon Jan 13 2014 13:08:38 for HCE project C++ developers source code library by
1.8.1.2