Struct RobotConfig::UserData

Nested Relationships

This struct is a nested type of Class RobotConfig.

Struct Documentation

struct UserData

Public Functions

inline bool getBool(const std::string &key, bool default_value = false) const
inline bool hasBool(const std::string &key) const
inline double getFloat(const std::string &key, double default_value = 0.0) const
inline bool hasFloat(const std::string &key) const
inline std::string getString(const std::string &key, std::string default_value = "") const
inline bool hasString(const std::string &key) const
inline std::vector<bool> getBoolList(const std::string &key, std::vector<bool> default_value = {}) const
inline bool hasBoolList(const std::string &key) const
inline std::vector<double> getFloatList(const std::string &key, std::vector<double> default_value = {}) const
inline bool hasFloatList(const std::string &key) const
inline std::vector<std::string> getStringList(const std::string &key, std::vector<std::string> default_value = {}) const
inline bool hasStringList(const std::string &key) const

Public Members

std::map<std::string, bool> bools_
std::map<std::string, double> floats_
std::map<std::string, std::string> strings_
std::map<std::string, std::vector<bool>> bool_lists_
std::map<std::string, std::vector<double>> float_lists_
std::map<std::string, std::vector<std::string>> string_lists_