Typedefs | |
typedef list< string > | STRING_LIST |
typedef STRING_LIST::iterator | STRING_LIST_ITERATOR |
Functions | |
string | ultos (unsigned long val) |
unsigned long to string | |
template<class T> | |
string | ptos (T pnt) |
pointer to string-address | |
string | ltos (long val) |
long to string | |
string | ultohexs (unsigned long val, bool hexdelimiter=true) |
unsigned long to hex string | |
string | ltohexs (long val, bool hexdelimiter=true) |
long to hex string | |
long | stol (string str) |
string to long | |
int | stoi (string str) |
string to int | |
double | stod (string str) |
string to double | |
unsigned int | hstoui (string str) |
hex string to unsigned int | |
string | dtos (double val) |
double to string | |
string | trim (string str) |
trim string | |
STRING_LIST | split (string str, string delimiter) |
string | replace (string str, string find, string repl) |
replace all occurences of find in the string str with repl | |
string | getTime (time_t timeval=0) |
string | getDate (time_t timeval=0) |
unsigned long | getElapsedMillis () |
void | sleep (unsigned int millis) |
Variables | |
const string | LINE_BREAK = "\n" |
typedef list<string> ariba::utility::Helper::STRING_LIST |
typedef STRING_LIST::iterator ariba::utility::Helper::STRING_LIST_ITERATOR |
string ariba::utility::Helper::dtos | ( | double | val | ) |
string ariba::utility::Helper::getDate | ( | time_t | timeval = 0 |
) |
Definition at line 196 of file Helper.cpp.
unsigned long ariba::utility::Helper::getElapsedMillis | ( | ) |
Definition at line 249 of file Helper.cpp.
string ariba::utility::Helper::getTime | ( | time_t | timeval = 0 |
) |
Definition at line 165 of file Helper.cpp.
unsigned int ariba::utility::Helper::hstoui | ( | string | str | ) |
string ariba::utility::Helper::ltohexs | ( | long | val, | |
bool | hexdelimiter = true | |||
) |
string ariba::utility::Helper::ltos | ( | long | val | ) |
string ariba::utility::Helper::ptos | ( | T | pnt | ) | [inline] |
string ariba::utility::Helper::replace | ( | string | str, | |
string | find, | |||
string | repl | |||
) |
replace all occurences of find in the string str with repl
Definition at line 158 of file Helper.cpp.
void ariba::utility::Helper::sleep | ( | unsigned int | millis | ) | [inline] |
Helper::STRING_LIST ariba::utility::Helper::split | ( | string | str, | |
string | delimiter | |||
) |
double ariba::utility::Helper::stod | ( | string | str | ) |
int ariba::utility::Helper::stoi | ( | string | str | ) |
string to int
Definition at line 121 of file Helper.cpp.
References stol().
Referenced by ariba::communication::EndpointDescriptor::fromString(), and ariba::AribaModule::setProperty().
long ariba::utility::Helper::stol | ( | string | str | ) |
string ariba::utility::Helper::trim | ( | string | str | ) |
string ariba::utility::Helper::ultohexs | ( | unsigned long | val, | |
bool | hexdelimiter = true | |||
) |
string ariba::utility::Helper::ultos | ( | unsigned long | val | ) |
unsigned long to string
Definition at line 44 of file Helper.cpp.
Referenced by ariba::AribaModule::getProperty(), ariba::application::pingpong::PingPongMessage::info(), ariba::utility::ServiceID::toString(), ariba::utility::OvlVis::visChangeLinkColor(), ariba::utility::OvlVis::visChangeLinkWidth(), ariba::utility::OvlVis::visChangeNodeColor(), ariba::utility::OvlVis::visChangeNodeIcon(), ariba::utility::OvlVis::visChangeStatus(), ariba::utility::OvlVis::visCLIOEndMeasurement(), ariba::utility::OvlVis::visCLIOInitMeasurement(), ariba::utility::OvlVis::visConnect(), ariba::utility::OvlVis::visCreate(), ariba::utility::OvlVis::visDeleteLinkBubble(), ariba::utility::OvlVis::visDeleteLinkLabel(), ariba::utility::OvlVis::visDeleteNodeBubble(), ariba::utility::OvlVis::visDeleteNodeLabel(), ariba::utility::OvlVis::visDeleteOnLinkIcon(), ariba::utility::OvlVis::visDeleteShiftedNodeIcon(), ariba::utility::OvlVis::visDisconnect(), ariba::utility::OvlVis::visFailedConnect(), ariba::utility::OvlVis::visSendMessage(), ariba::utility::OvlVis::visShowLinkBubble(), ariba::utility::OvlVis::visShowLinkLabel(), ariba::utility::OvlVis::visShowNodeBubble(), ariba::utility::OvlVis::visShowNodeLabel(), ariba::utility::OvlVis::visShowOnLinkIcon(), ariba::utility::OvlVis::visShowShiftedNodeIcon(), and ariba::utility::OvlVis::visShutdown().
const string ariba::utility::Helper::LINE_BREAK = "\n" |