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::world | |
namespace world | |
Macros | |
#define | GEN_GUARD_AD_RSS_WORLD_OBJECTTYPE |
protect the definition of functions from duplicates by typedef usage within other data types | |
Enumerations | |
enum | ad::rss::world::ObjectType : int32_t { ad::rss::world::ObjectType::Invalid = 0, ad::rss::world::ObjectType::EgoVehicle = 1, ad::rss::world::ObjectType::OtherVehicle = 2, ad::rss::world::ObjectType::Pedestrian = 3, ad::rss::world::ObjectType::ArtificialObject = 4 } |
DataType ObjectType. More... | |
Functions | |
std::string | toString (::ad::rss::world::ObjectType const e) |
Conversion of ad::rss::world::ObjectType 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::ObjectType | fromString (std::string const &str) |
Conversion from std::string to enum type T helper. More... | |
std::ostream & | ad::rss::world::operator<< (std::ostream &os, ObjectType const &value) |
standard ostream operator More... | |
std::string | std::to_string (::ad::rss::world::ObjectType const &value) |
overload of the std::to_string for ObjectType | |
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::world::ObjectType 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: