Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pre_ranking_info.cpp « search - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8de435ac551f9d2dc8609dcb70153791b6b9d20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "search/ranking_info.hpp"

#include "std/sstream.hpp"

namespace search
{
string DebugPrint(PreRankingInfo const & info)
{
  ostringstream os;
  os << "PreRankingInfo [";
  os << "m_distanceToPivot:" << info.m_distanceToPivot << ",";
  os << "m_startToken:" << info.m_startToken << ",";
  os << "m_endToken:" << info.m_endToken << ",";
  os << "m_rank:" << info.m_rank << ",";
  os << "m_searchType:" << info.m_searchType;
  os << "]";
  return os.str();
}

}  // namespace search