12#define ISSLASH(c) (((c) == '/') || ((c) == '\\'))
14#define ISSLASH(c) ((c) == '/')
24 const std::string& filename,
const std::string& ext);
33 const std::string& b);
std::string compose_filename(const std::string &a, const std::string &b)
Definition path_util.cxx:182
std::string strip_extension_if(const std::string &filename, const std::string &ext)
Definition path_util.cxx:46
std::string make_windows_slashes(const std::string &s)
Definition path_util.cxx:188
std::string dirname(const std::string &fn)
Definition path_util.cxx:156
void strip_extension(char *filename)
Definition path_util.cxx:28
std::string basename(const std::string &fn)
Definition path_util.cxx:145
int extension_is(const char *fname, const char *ext)
Definition path_util.cxx:15
char * file_util_dirname(const char *filename)
Definition path_util.cxx:110
void trim_trailing_slashes(char *pathname)
Definition path_util.cxx:57
char * file_util_parent(const char *filename)
Definition path_util.cxx:74
std::string file_util_dirname_string(const char *filename)
Definition path_util.cxx:122
std::string strip_leading_dir(const std::string &fn)
Definition path_util.cxx:135
#define PLMSYS_API
Definition plmsys_config.h:19