HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::sphinx::reduce_task::SphinxResultAscSorter Class Reference

#include <SphinxResultAscSorter.hpp>

Inheritance diagram for HCE::sphinx::reduce_task::SphinxResultAscSorter:
Collaboration diagram for HCE::sphinx::reduce_task::SphinxResultAscSorter:

Public Member Functions

 SphinxResultAscSorter ()
virtual ~SphinxResultAscSorter ()
bool operator() (std::pair< std::string, unsigned long long > first, std::pair< std::string, unsigned long long > second) const
virtual void sort (std::vector< std::pair< std::string, unsigned long long > > &allWeightDocIds)
- Public Member Functions inherited from HCE::sphinx::reduce_task::SphinxResultNullSorter
 SphinxResultNullSorter ()
virtual ~SphinxResultNullSorter ()
void sortByWeight (std::vector< std::pair< std::string, unsigned long long > > &weightDocIds)
- Public Member Functions inherited from HCE::sphinx::reduce_task::SphinxResultSorterIf
virtual ~SphinxResultSorterIf ()

Detailed Description

Definition at line 26 of file SphinxResultAscSorter.hpp.

Constructor & Destructor Documentation

HCE::sphinx::reduce_task::SphinxResultAscSorter::SphinxResultAscSorter ( )

Definition at line 12 of file SphinxResultAscSorter.cpp.

HCE::sphinx::reduce_task::SphinxResultAscSorter::~SphinxResultAscSorter ( )
virtual

Definition at line 15 of file SphinxResultAscSorter.cpp.

Member Function Documentation

bool HCE::sphinx::reduce_task::SphinxResultAscSorter::operator() ( std::pair< std::string, unsigned long long >  first,
std::pair< std::string, unsigned long long >  second 
) const

Definition at line 18 of file SphinxResultAscSorter.cpp.

void HCE::sphinx::reduce_task::SphinxResultAscSorter::sort ( std::vector< std::pair< std::string, unsigned long long > > &  allWeightDocIds)
virtual

Reimplemented from HCE::sphinx::reduce_task::SphinxResultNullSorter.

Definition at line 25 of file SphinxResultAscSorter.cpp.


The documentation for this class was generated from the following files: