23 #if defined (HAVE_CONFIG_H) 40 : m_orig_path (
s), m_default_path (
d), m_initialized (
false),
41 m_expanded_path (), m_path_elements ()
54 std::list<std::string>
retval;
62 if (! elt_dir.empty ())
63 retval.push_back (elt_dir);
79 : std::list<std::string> ());
89 std::list<std::string>
94 : std::list<std::string> ());
99 static bool octave_kpse_initialized =
false;
101 if (! octave_kpse_initialized)
108 octave_kpse_initialized =
true;
static char path_sep_char(void)
std::string find_first(const std::string &)
std::list< std::string > kpse_all_path_find_first_of(const std::string &path, const std::list< std::string > &names)
std::list< std::string > find_all(const std::string &)
std::string find_first_of(const std::list< std::string > &names)
std::string m_expanded_path
identity matrix If supplied two scalar respectively For allows like xample val
static std::string path_sep_str(void)
std::string kpse_path_expand(const std::string &path)
std::string kpse_path_search(const std::string &path, const std::string &name)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
static std::string getenv(const std::string &name)
std::string kpse_path_find_first_of(const std::string &path, const std::list< std::string > &names)
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
std::list< std::string > elements(void)
std::string kpse_expand_default(const std::string &path, const std::string &fallback)
std::string m_default_path
std::list< std::string > find_all_first_of(const std::list< std::string > &names)
std::list< std::string > kpse_all_path_search(const std::string &path, const std::string &name)
directory_path(const std::string &s="", const std::string &d="")
std::list< std::string > m_path_elements
std::list< std::string > all_directories(void)
std::string kpse_element_dir(const std::string &elt)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string