ad_map_access
generated
include
ad
map
lane
ContactLocationList.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>
23
#include "
ad/map/lane/ContactLocation.hpp
"
27
namespace
ad
{
31
namespace
map {
37
namespace
lane {
38
44
typedef
std::vector<::ad::map::lane::ContactLocation>
ContactLocationList
;
45
46
}
// namespace lane
47
}
// namespace map
48
}
// namespace ad
49
53
#ifndef GEN_GUARD_VECTOR_AD_MAP_LANE_CONTACTLOCATION
54
#define GEN_GUARD_VECTOR_AD_MAP_LANE_CONTACTLOCATION
55
namespace
std {
65
inline
std::ostream &operator<<(std::ostream &os, vector<::ad::map::lane::ContactLocation>
const
&_value)
66
{
67
os <<
"["
;
68
for
(
auto
it = _value.begin(); it != _value.end(); it++)
69
{
70
if
(it != _value.begin())
71
{
72
os <<
","
;
73
}
74
os << *it;
75
}
76
os <<
"]"
;
77
return
os;
78
}
79
}
// namespace std
80
81
namespace
std {
85
inline
std::string
to_string
(::
ad::map::lane::ContactLocationList
const
&value)
86
{
87
stringstream sstream;
88
sstream << value;
89
return
sstream.str();
90
}
91
}
// namespace std
92
#endif // GEN_GUARD_VECTOR_AD_MAP_LANE_CONTACTLOCATION
ad
namespace ad
Definition:
GeometryStoreItem.hpp:28
ContactLocation.hpp
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
ad::map::lane::ContactLocationList
std::vector<::ad::map::lane::ContactLocation > ContactLocationList
DataType ContactLocationList.
Definition:
ContactLocationList.hpp:44
Generated by
1.8.17