00001 00015 #ifndef _PATH_FUNCTIONS_H_ 00016 #define _PATH_FUNCTIONS_H_ 00017 00018 #include <string> 00019 00025 class PathFunctions 00026 { 00027 private: 00028 00029 // Disable both constructors, destructor and assignment operator 00030 PathFunctions(); 00031 ~PathFunctions(); 00032 PathFunctions(const PathFunctions &); 00033 PathFunctions & operator=(const PathFunctions &); 00034 00035 public: 00036 00042 static std::string getExecutablePath(); 00043 00050 static std::string getExecutableDirectory(); 00051 00057 static bool fileExists(const std::string & filePath); 00058 00074 static std::string createProperFilePath(const std::string & filePath); 00075 }; 00076 00077 #endif