1#ifndef IOUTILITIES_PATHHELPER_H
2#define IOUTILITIES_PATHHELPER_H
10#define PATH_SEP_CHAR '\\'
11#define SEARCH_PATH_SEP_CHAR ';'
12#define PATH_SEP_STR "\\"
13#define SEARCH_PATH_SEP_STR ";"
15#define PATH_SEP_CHAR '/'
16#define SEARCH_PATH_SEP_CHAR ':'
17#define PATH_SEP_STR "/"
18#define SEARCH_PATH_SEP_STR ":"
#define CPP_UTILITIES_EXPORT
Marks the symbol to be exported by the c++utilities library.
Contains all utilities provides by the c++utilities library.
CPP_UTILITIES_EXPORT std::string directory(const std::string &path)
Returns the directory of the specified path string (including trailing slash).
CPP_UTILITIES_EXPORT std::string fileName(const std::string &path)
Returns the file name and extension of the specified path string.
CPP_UTILITIES_EXPORT void removeInvalidChars(std::string &fileName)
Removes invalid characters from the specified fileName.