1 #ifndef OPENPOSE_UTILITIES_FILE_SYSTEM_HPP
2 #define OPENPOSE_UTILITIES_FILE_SYSTEM_HPP
65 const std::vector<std::string>& extensions = {});
84 #endif // OPENPOSE_UTILITIES_FILE_SYSTEM_HPP
OP_API void replaceAll(std::string &stringText, const char charToChange, const char charToAdd)
OP_API std::string getFileParentFolderPath(const std::string &fullPath)
OP_API void removeAllOcurrencesOfSubString(std::string &stringToModify, const std::string &substring)
OP_API std::string getFileExtension(const std::string &fullPath)
OP_API void makeDirectory(const std::string &directoryPath)
OP_API bool existDirectory(const std::string &directoryPath)
OP_API std::string getFileNameAndExtension(const std::string &fullPath)
OP_API std::string getFileNameNoExtension(const std::string &fullPath)
OP_API std::string formatAsDirectory(const std::string &directoryPathString)
OP_API std::string getFullFilePathNoExtension(const std::string &fullPath)
OP_API bool existFile(const std::string &filePath)
#define OP_API
Definition: macros.hpp:16
OP_API std::string removeSpecialsCharacters(const std::string &stringToVariate)
OP_API std::vector< std::string > getFilesOnDirectory(const std::string &directoryPath, const std::vector< std::string > &extensions={})
std::string string
Definition: cl2.hpp:574