Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StringHelper Namespace Reference

Functions

bool IsNullOrEmpty (const char *psz)
 
void ToLower (std::string &str)
 
void Trim (std::string &str)
 
int ValidateNumberString (const char *psz, int nMinValue, int nMaxValue, int *pnResult)
 

Function Documentation

bool StringHelper::IsNullOrEmpty ( const char *  psz)

Definition at line 31 of file stringhelper.cpp.

void StringHelper::ToLower ( std::string &  str)

Definition at line 37 of file stringhelper.cpp.

void StringHelper::Trim ( std::string &  str)

Definition at line 67 of file stringhelper.cpp.

int StringHelper::ValidateNumberString ( const char *  psz,
int  nMinValue,
int  nMaxValue,
int *  pnResult 
)

Definition at line 107 of file stringhelper.cpp.