The SWC-DB Property C++ namespace 'SWC::Config::Property'. More...
Classes | |
class | Value |
class | Value_bool |
class | Value_bool_g |
class | Value_double |
class | Value_doubles |
class | Value_enum |
class | Value_enum_g |
class | Value_int32 |
class | Value_int32_g |
class | Value_int64 |
class | Value_int64s |
class | Value_string |
class | Value_strings |
class | Value_strings_g |
class | Value_uint16 |
class | Value_uint16_g |
class | Value_uint64_g |
class | Value_uint8 |
class | Value_uint8_g |
Functions | |
void | from_string (const char *s, double *value) |
void | from_string (const char *s, int64_t *value) |
void | from_string (const char *s, uint64_t *value) |
void | from_string (const char *s, uint8_t *value) |
void | from_string (const char *s, uint16_t *value) |
void | from_string (const char *s, int32_t *value) |
template<typename T > | |
SWC_CAN_INLINE void | from_string (const std::string &s, T value) |
The SWC-DB Property C++ namespace 'SWC::Config::Property'.
void SWC::Config::Property::from_string | ( | const char * | s, |
double * | value | ||
) |
Convertors & Validators from std::string
Definition at line 109 of file Property.cc.
References SWC::Error::CONFIG_GET_ERROR, and SWC_THROWF.
Referenced by from_string(), SWC::Config::g_enum(), SWC::Comm::Resolver::get_endpoints(), SWC::client::Mngr::Groups::on_cfg_update(), SWC::client::Brokers::on_cfg_update(), SWC::client::SQL::QuerySelect::parse_dump(), SWC::Config::Property::Value_uint8::set_from(), SWC::Config::Property::Value_uint16::set_from(), SWC::Config::Property::Value_int32::set_from(), SWC::Config::Property::Value_int64::set_from(), SWC::Config::Property::Value_double::set_from(), SWC::Config::Property::Value_int64s::set_from(), SWC::Config::Property::Value_doubles::set_from(), SWC::Config::Property::Value_uint8_g::set_from(), SWC::Config::Property::Value_uint16_g::set_from(), SWC::Config::Property::Value_int32_g::set_from(), and SWC::Config::Property::Value_uint64_g::set_from().
void SWC::Config::Property::from_string | ( | const char * | s, |
int32_t * | value | ||
) |
Definition at line 204 of file Property.cc.
References SWC::Error::CONFIG_GET_ERROR, from_string(), and SWC_THROWF.
void SWC::Config::Property::from_string | ( | const char * | s, |
int64_t * | value | ||
) |
Definition at line 131 of file Property.cc.
References SWC::Error::CONFIG_GET_ERROR, and SWC_THROWF.
void SWC::Config::Property::from_string | ( | const char * | s, |
uint16_t * | value | ||
) |
Definition at line 194 of file Property.cc.
References SWC::Error::CONFIG_GET_ERROR, from_string(), and SWC_THROWF.
void SWC::Config::Property::from_string | ( | const char * | s, |
uint64_t * | value | ||
) |
Definition at line 157 of file Property.cc.
References SWC::Error::CONFIG_GET_ERROR, and SWC_THROWF.
void SWC::Config::Property::from_string | ( | const char * | s, |
uint8_t * | value | ||
) |
Definition at line 183 of file Property.cc.
References SWC::Error::CONFIG_GET_ERROR, from_string(), and SWC_THROWF.
SWC_CAN_INLINE void SWC::Config::Property::from_string | ( | const std::string & | s, |
T | value | ||
) |
Definition at line 137 of file Property.h.
References from_string().