blob: 6bc00a4896d34cd3a105625857addbbf77036634 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* string.h
*
* Created on: 03.10.2012
* Author: savop
*/
#ifndef STRING_H_
#define STRING_H_
#include <string>
#include "../tools.h"
using namespace std;
namespace upnp {
namespace tools {
string ToUTF8String(const char* bytes);
string ToString(long number);
string StringListToCSV(StringList list);
string IdListToCSV(IdList list);
void StringExplode(string str, string separator, StringVector& results);
string Trim(const std::string& str, const std::string& whitespace = " \t");
}
} // namespace upnp
#endif /* STRING_H_ */
|