|
ad_rss
|
#include <iostream>#include <memory>#include <string>

Go to the source code of this file.
Namespaces | |
| ad | |
| namespace ad | |
| ad::rss | |
| namespace rss | |
| ad::rss::situation | |
| namespace situation | |
Macros | |
| #define | GEN_GUARD_AD_RSS_SITUATION_SITUATIONTYPE |
| protect the definition of functions from duplicates by typedef usage within other data types | |
Enumerations | |
| enum class | ad::rss::situation::SituationType : int32_t { ad::rss::situation::NotRelevant = 0 , ad::rss::situation::SameDirection = 1 , ad::rss::situation::OppositeDirection = 2 , ad::rss::situation::IntersectionEgoHasPriority = 3 , ad::rss::situation::IntersectionObjectHasPriority = 4 , ad::rss::situation::IntersectionSamePriority = 5 , ad::rss::situation::Unstructured = 6 } |
| DataType SituationType. More... | |
Functions | |
| std::string | toString (::ad::rss::situation::SituationType const e) |
| Conversion of ad::rss::situation::SituationType 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::situation::SituationType | fromString (std::string const &str) |
| Conversion from std::string to enum type T helper. More... | |
| std::ostream & | ad::rss::situation::operator<< (std::ostream &os, SituationType const &value) |
| standard ostream operator More... | |
| std::string | std::to_string (::ad::rss::situation::SituationType const &value) |
| overload of the std::to_string for SituationType | |
Generated file
Generator Version : 11.0.0-1997
| 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::situation::SituationType 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: