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 (
void);
59 std::list<std::string> all_directories (
void);
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 (
void);
82 static std::string path_sep_str (
void);
84 static bool is_path_sep (
char c) {
return c == path_sep_char (); }
void set(const std::string &s)
~directory_path(void)=default
std::string m_expanded_path
static bool is_path_sep(char c)
std::string find(const std::string &nm)
std::list< std::string > m_path_elements
directory_path(const directory_path &)=default
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
static std::list< std::string > find_first_of(const std::string &path, const std::list< std::string > &names, bool all)