00001 #ifndef CSHelper_h
00002 #define CSHelper_h
00003
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include "CSLog.h"
00008
00009 #ifdef WIN32
00010 #pragma warning(disable : 4786 )
00011 #endif
00012
00013 class CSHelper
00014 {
00015 private:
00016 protected:
00017 public:
00018 static int convert(const char* start_string, int radix);
00019 static bool replace(std::string &text, const std::string &oldValue, const std::string &newValue);
00020 static int colorPercent(int color, int percent);
00021
00022 };
00023 #endif // CSHelper_h