ad_rss
generated
include
ad
rss
situation
SituationVector.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/situation/Situation.hpp
"
27
namespace
ad
{
31
namespace
rss {
35
namespace
situation {
36
42
typedef
std::vector<::ad::rss::situation::Situation>
SituationVector
;
43
44
}
// namespace situation
45
}
// namespace rss
46
}
// namespace ad
47
51
#ifndef GEN_GUARD_VECTOR_AD_RSS_SITUATION_SITUATION
52
#define GEN_GUARD_VECTOR_AD_RSS_SITUATION_SITUATION
53
namespace
std {
63
inline
std::ostream &operator<<(std::ostream &os, vector<::ad::rss::situation::Situation>
const
&_value)
64
{
65
os <<
"["
;
66
for
(
auto
it = _value.begin(); it != _value.end(); it++)
67
{
68
if
(it != _value.begin())
69
{
70
os <<
","
;
71
}
72
os << *it;
73
}
74
os <<
"]"
;
75
return
os;
76
}
77
}
// namespace std
78
79
namespace
std {
83
inline
std::string
to_string
(::
ad::rss::situation::SituationVector
const
&value)
84
{
85
stringstream sstream;
86
sstream << value;
87
return
sstream.str();
88
}
89
}
// namespace std
90
#endif // GEN_GUARD_VECTOR_AD_RSS_SITUATION_SITUATION
ad
namespace ad
Definition:
LateralRelativePosition.hpp:26
Situation.hpp
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
ad::rss::situation::SituationVector
std::vector<::ad::rss::situation::Situation > SituationVector
DataType SituationVector.
Definition:
SituationVector.hpp:42
Generated by
1.8.17