ad_map_access
MapMatchedObjectReferencePositionList.hpp
Go to the documentation of this file.
1 /*
2  * ----------------- BEGIN LICENSE BLOCK ---------------------------------
3  *
4  * Copyright (C) 2018-2020 Intel Corporation
5  *
6  * SPDX-License-Identifier: MIT
7  *
8  * ----------------- END LICENSE BLOCK -----------------------------------
9  */
10 
18 #pragma once
19 
20 #include <iostream>
21 #include <sstream>
22 #include <vector>
27 namespace ad {
31 namespace map {
37 namespace match {
38 
44 typedef std::vector<::ad::map::match::MapMatchedPositionConfidenceList> MapMatchedObjectReferencePositionList;
45 
46 } // namespace match
47 } // namespace map
48 } // namespace ad
49 
53 #ifndef GEN_GUARD_VECTOR_VECTOR_AD_MAP_MATCH_MAPMATCHEDPOSITION
54 #define GEN_GUARD_VECTOR_VECTOR_AD_MAP_MATCH_MAPMATCHEDPOSITION
55 namespace std {
65 inline std::ostream &operator<<(std::ostream &os,
66  vector<::ad::map::match::MapMatchedPositionConfidenceList> const &_value)
67 {
68  os << "[";
69  for (auto it = _value.begin(); it != _value.end(); it++)
70  {
71  if (it != _value.begin())
72  {
73  os << ",";
74  }
75  os << *it;
76  }
77  os << "]";
78  return os;
79 }
80 } // namespace std
81 
82 namespace std {
87 {
88  stringstream sstream;
89  sstream << value;
90  return sstream.str();
91 }
92 } // namespace std
93 #endif // GEN_GUARD_VECTOR_VECTOR_AD_MAP_MATCH_MAPMATCHEDPOSITION
ad
namespace ad
Definition: GeometryStoreItem.hpp:28
ad::map::match::MapMatchedObjectReferencePositionList
std::vector<::ad::map::match::MapMatchedPositionConfidenceList > MapMatchedObjectReferencePositionList
DataType MapMatchedObjectReferencePositionList.
Definition: MapMatchedObjectReferencePositionList.hpp:44
std::to_string
std::string to_string(::ad::map::access::GeometryStoreItem const &value)
overload of the std::to_string for GeometryStoreItem
Definition: GeometryStoreItem.hpp:183
MapMatchedPositionConfidenceList.hpp