DomainPlug-insDocumentation
Typedefs | Functions
ToolKit Namespace Reference

Typedefs

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

Functions

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

Typedef Documentation

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

Function Documentation

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