plastimatch
|
#include "plmsys_config.h"
#include <algorithm>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "file_util.h"
#include "path_util.h"
Functions | |
int | extension_is (const char *fname, const char *ext) |
int | extension_is (const std::string &fname, const char *ext) |
void | strip_extension (char *filename) |
std::string | strip_extension (const std::string &filename) |
std::string | strip_extension_if (const std::string &filename, const std::string &ext) |
void | trim_trailing_slashes (char *pathname) |
std::string | trim_trailing_slashes (const std::string &pathname) |
char * | file_util_parent (const char *filename) |
std::string | file_util_parent (const std::string &filename) |
char * | file_util_dirname (const char *filename) |
std::string | file_util_dirname_string (const char *filename) |
std::string | strip_leading_dir (const std::string &fn) |
std::string | basename (const std::string &fn) |
std::string | dirname (const std::string &fn) |
std::string | compose_filename (const char *a, const char *b) |
std::string | compose_filename (const std::string &a, const std::string &b) |
std::string | make_windows_slashes (const std::string &s) |
std::string basename | ( | const std::string & | fn | ) |
std::string compose_filename | ( | const char * | a, |
const char * | b ) |
std::string compose_filename | ( | const std::string & | a, |
const std::string & | b ) |
std::string dirname | ( | const std::string & | fn | ) |
int extension_is | ( | const char * | fname, |
const char * | ext ) |
int extension_is | ( | const std::string & | fname, |
const char * | ext ) |
char * file_util_dirname | ( | const char * | filename | ) |
std::string file_util_dirname_string | ( | const char * | filename | ) |
char * file_util_parent | ( | const char * | filename | ) |
std::string file_util_parent | ( | const std::string & | filename | ) |
std::string make_windows_slashes | ( | const std::string & | s | ) |
void strip_extension | ( | char * | filename | ) |
std::string strip_extension | ( | const std::string & | filename | ) |
std::string strip_extension_if | ( | const std::string & | filename, |
const std::string & | ext ) |
std::string strip_leading_dir | ( | const std::string & | fn | ) |
void trim_trailing_slashes | ( | char * | pathname | ) |
std::string trim_trailing_slashes | ( | const std::string & | pathname | ) |