34#include <NDEVR/String.h>
44 template <
class t_type>
47 return isValid<t_type>(
string.c_str());
49 template <
class t_type>
52 std::basic_regex<char> basic_regex(regex<t_type>());
53 return regex_match(
string, basic_regex);
58 return isValid(
string.c_str(), type);
62 std::basic_regex<char> basic_regex(regex(type));
63 return regex_match(
string, basic_regex);
65 template <
class t_type>
71 static const char* regex(
const TypeInfo& type);
Definition StringStream.h:62
Definition StringValidator.h:40
static bool isValid(const String &string, const TypeInfo &type)
Definition StringValidator.h:56
static bool isValid(const char *string)
Definition StringValidator.h:50
static bool isValid(const String &string)
Definition StringValidator.h:45
static bool isValid(const char *string, const TypeInfo &type)
Definition StringValidator.h:60
static const char * regex()
Definition StringValidator.h:66
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition BaseValues.hpp:272