DomainPlug-insDocumentation
Namespaces | Typedefs | Functions
DMToolKit.h File Reference
#include <stlrt/atypes.h>
#include <Comm/atracer.h>
#include "pluginconfig.h"
#include "constants/domain.h"

Go to the source code of this file.

Namespaces

namespace  ToolKit

Typedefs

typedef std::pair< std::string,
std::string > 
ToolKit::string_pair

Functions

PLUGINTOOLKIT_DECL void ToolKit::secureRequestPart (std::string &text, std::string sBeg, std::string sEnd)
PLUGINTOOLKIT_DECL std::string ToolKit::secureRequest (const std::string &src, const std::vector< string_pair > &borders)
PLUGINTOOLKIT_DECL bool ToolKit::isEmailValid (const Str &email)
PLUGINTOOLKIT_DECL bool ToolKit::isEmailValidThrow (const Str &email)
PLUGINTOOLKIT_DECL bool ToolKit::isDomainNameValid (const Str &name)
PLUGINTOOLKIT_DECL bool ToolKit::isWildcardDomainNameValid (const Str &name)
PLUGINTOOLKIT_DECL Str ToolKit::to_ascii (const Str &)
PLUGINTOOLKIT_DECL Str ToolKit::to_utf (const Str &)
PLUGINTOOLKIT_DECL bool ToolKit::is_idn (const Str &)
PLUGINTOOLKIT_DECL Str ToolKit::generate_passwd (size_t min_length=8, size_t max_length=12)
PLUGINTOOLKIT_DECL Str ToolKit::generate_login (const Str &pattern, size_t add_length=20, bool except_digit=false)
PLUGINTOOLKIT_DECL time_t ToolKit::date_from_string (const char *s)
PLUGINTOOLKIT_DECL time_t ToolKit::date_from_string (const Str &s)
PLUGINTOOLKIT_DECL Str ToolKit::string_from_date (const time_t timestmp)
PLUGINTOOLKIT_DECL Str ToolKit::transliterate (const Str &mbstr)
PLUGINTOOLKIT_DECL Str ToolKit::country_name_by_2c (const Str &code2c)
PLUGINTOOLKIT_DECL Str ToolKit::country_name_by_3c (const Str &code3c)
PLUGINTOOLKIT_DECL Str ToolKit::country_name_by_code (int code)
PLUGINTOOLKIT_DECL Str ToolKit::country_3c_by_2c (const Str &code2c)
PLUGINTOOLKIT_DECL int ToolKit::country_code_by_2c (const Str &code2c)
PLUGINTOOLKIT_DECL Str ToolKit::country_3c_by_code (int code)
PLUGINTOOLKIT_DECL Str ToolKit::country_2c_by_code (int code)
PLUGINTOOLKIT_DECL vector< Str > ToolKit::get_ns_by_domain (const Str sDomainName)
PLUGINTOOLKIT_DECL vector< Str > ToolKit::get_ip_by_domain (const Str sDomainName)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines