libpsynth 0.2.1
Public Types | Public Member Functions
psynth::base::file_finder Class Reference

#include <file_finder.hpp>

Inheritance diagram for psynth::base::file_finder:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::list
< boost::filesystem::path > 
path_list
typedef std::map
< boost::filesystem::path,
boost::filesystem::path > 
path_map

Public Member Functions

 file_finder ()
void add_path (const boost::filesystem::path &path)
void del_path (const boost::filesystem::path &path)
void build_cache (bool autoupdate)
void clear_cache ()
void clear ()
boost::filesystem::path find (const boost::filesystem::path &file) const
template<class PathPredicate >
void find_if (PathPredicate pred, path_list &res) const
template<class path_predicate >
void find_if (path_predicate pred, path_list &result) const

Member Typedef Documentation

typedef std::list<boost::filesystem::path> psynth::base::file_finder::path_list
typedef std::map<boost::filesystem::path, boost::filesystem::path> psynth::base::file_finder::path_map

Constructor & Destructor Documentation

psynth::base::file_finder::file_finder ( ) [inline]

Member Function Documentation

void psynth::base::file_finder::add_path ( const boost::filesystem::path &  path)
void psynth::base::file_finder::build_cache ( bool  autoupdate)
void psynth::base::file_finder::clear ( )
void psynth::base::file_finder::clear_cache ( )
void psynth::base::file_finder::del_path ( const boost::filesystem::path &  path)
boost::filesystem::path psynth::base::file_finder::find ( const boost::filesystem::path &  file) const
template<class path_predicate >
void psynth::base::file_finder::find_if ( path_predicate  pred,
path_list &  result 
) const
template<class PathPredicate >
void psynth::base::file_finder::find_if ( PathPredicate  pred,
path_list &  res 
) const

The documentation for this class was generated from the following files: