Go to the source code of this file.
Namespaces | |
namespace | QNetworkString |
Defines | |
#define | DEFAULT_SEPARATOR ' ' |
#define | NEWLINE_REPLACEMENT '$' |
Functions | |
void | QNetworkString::FixNewLines (std::string &message) |
substitute all newline characters with special token '$'. | |
void | QNetworkString::RestoreNewLines (std::string &message) |
restore newline characters in network message | |
bool | QNetworkString::SplitCommandAndParams (std::string cmdStr, std::string &cmdName, std::string ¶ms) |
split command string into command name (and possible modifier) and parameters string | |
bool | QNetworkString::GetParameter (const std::string &srcString, const std::string &parName, std::string &parVal, const char separator=DEFAULT_SEPARATOR) |
extract parameter from network string | |
bool | QNetworkString::GetIntParameter (const std::string &srcString, const std::string &parName, int &val, const char separator=DEFAULT_SEPARATOR) |
get integer parameter from network string | |
bool | QNetworkString::GetCharParameter (const std::string &srcString, const std::string &parName, char &val, const char separator=DEFAULT_SEPARATOR) |
get char parameter from network string |