#include <file-ops.h>
Public Types | |
typedef std::string(* | tilde_expansion_hook )(const std::string &) |
Public Member Functions | |
file_ops (char dir_sep_char_arg=0, const std::string &dir_sep_str_arg=std::string("/"), const std::string &dir_sep_chars_arg=std::string("/")) | |
Static Public Member Functions | |
static char | dir_sep_char (void) |
static std::string | dir_sep_str (void) |
static std::string | dir_sep_chars (void) |
static bool | is_dir_sep (char c) |
static std::string | tilde_expand (const std::string &) |
static string_vector | tilde_expand (const string_vector &) |
static std::string | concat (const std::string &, const std::string &) |
static std::string | tail (const std::string &path) |
Static Public Attributes | |
static tilde_expansion_hook | tilde_expansion_preexpansion_hook = 0 |
static tilde_expansion_hook | tilde_expansion_failure_hook = 0 |
static string_vector | tilde_additional_prefixes = default_prefixes |
static string_vector | tilde_additional_suffixes = default_suffixes |
typedef std::string(* file_ops::tilde_expansion_hook)(const std::string &) |
file_ops::file_ops | ( | char | dir_sep_char_arg = 0 , |
|
const std::string & | dir_sep_str_arg = std::string ("/") , |
|||
const std::string & | dir_sep_chars_arg = std::string ("/") | |||
) | [inline] |
std::string file_ops::concat | ( | const std::string & | dir, | |
const std::string & | file | |||
) | [static] |
static char file_ops::dir_sep_char | ( | void | ) | [inline, static] |
static std::string file_ops::dir_sep_chars | ( | void | ) | [inline, static] |
static std::string file_ops::dir_sep_str | ( | void | ) | [inline, static] |
static bool file_ops::is_dir_sep | ( | char | c | ) | [inline, static] |
static std::string file_ops::tail | ( | const std::string & | path | ) | [inline, static] |
string_vector file_ops::tilde_expand | ( | const string_vector & | names | ) | [static] |
std::string file_ops::tilde_expand | ( | const std::string & | name | ) | [static] |
string_vector file_ops::tilde_additional_prefixes = default_prefixes [static] |
string_vector file_ops::tilde_additional_suffixes = default_suffixes [static] |