45 file_library(
const std::string& library,
const char* separator);
53 template <
typename ForwardRange>
69 template <
typename ForwardRange>
72 template <
typename Iterable>
74 const Iterable& default_path,
120 std::ostream&
dump(std::ostream& ostr)
const;
const path_list_type & search_path_get() const
self_t & push_front(const path &p)
std::list< path > path_list_type
Broken on Mac OS X (https://trac.macports.org/ticket/41588).
Exception thrown when a file cannot be located.
path_list_type current_directory_
Current directory stack.
void push_current_directory(const path &p)
self_t & prepend(const path &p)
Provide a variadic mul on top of a binary mul(), and one().
std::ostream & operator<<(std::ostream &os, direction d)
Pretty-printing.
std::list< std::string > strings_type
path find_in_search_path(const path &filename) const
Find file filename using include path.
std::ostream & dump(std::ostream &ostr) const
Declaration of vcsn::path.
path find_file(const path &file) const
Search a file.
Implement inline functions of vcsn/misc/file-library.hh.
void pop_current_directory()
path_list_type & search_path()
self_t & push_back(const path &p)
self_t & append(const path &p)
void push_cwd()
Push the working directory on the stack.
path current_directory_get() const
path_list_type search_path_
Inclusion path list.
static strings_type split(const std::string &lib, const char *sep)
Split lib at each occurrence of sep, return the list of components.
Paths in filesystems, i.e., file names.