+ static std::string Format(const char *format, ...);
+ static void Tokenize (const std::string &str,
+ std::vector<std::string> &tokens,
+ const std::string &delimiters = " ");
+ static int CountSubstring (const std::string &str,
+ const std::string &subStr);
+
+ static std::string CreateCleanString(std::string const &s);
+ static std::string CreateCleanString(uint8_t *s, int l);
+ static bool IsCleanString(std::string const &s);
+ static bool IsCleanArea(uint8_t *s, int l);
+ static void ReplaceSpecChar(std::string &s, std::string &rep);
+ static std::string NormalizePath(std::string const &name);
+ static std::string GetPath(std::string const &fullName);
+ static std::string GetName(std::string const &fullName);
+ static std::string GetCurrentDate();
+ static std::string GetCurrentTime();
+ static std::string GetCurrentDateTime();
+ /// Provides a simple static GetVersion() function
+ static std::string GetVersion()
+ { return GDCM_VERSION;}
+ static unsigned int GetCurrentThreadID();
+ static unsigned int GetCurrentProcessID();
+ static bool IsCurrentProcessorBigEndian();