ad_rss
generated
include
ad
rss
world
RoadSegment.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: LGPL-2.1-only
7
*
8
* ----------------- END LICENSE BLOCK -----------------------------------
9
*/
10
18
#pragma once
19
20
#include <iostream>
21
#include <sstream>
22
#include <vector>
23
#include "
ad/rss/world/LaneSegment.hpp
"
27
namespace
ad
{
31
namespace
rss {
35
namespace
world {
36
43
typedef
std::vector<::ad::rss::world::LaneSegment>
RoadSegment
;
44
45
}
// namespace world
46
}
// namespace rss
47
}
// namespace ad
48
52
#ifndef GEN_GUARD_VECTOR_AD_RSS_WORLD_LANESEGMENT
53
#define GEN_GUARD_VECTOR_AD_RSS_WORLD_LANESEGMENT
54
namespace
std {
64
inline
std::ostream &operator<<(std::ostream &os, vector<::ad::rss::world::LaneSegment>
const
&_value)
65
{
66
os <<
"["
;
67
for
(
auto
it = _value.begin(); it != _value.end(); it++)
68
{
69
if
(it != _value.begin())
70
{
71
os <<
","
;
72
}
73
os << *it;
74
}
75
os <<
"]"
;
76
return
os;
77
}
78
}
// namespace std
79
80
namespace
std {
84
inline
std::string
to_string
(::
ad::rss::world::RoadSegment
const
&value)
85
{
86
stringstream sstream;
87
sstream << value;
88
return
sstream.str();
89
}
90
}
// namespace std
91
#endif // GEN_GUARD_VECTOR_AD_RSS_WORLD_LANESEGMENT
ad
namespace ad
Definition:
LateralRelativePosition.hpp:26
ad::rss::world::RoadSegment
std::vector<::ad::rss::world::LaneSegment > RoadSegment
DataType RoadSegment.
Definition:
RoadSegment.hpp:43
std::to_string
std::string to_string(::ad::rss::situation::LateralRelativePosition const &value)
overload of the std::to_string for LateralRelativePosition
Definition:
LateralRelativePosition.hpp:160
LaneSegment.hpp
Generated by
1.8.17