openMSX
Namespaces | Functions
foreach_file.hh File Reference
#include "FileOperations.hh"
#include "ReadDir.hh"
#include "StringOp.hh"
#include "one_of.hh"
#include <functional>
#include <string_view>
#include <tuple>
#include <type_traits>
Include dependency graph for foreach_file.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openmsx
 This file implemented 3 utility functions:
 
namespace  openmsx::detail
 

Functions

template<typename Action >
auto openmsx::detail::adaptParams (Action action)
 
template<typename Action >
auto openmsx::detail::adaptReturn (Action action)
 
template<typename FileAction , typename DirAction >
bool openmsx::detail::foreach_dirent (std::string &path, FileAction fileAction, DirAction dirAction)
 
template<typename FileAction >
bool openmsx::foreach_file (std::string path, FileAction fileAction)
 
template<typename FileAction , typename DirAction >
bool openmsx::foreach_file_and_directory (std::string path, FileAction fileAction, DirAction dirAction)
 
template<typename FileAction >
bool openmsx::foreach_file_recursive (std::string path, FileAction fileAction)