|
| CLI11_INLINE path_type | CLI::detail::check_path (const char *file) noexcept |
| | get the type of the path from a file name More...
|
| |
| template<typename T > |
| std::enable_if< std::is_signed< T >::value, T >::type | CLI::detail::overflowCheck (const T &a, const T &b) |
| | Do a check for overflow on signed numbers. More...
|
| |
| template<typename T > |
| std::enable_if<!std::is_signed< T >::value, T >::type | CLI::detail::overflowCheck (const T &a, const T &b) |
| | Do a check for overflow on unsigned numbers. More...
|
| |
| template<typename T > |
| std::enable_if< std::is_integral< T >::value, bool >::type | CLI::detail::checked_multiply (T &a, T b) |
| | Performs a *= b; if it doesn't cause integer overflow. Returns false otherwise. More...
|
| |
| template<typename T > |
| std::enable_if< std::is_floating_point< T >::value, bool >::type | CLI::detail::checked_multiply (T &a, T b) |
| | Performs a *= b; if it doesn't equal infinity. Returns false otherwise. More...
|
| |
| CLI11_INLINE std::pair< std::string, std::string > | CLI::detail::split_program_name (std::string commandline) |
| |
| using | CLI::CustomValidator = Validator |
| | Alias for Validator for custom Validator for clarity. More...
|
| |
| CLI11_MODULE_INLINE const detail::ExistingFileValidator | CLI::ExistingFile |
| | Check for existing file (returns error message if check fails) More...
|
| |
| CLI11_MODULE_INLINE const detail::ExistingDirectoryValidator | CLI::ExistingDirectory |
| | Check for an existing directory (returns error message if check fails) More...
|
| |
| CLI11_MODULE_INLINE const detail::ExistingPathValidator | CLI::ExistingPath |
| | Check for an existing path. More...
|
| |
| CLI11_MODULE_INLINE const detail::NonexistentPathValidator | CLI::NonexistentPath |
| | Check for an non-existing path. More...
|
| |
| CLI11_MODULE_INLINE const detail::EscapedStringTransformer | CLI::EscapedString |
| | convert escaped characters into their associated values More...
|
| |
| CLI11_MODULE_INLINE const Range | CLI::NonNegativeNumber ((std::numeric_limits< double >::max)(),"NONNEGATIVE") |
| | Check for a non negative number. More...
|
| |
| CLI11_MODULE_INLINE const Range | CLI::PositiveNumber ((std::numeric_limits< double >::min)(),(std::numeric_limits< double >::max)(),"POSITIVE") |
| | Check for a positive valued number (val>0.0), <double>::min here is the smallest positive number. More...
|
| |