MQTTSuite
Loading...
Searching...
No Matches
string-format-check.cpp File Reference
#include <nlohmann/json-schema.hpp>
#include "smtp-address-validator.hpp"
#include <algorithm>
#include <exception>
#include <iostream>
#include <regex>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for string-format-check.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{string-format-check.cpp}
namespace  nlohmann
namespace  nlohmann::json_schema

Macros

#define REGEX_NAMESPACE   std

Functions

template<typename T>
void anonymous_namespace{string-format-check.cpp}::range_check (const T value, const T min, const T max)
void anonymous_namespace{string-format-check.cpp}::rfc3339_date_check (const std::string &value)
void anonymous_namespace{string-format-check.cpp}::rfc3339_time_check (const std::string &value)
void anonymous_namespace{string-format-check.cpp}::rfc3339_date_time_check (const std::string &value)
bool anonymous_namespace{string-format-check.cpp}::is_ascii (std::string const &value)
void anonymous_namespace{string-format-check.cpp}::rfc3986_uri_check (const std::string &value)
void nlohmann::json_schema::default_string_format_check (const std::string &format, const std::string &value)

Variables

const std::string anonymous_namespace{string-format-check.cpp}::decOctet {R"((?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))"}
const std::string anonymous_namespace{string-format-check.cpp}::ipv4Address {"(?:" + decOctet + R"(\.){3})" + decOctet}
const std::string anonymous_namespace{string-format-check.cpp}::h16 {R"([0-9A-Fa-f]{1,4})"}
const std::string anonymous_namespace{string-format-check.cpp}::h16Left {"(?:" + h16 + ":)"}
const std::string anonymous_namespace{string-format-check.cpp}::ipv6Address
const std::string anonymous_namespace{string-format-check.cpp}::ipvFuture {R"([Vv][0-9A-Fa-f]+\.[A-Za-z0-9\-._~!$&'()*+,;=:]+)"}
const std::string anonymous_namespace{string-format-check.cpp}::regName {R"((?:[A-Za-z0-9\-._~!$&'()*+,;=]|%[0-9A-Fa-f]{2})*)"}
const std::string anonymous_namespace{string-format-check.cpp}::host
const std::string anonymous_namespace{string-format-check.cpp}::uuid {R"([0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12})"}
const std::string anonymous_namespace{string-format-check.cpp}::hostname {R"(^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])(\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9]))*$)"}

Macro Definition Documentation

◆ REGEX_NAMESPACE

#define REGEX_NAMESPACE   std

Definition at line 21 of file string-format-check.cpp.