ad_rss_map_integration
generated
include
ad
rss
map
RssConstellationCreationMode.hpp
Go to the documentation of this file.
1
/*
2
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
3
*
4
* Copyright (C) 2018-2022 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 <memory>
22
#include <string>
23
#include "spdlog/fmt/ostr.h"
24
#include "spdlog/spdlog.h"
28
namespace
ad
{
32
namespace
rss {
36
namespace
map {
37
43
enum class
RssConstellationCreationMode
: int32_t
44
{
48
Ignore
= 0,
49
53
NotRelevant
= 1,
54
58
Structured
= 2,
59
63
Unstructured
= 3
64
};
65
66
}
// namespace map
67
}
// namespace rss
68
}
// namespace ad
72
std::string
toString
(::
ad::rss::map::RssConstellationCreationMode
const
e);
73
92
template
<
typename
EnumType> EnumType
fromString
(std::string
const
&str);
93
112
template <>::ad::rss::map::RssConstellationCreationMode
fromString
(std::string
const
&str);
113
117
#ifndef GEN_GUARD_AD_RSS_MAP_RSSCONSTELLATIONCREATIONMODE
118
#define GEN_GUARD_AD_RSS_MAP_RSSCONSTELLATIONCREATIONMODE
122
namespace
ad
{
126
namespace
rss {
130
namespace
map {
131
141
inline
std::ostream &
operator<<
(std::ostream &os,
RssConstellationCreationMode
const
&value)
142
{
143
return
os <<
toString
(value);
144
}
145
146
}
// namespace map
147
}
// namespace rss
148
}
// namespace ad
149
150
namespace
std {
154
inline
std::string
to_string
(::
ad::rss::map::RssConstellationCreationMode
const
&value)
155
{
156
return ::toString
(value);
157
}
158
}
// namespace std
159
163
template
<>
struct
fmt::formatter<::
ad::rss::map::RssConstellationCreationMode
> : formatter<string_view>
164
{
165
template
<
typename
FormatContext>
166
auto
format(::
ad::rss::map::RssConstellationCreationMode
const
&value, FormatContext &ctx)
167
{
168
return
formatter<string_view>::format(std::to_string(value), ctx);
169
}
170
};
171
172
#endif
// GEN_GUARD_AD_RSS_MAP_RSSCONSTELLATIONCREATIONMODE
std::to_string
std::string to_string(::ad::rss::map::RouteAccelerations const &value)
overload of the std::to_string for RouteAccelerations
Definition:
RouteAccelerations.hpp:229
fromString
EnumType fromString(std::string const &str)
Conversion from std::string to enum type T helper.
toString
std::string toString(::ad::rss::map::RssConstellationCreationMode const e)
Conversion of ad::rss::map::RssConstellationCreationMode to std::string helper.
ad::rss::map::RssConstellationCreationMode
RssConstellationCreationMode
DataType RssConstellationCreationMode.
Definition:
RssConstellationCreationMode.hpp:44
ad::rss::map::RssConstellationCreationMode::NotRelevant
@ NotRelevant
ad::rss::map::RssConstellationCreationMode::Structured
@ Structured
ad::rss::map::RssConstellationCreationMode::Unstructured
@ Unstructured
ad::rss::map::RssConstellationCreationMode::Ignore
@ Ignore
ad::rss::map::operator<<
std::ostream & operator<<(std::ostream &os, RouteAccelerations const &_value)
standard ostream operator
Definition:
RouteAccelerations.hpp:194
ad
namespace ad
Definition:
RouteAccelerations.hpp:33
Generated by
1.9.1