openMSX
Classes | Functions
openmsx::detail Namespace Reference

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)
 

Function Documentation

◆ adaptParams()

template<typename Action >
auto openmsx::detail::adaptParams ( Action  action)

Definition at line 60 of file foreach_file.hh.

Referenced by foreach_dirent().

◆ adaptReturn()

template<typename Action >
auto openmsx::detail::adaptReturn ( Action  action)

Definition at line 84 of file foreach_file.hh.

Referenced by foreach_dirent().

◆ foreach_dirent()

template<typename FileAction , typename DirAction >
bool openmsx::detail::foreach_dirent ( std::string &  path,
FileAction  fileAction,
DirAction  dirAction 
)