Class Converter

Class Documentation

class Converter

Public Static Functions

int32_t ToInt32(const std::string &str)
int64_t ToInt64(const std::string &str)
uint64_t ToUInt64(const std::string &str)
float ToFloat(const std::string &str)
double ToDouble(const std::string &str)
bool ToBool(const std::string &str)
std::vector<int32_t> ToInt32Vector(const std::vector<std::string> &items)
std::vector<int64_t> ToInt64Vector(const std::vector<std::string> &items)
std::vector<float> ToFloatVector(const std::vector<std::string> &items)
std::vector<double> ToDoubleVector(const std::vector<std::string> &items)
static bool TryConvert(const std::string &str, bool &obj)
template<typename T>
static bool TryConvert(const std::string &str, T &value)