16using namespace DateAndTimeHelpers;
44 Types::Core::DateAndTime timestamp(
value);
46 }
catch (std::invalid_argument &exc) {
double value
The value of the point.
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
IValidator_sptr clone() const override
Clone the current state.
bool m_allowedEmpty
Allows for an empty string to be accepted as input.
void allowEmpty(const bool &)
Sets the value of the m_allowEmpty variable.
std::string checkValidity(const std::string &value) const override
Checks the value is valid.
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.