00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GRID_UTIL_HPP_INCLUDED
00011 #define GRID_UTIL_HPP_INCLUDED
00012 #include <string>
00013
00017 class GridUtil {
00018 public:
00025 static std::string prependHome(std::string relPath);
00026
00034 static std::ostream& toStream(std::ostream& out, const std::vector<std::string>& v);
00035
00043 static std::ostream& toStream(std::ostream& out, const std::vector<GridClientSocketAddress>& v);
00044
00048 static int64_t currentTimeMillis();
00049
00054 static std::vector<int8_t> getVersionNumeric();
00055
00056 private:
00058 GridUtil();
00059 };
00060
00061 #endif