#include "pathsearch.h"
Classes | |
class | static_members |
Public Member Functions | |
dir_path (const std::string &s=std::string(), const std::string &d=std::string()) | |
dir_path (const dir_path &dp) | |
~dir_path (void) | |
string_vector | all_directories (void) |
string_vector | elements (void) |
std::string | find (const std::string &nm) |
string_vector | find_all (const std::string &) |
string_vector | find_all_first_of (const string_vector &names) |
std::string | find_first (const std::string &) |
std::string | find_first_of (const string_vector &names) |
dir_path & | operator= (const dir_path &dp) |
void | rehash (void) |
void | set (const std::string &s) |
Static Public Member Functions | |
static bool | is_path_sep (char c) |
static void | path_sep_char (char c) |
static char | path_sep_char (void) |
static std::string | path_sep_str (void) |
Private Member Functions | |
void | init (void) |
Private Attributes | |
bool | initialized |
std::string | p |
std::string | p_default |
std::string | p_orig |
string_vector | pv |
Definition at line 30 of file pathsearch.h.
dir_path::dir_path | ( | const std::string & | s = std::string () , |
|
const std::string & | d = std::string () | |||
) | [inline] |
Definition at line 36 of file pathsearch.h.
dir_path::dir_path | ( | const dir_path & | dp | ) | [inline] |
Definition at line 44 of file pathsearch.h.
dir_path::~dir_path | ( | void | ) | [inline] |
Definition at line 59 of file pathsearch.h.
string_vector dir_path::all_directories | ( | void | ) |
string_vector dir_path::elements | ( | void | ) |
std::string dir_path::find | ( | const std::string & | nm | ) | [inline] |
Definition at line 72 of file pathsearch.h.
string_vector dir_path::find_all | ( | const std::string & | ) |
string_vector dir_path::find_all_first_of | ( | const string_vector & | names | ) |
Referenced by search_path_for_all_files().
std::string dir_path::find_first | ( | const std::string & | ) |
std::string dir_path::find_first_of | ( | const string_vector & | names | ) |
Referenced by read_mat5_binary_element(), search_path_for_file(), and octave_fcn_handle::set_fcn().
void dir_path::init | ( | void | ) | [private] |
Definition at line 100 of file pathsearch.h.
Definition at line 49 of file pathsearch.h.
References initialized, p, p_default, p_orig, and pv.
static char dir_path::path_sep_char | ( | void | ) | [inline, static] |
Definition at line 85 of file pathsearch.h.
Referenced by DEFUN(), in_path_list(), and split_path().
static void dir_path::path_sep_char | ( | char | c | ) | [inline, static] |
Definition at line 90 of file pathsearch.h.
static std::string dir_path::path_sep_str | ( | void | ) | [inline, static] |
Definition at line 95 of file pathsearch.h.
Referenced by DEFUN(), load_path::do_initialize(), load_path::do_path(), genpath(), maybe_add_path_elts(), load_path::set_command_line_path(), set_exec_path(), and set_image_path().
void dir_path::rehash | ( | void | ) | [inline] |
Definition at line 79 of file pathsearch.h.
void dir_path::set | ( | const std::string & | s | ) | [inline] |
Definition at line 61 of file pathsearch.h.
bool dir_path::initialized [private] |
Definition at line 112 of file pathsearch.h.
Referenced by operator=().
std::string dir_path::p [private] |
Definition at line 116 of file pathsearch.h.
Referenced by operator=().
std::string dir_path::p_default [private] |
Definition at line 109 of file pathsearch.h.
Referenced by operator=().
std::string dir_path::p_orig [private] |
Definition at line 105 of file pathsearch.h.
Referenced by operator=().
string_vector dir_path::pv [private] |
Definition at line 119 of file pathsearch.h.
Referenced by operator=().