ad_rss
generated
include
ad
rss
world
ObjectIdVector.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/ObjectId.hpp
"
27
namespace
ad
{
31
namespace
rss {
35
namespace
world {
36
42
typedef
std::vector<::ad::rss::world::ObjectId>
ObjectIdVector
;
43
44
}
// namespace world
45
}
// namespace rss
46
}
// namespace ad
47
51
#ifndef GEN_GUARD_VECTOR_UINT64_T
52
#define GEN_GUARD_VECTOR_UINT64_T
53
namespace
std {
63
inline
std::ostream &operator<<(std::ostream &os, vector<::ad::rss::world::ObjectId>
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::world::ObjectIdVector
const
&value)
84
{
85
stringstream sstream;
86
sstream << value;
87
return
sstream.str();
88
}
89
}
// namespace std
90
#endif // GEN_GUARD_VECTOR_UINT64_T
ad
namespace ad
Definition:
LateralRelativePosition.hpp:26
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::world::ObjectIdVector
std::vector<::ad::rss::world::ObjectId > ObjectIdVector
DataType ObjectIdVector.
Definition:
ObjectIdVector.hpp:42
ObjectId.hpp
Generated by
1.8.17