openMSX
Classes | Functions | Variables
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)
 

Variables

constexpr uint64_t max32 = std::numeric_limits<uint32_t>::max()
 
constexpr uint64_t max16 = std::numeric_limits<uint16_t>::max()
 
constexpr uint64_t max8 = std::numeric_limits<uint8_t >::max()
 

Function Documentation

◆ adaptParams()

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

Definition at line 61 of file foreach_file.hh.

Referenced by foreach_dirent().

◆ adaptReturn()

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

Definition at line 85 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 
)

Variable Documentation

◆ max16

constexpr uint64_t openmsx::detail::max16 = std::numeric_limits<uint16_t>::max()
inlineconstexpr

Definition at line 162 of file EmuDuration.hh.

◆ max32

constexpr uint64_t openmsx::detail::max32 = std::numeric_limits<uint32_t>::max()
inlineconstexpr

Definition at line 161 of file EmuDuration.hh.

◆ max8

constexpr uint64_t openmsx::detail::max8 = std::numeric_limits<uint8_t >::max()
inlineconstexpr

Definition at line 163 of file EmuDuration.hh.