23 #if ! defined (octave_pathsearch_h) 24 #define octave_pathsearch_h 1 26 #include "octave-config.h" 49 m_initialized =
false;
54 std::list<std::string> elements (
void);
56 std::list<std::string> all_directories (
void);
62 std::list<std::string> find_all (
const std::string&);
66 std::list<std::string>
67 find_all_first_of (
const std::list<std::string>& names);
71 m_initialized =
false;
75 static char path_sep_char (
void);
106 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 108 OCTAVE_DEPRECATED (4.2,
"use 'octave::directory_path' instead")
109 typedef
octave::directory_path dir_path;
static bool is_path_sep(char c)
std::string m_expanded_path
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
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
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
std::string find(const std::string &nm)
std::string m_default_path
static std::list< std::string > find_first_of(const std::string &path, const std::list< std::string > &names, bool all)
std::list< std::string > m_path_elements
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