Go to the source code of this file.
Namespaces | |
namespace | QNetworkString |
Defines | |
#define | DEFAULT_SEPARATOR ' ' |
#define | NET_TOKEN '$' |
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::GetInt (const std::string &src, int &dest) |
convert string to int | |
bool | QNetworkString::GetBool (const std::string &src, bool &dest) |
convert string to bool | |
bool | QNetworkString::GetDouble (const std::string &src, double &dest) |
convert string to double | |
bool | QNetworkString::GetChar (const std::string &src, char &dest) |
convert string to char | |
std::string | QNetworkString::GetHexadecimal (int value) |
convert unsigned int value to string using hexadecimal format | |
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 | |
std::string | QNetworkString::GetDaqStatusString (const QDaqState daqState) |
convert QDaqState enum to corresponding human readable string | |
ProcessStatus_t | QNetworkString::GetProcessStatusCode (int code) |
std::string | QNetworkString::GetProcessStatusString (ProcessStatus_t status) |