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 | ) |
double to string
Definition at line 265 of file Helper.cpp.
| string ariba::utility::Helper::getDate | ( | time_t | timeval = 0 |
) |
Definition at line 199 of file Helper.cpp.
| unsigned long ariba::utility::Helper::getElapsedMillis | ( | ) |
Definition at line 252 of file Helper.cpp.
| string ariba::utility::Helper::getTime | ( | time_t | timeval = 0 |
) |
Definition at line 168 of file Helper.cpp.
| unsigned int ariba::utility::Helper::hstoui | ( | string | str | ) |
hex string to unsigned int
Definition at line 129 of file Helper.cpp.
| string ariba::utility::Helper::ltohexs | ( | long | val, | |
| bool | hexdelimiter = true | |||
| ) |
long to hex string
Definition at line 91 of file Helper.cpp.
| string ariba::utility::Helper::ltos | ( | long | val | ) |
long to string
Definition at line 60 of file Helper.cpp.
| 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 161 of file Helper.cpp.
Referenced by sznBeginDefault().
| void ariba::utility::Helper::sleep | ( | unsigned int | millis | ) | [inline] |
Definition at line 155 of file Helper.h.
Referenced by protlib::TPoverUDP::main_loop(), protlib::ThreadStarter< T, TParam >::sleepuntilstop(), protlib::TPoverTCP::tcpsend(), ariba::utility::Timer::threadFunc(), protlib::TPoverUDP::udpsend(), and protlib::ThreadStarter< T, TParam >::wait_until_stopped().
| Helper::STRING_LIST ariba::utility::Helper::split | ( | string | str, | |
| string | delimiter | |||
| ) |
Definition at line 134 of file Helper.cpp.
References trim().
Referenced by ariba::AribaModule::addBootstrapHints().
| double ariba::utility::Helper::stod | ( | string | str | ) |
string to double
Definition at line 271 of file Helper.cpp.
| int ariba::utility::Helper::stoi | ( | string | str | ) |
| 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 | |||
| ) |
unsigned long to hex string
Definition at line 73 of file Helper.cpp.
| string ariba::utility::Helper::ultos | ( | unsigned long | val | ) |
unsigned long to string
Definition at line 47 of file Helper.cpp.
Referenced by 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" |
1.6.1