26 #if ! defined (octave_pathsearch_h)
27 #define octave_pathsearch_h 1
29 #include "octave-config.h"
50 void set (
const std::string& s)
52 m_initialized =
false;
57 std::list<std::string> elements ();
59 std::list<std::string> all_directories ();
61 std::string find_first (
const std::string&);
63 std::string
find (
const std::string& nm) {
return find_first (nm); }
65 std::list<std::string> find_all (
const std::string&);
67 std::string find_first_of (
const std::list<std::string>& names);
69 std::list<std::string>
70 find_all_first_of (
const std::list<std::string>& names);
74 m_initialized =
false;
78 static char path_sep_char ();
82 static std::string path_sep_str ();
84 static bool is_path_sep (
char c) {
return c == path_sep_char (); }
89 std::string m_orig_path;
96 std::string m_expanded_path;
99 std::list<std::string> m_path_elements;
104 OCTAVE_END_NAMESPACE(
octave)
void set(const std::string &s)
static bool is_path_sep(char c)
std::string find(const std::string &nm)
directory_path(const directory_path &)=default
~directory_path()=default
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn