GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 char | path_sep_char (void) |
static void | path_sep_char (char c) |
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.
|
inline |
Definition at line 36 of file pathsearch.h.
|
inline |
Definition at line 44 of file pathsearch.h.
|
inline |
Definition at line 59 of file pathsearch.h.
string_vector dir_path::all_directories | ( | void | ) |
Definition at line 75 of file pathsearch.cc.
References initialized, kpse_element_dirs(), Array< T >::length(), pv, string_vector::resize(), STR_LLIST, and STR_LLIST_NEXT.
string_vector dir_path::elements | ( | void | ) |
Definition at line 69 of file pathsearch.cc.
References initialized, and pv.
|
inline |
Definition at line 72 of file pathsearch.h.
string_vector dir_path::find_all | ( | const std::string & | nm | ) |
Definition at line 126 of file pathsearch.cc.
References initialized, kpse_all_path_search(), and p.
string_vector dir_path::find_all_first_of | ( | const string_vector & | names | ) |
Definition at line 139 of file pathsearch.cc.
References initialized, kpse_all_path_find_first_of(), and p.
Referenced by search_path_for_all_files().
std::string dir_path::find_first | ( | const std::string & | nm | ) |
Definition at line 120 of file pathsearch.cc.
References initialized, kpse_path_search(), and p.
std::string dir_path::find_first_of | ( | const string_vector & | names | ) |
Definition at line 132 of file pathsearch.cc.
References initialized, kpse_path_find_first_of(), and p.
Referenced by read_mat5_binary_element(), search_path_for_file(), and octave_fcn_handle::set_fcn().
Definition at line 146 of file pathsearch.cc.
References octave_env::getenv(), initialized, kpathsea_debug, kpse_expand_default(), kpse_path_expand(), p, p_default, p_orig, pv, and string_vector::resize().
Definition at line 100 of file pathsearch.h.
Definition at line 49 of file pathsearch.h.
References initialized, initialized, p, p_default, p_orig, and pv.
Definition at line 85 of file pathsearch.h.
Referenced by Fpathsep(), in_path_list(), and split_path().
Definition at line 90 of file pathsearch.h.
|
inlinestatic |
Definition at line 95 of file pathsearch.h.
Referenced by load_path::do_initialize(), load_path::do_path(), Fpath(), Fpathsep(), genpath(), maybe_add_path_elts(), load_path::set_command_line_path(), set_exec_path(), and set_image_path().
Definition at line 79 of file pathsearch.h.
References initialized.
|
inline |
Definition at line 61 of file pathsearch.h.
References initialized.
|
private |
Definition at line 112 of file pathsearch.h.
Referenced by all_directories(), elements(), find_all(), find_all_first_of(), find_first(), find_first_of(), init(), and operator=().
|
private |
Definition at line 116 of file pathsearch.h.
Referenced by find_all(), find_all_first_of(), find_first(), find_first_of(), init(), and operator=().
|
private |
Definition at line 109 of file pathsearch.h.
Referenced by init(), and operator=().
|
private |
Definition at line 105 of file pathsearch.h.
Referenced by init(), and operator=().
|
private |
Definition at line 119 of file pathsearch.h.
Referenced by all_directories(), elements(), init(), and operator=().