openMSX
|
Classes | |
struct | GetArg |
struct | GetArg< bool > |
struct | GetArg< double > |
struct | GetArg< int > |
struct | GetArg< std::optional< T > > |
struct | GetArg< std::string > |
struct | GetArg< std::string_view > |
struct | GetArg< std::vector< T > > |
struct | GetArg< TclObject > |
Functions | |
template<typename Action > | |
auto | adaptParams (Action action) |
template<typename Action > | |
auto | adaptReturn (Action action) |
template<typename FileAction , typename DirAction > | |
bool | foreach_dirent (std::string &path, FileAction fileAction, DirAction dirAction) |
auto openmsx::detail::adaptParams | ( | Action | action | ) |
Definition at line 60 of file foreach_file.hh.
Referenced by foreach_dirent().
auto openmsx::detail::adaptReturn | ( | Action | action | ) |
Definition at line 84 of file foreach_file.hh.
Referenced by foreach_dirent().
bool openmsx::detail::foreach_dirent | ( | std::string & | path, |
FileAction | fileAction, | ||
DirAction | dirAction | ||
) |
Definition at line 97 of file foreach_file.hh.
References adaptParams(), adaptReturn(), openmsx::ReadDir::getEntry(), openmsx::FileOperations::getStat(), openmsx::FileOperations::isDirectory(), and openmsx::FileOperations::isRegularFile().
Referenced by openmsx::foreach_file(), openmsx::foreach_file_and_directory(), and openmsx::foreach_file_recursive().