ad_rss
|
#include <iostream>
#include <memory>
#include <string>
#include "spdlog/fmt/ostr.h"
#include "spdlog/spdlog.h"
Go to the source code of this file.
Classes | |
struct | fmt::formatter<::ad::rss::world::ConstellationType > |
overload of fmt::formatter calling std::to_string More... | |
Namespaces | |
ad | |
namespace ad | |
ad::rss | |
namespace rss | |
ad::rss::world | |
namespace world | |
Macros | |
#define | GEN_GUARD_AD_RSS_WORLD_CONSTELLATIONTYPE |
protect the definition of functions from duplicates by typedef usage within other data types | |
Enumerations | |
enum class | ad::rss::world::ConstellationType : int32_t { ad::rss::world::NotRelevant = 0 , ad::rss::world::SameDirection = 1 , ad::rss::world::OppositeDirection = 2 , ad::rss::world::IntersectionEgoHasPriority = 3 , ad::rss::world::IntersectionObjectHasPriority = 4 , ad::rss::world::IntersectionSamePriority = 5 , ad::rss::world::Unstructured = 6 } |
DataType ConstellationType. More... | |
Functions | |
std::string | toString (::ad::rss::world::ConstellationType const e) |
Conversion of ad::rss::world::ConstellationType to std::string helper. | |
template<typename EnumType > | |
EnumType | fromString (std::string const &str) |
Conversion from std::string to enum type T helper. More... | |
template<> | |
::ad::rss::world::ConstellationType | fromString (std::string const &str) |
Conversion from std::string to enum type T helper. More... | |
std::ostream & | ad::rss::world::operator<< (std::ostream &os, ConstellationType const &value) |
standard ostream operator More... | |
std::string | std::to_string (::ad::rss::world::ConstellationType const &value) |
overload of the std::to_string for ConstellationType | |
Generated file
Generator Version : 11.0.0-2046
EnumType fromString | ( | std::string const & | str | ) |
Conversion from std::string to enum type T helper.
[in] | str | - a fully qualified string name of enum class type |
std::out_of_range | exception if the given string does not match any enum type |
Example usage:
::ad::rss::world::ConstellationType fromString | ( | std::string const & | str | ) |
Conversion from std::string to enum type T helper.
[in] | str | - a fully qualified string name of enum class type |
std::out_of_range | exception if the given string does not match any enum type |
Example usage: