#ifndef PATH_H_ #define PATH_H_ #include #include #include #include #include #include //class Mover; class PathHandler { //friend class Mover; std::string dirPath; char delim; std::vector& split(const std::string &s, char delim, std::vector &elems); std::vector split(const std::string &s, char delim); std::string getFilePath(const std::string& filepath); public: ~PathHandler(); PathHandler(const std::string& filepath); std::string getFullName(const std::string& filepath) const; std::string getFileName(const std::string& filepath); }; #endif