6 #ifndef VCSN_MISC_FILE_LIBRARY_HH
7 # define VCSN_MISC_FILE_LIBRARY_HH
46 file_library(
const std::string& library,
const char* separator);
54 template <
typename ForwardRange>
62 self_type& push_back(
const std::string& library,
const char* separator);
70 template <
typename ForwardRange>
71 self_type& push_back(
const ForwardRange&
r,
const char* sep);
73 template <
class Iterable>
74 self_type& push_back(
const std::string& user_path,
75 const Iterable& default_path,
85 self_type& push_front(
const std::string& library,
const char* separator);
91 void push_current_directory(
const path& p);
92 void pop_current_directory();
93 path current_directory_get()
const;
116 path find_file(
const path& file)
const;
121 std::ostream& dump(std::ostream& ostr)
const;
137 path find_in_search_path(
const path& filename)
const;
153 #endif // !VCSN_MISC_FILE_LIBRARY_HH
std::ostream & operator<<(std::ostream &os, direction d)
Pretty-printing.
Paths in filesystems, i.e., file names.
Declaration of vcsn::path.
path_list_type search_path_
Inclusion path list.
std::list< path > path_list_type
Broken on Mac OS X (https://trac.macports.org/ticket/41588).
path_list_type current_directory_
Current directory stack.
Provide a variadic mul on top of a binary mul(), and one().
Implement inline functions of vcsn/misc/file-library.hh.
rat::ratexp_polynomial_t< RatExpSet > split(const RatExpSet &rs, const typename RatExpSet::value_t &e)
Split a ratexp.
Exception thrown when a file cannot be located.
std::list< std::string > strings_type