builtin/rest_helper.cpp
Namespaces
Functions
Functions Documentation
function regexRfc3339_date
const std::regex regexRfc3339_date(
R"(^(\d{4})\-(\d{2})\-(\d{2})$)"
)
function regexRfc3339_date_time
const std::regex regexRfc3339_date_time(
R"(^(\d{4})\-(\d{2})\-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(\.\d+)?([Zz]|([\+\-])(\d{2}):(\d{2}))$)"
)
function validateRfc3339_date
bool validateRfc3339_date(
const std::string & str
)
function validateRfc3339_date_time
bool validateRfc3339_date_time(
const std::string & str
)
function toStringValue
std::string toStringValue(
const std::string & value
)
function toStringValue
std::string toStringValue(
const int32_t value
)
function toStringValue
std::string toStringValue(
const int64_t value
)
function toStringValue
std::string toStringValue(
const bool value
)
function toStringValue
std::string toStringValue(
const float value
)
function toStringValue
std::string toStringValue(
const double value
)
function fromStringValue
bool fromStringValue(
const std::string & inStr,
std::string & value
)
function fromStringValue
bool fromStringValue(
const std::string & inStr,
int32_t & value
)
function fromStringValue
bool fromStringValue(
const std::string & inStr,
int64_t & value
)
function fromStringValue
bool fromStringValue(
const std::string & inStr,
bool & value
)
function fromStringValue
bool fromStringValue(
const std::string & inStr,
float & value
)
function fromStringValue
bool fromStringValue(
const std::string & inStr,
double & value
)
Updated on 2024-11-12 at 14:49:13 +0000