00001 #pragma once
00002
00027 #ifndef __STRMANIP_H__
00028 #define __STRMANIP_H__
00029
00030
00031 using std::string;
00032
00034 class strmanip
00035 {
00036
00037 public:
00038 static void ToLowerCase(string& String);
00039 static void Replace(string& String, const string& OrigValue, const string& NewValue);
00040 static void Replace(string& String, const char OrigValue, const char NewValue);
00041 static string HexFormat(const unsigned char* pContent, const size_t ContentSize);
00042 static string HMS(const long long NumSeconds);
00043 static string StripComments(const string& String);
00044 private:
00045 strmanip(void) {}
00046 };
00047
00048 #endif // __STRMANIP_H__