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

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

#include "std/sstream.hpp"

namespace search
{
namespace v2
{
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 v2
}  // namespace search