Pol  Revision:3cfda13
strutil.h
Go to the documentation of this file.
1 
11 #ifndef CLIB_STRUTIL_H
12 #define CLIB_STRUTIL_H
13 
14 #include <string>
15 
16 namespace Pol
17 {
18 namespace Clib
19 {
20 std::string hexint( unsigned short v );
21 std::string hexint( signed int v );
22 std::string hexint( unsigned int v );
23 std::string hexint( signed long v );
24 std::string hexint( unsigned long v );
25 #ifdef _WIN64
26 std::string hexint( size_t v );
27 #endif
28 std::string decint( unsigned short v );
29 std::string decint( signed int v );
30 std::string decint( unsigned int v );
31 std::string decint( signed long v );
32 std::string decint( unsigned long v );
33 #ifdef _WIN64
34 std::string decint( size_t v );
35 #endif
36 
37 void splitnamevalue( const std::string& istr, std::string& propname, std::string& propvalue );
38 
39 void decodequotedstring( std::string& str );
40 void encodequotedstring( std::string& str );
41 std::string getencodedquotedstring( const std::string& in );
42 
43 void mklower( std::string& str );
44 void mkupper( std::string& str );
45 
46 std::string strlower( const std::string& str );
47 std::string strupper( const std::string& str );
48 }
49 }
50 #endif // CLIB_STRUTIL_H
void splitnamevalue(const std::string &istr, std::string &propname, std::string &propvalue)
Definition: strutil.cpp:107
void mkupper(std::string &str)
Definition: strutil.cpp:271
void encodequotedstring(std::string &str)
Definition: strutil.cpp:204
std::string decint(unsigned short v)
Definition: strutil.cpp:64
std::string hexint(unsigned short v)
Definition: strutil.cpp:23
std::string getencodedquotedstring(const std::string &in)
Definition: strutil.cpp:235
void decodequotedstring(std::string &str)
Definition: strutil.cpp:167
std::string strlower(const std::string &str)
Definition: strutil.cpp:276
void mklower(std::string &str)
Definition: strutil.cpp:266
std::string strupper(const std::string &str)
Definition: strutil.cpp:281
Definition: berror.cpp:12