#include <string>#include <list>#include <cassert>#include <ctime>#include <ostream>#include <cstdio>#include <iomanip>#include <sstream>#include <iostream>#include <sys/types.h>#include <sys/stat.h>#include <sys/timeb.h>#include <unistd.h>#include <stdlib.h>

Go to the source code of this file.
Namespaces | |
| namespace | ariba |
| namespace | ariba::utility |
| namespace | ariba::utility::Helper |
Typedefs | |
| typedef list< string > | ariba::utility::Helper::STRING_LIST |
| typedef STRING_LIST::iterator | ariba::utility::Helper::STRING_LIST_ITERATOR |
Functions | |
| string | ariba::utility::Helper::ultos (unsigned long val) |
| unsigned long to string | |
| template<class T > | |
| string | ariba::utility::Helper::ptos (T pnt) |
| pointer to string-address | |
| string | ariba::utility::Helper::ltos (long val) |
| long to string | |
| string | ariba::utility::Helper::ultohexs (unsigned long val, bool hexdelimiter=true) |
| unsigned long to hex string | |
| string | ariba::utility::Helper::ltohexs (long val, bool hexdelimiter=true) |
| long to hex string | |
| long | ariba::utility::Helper::stol (string str) |
| string to long | |
| int | ariba::utility::Helper::stoi (string str) |
| string to int | |
| double | ariba::utility::Helper::stod (string str) |
| string to double | |
| unsigned int | ariba::utility::Helper::hstoui (string str) |
| hex string to unsigned int | |
| string | ariba::utility::Helper::dtos (double val) |
| double to string | |
| string | ariba::utility::Helper::trim (string str) |
| trim string | |
| STRING_LIST | ariba::utility::Helper::split (string str, string delimiter) |
| string | ariba::utility::Helper::replace (string str, string find, string repl) |
| replace all occurences of find in the string str with repl | |
| string | ariba::utility::Helper::getTime (time_t timeval=0) |
| string | ariba::utility::Helper::getDate (time_t timeval=0) |
| unsigned long | ariba::utility::Helper::getElapsedMillis () |
| void | ariba::utility::Helper::sleep (unsigned int millis) |
Variables | |
| const string | ariba::utility::Helper::LINE_BREAK = "\n" |
1.6.1