#include <dx_test.h>
|
| typedef std::deque< std::string > | args |
| |
◆ args
◆ select()
template<typename... drivers_t>
template<typename... driver_t>
| dx::test::select< drivers_t >::select |
( |
const char * | name, |
|
|
driver_t &&... | driver ) |
|
inline |
◆ catch() [1/3]
template<typename... drivers_t>
◆ catch() [2/3]
template<typename... drivers_t>
◆ catch() [3/3]
template<typename... drivers_t>
◆ head()
| virtual bool dx::parser::head |
( |
| ) |
const |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::virtuel::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< super_device_t >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >, and dx::service::parser.
◆ help()
| virtual void dx::parser::help |
( |
args & | args | ) |
|
|
inlineprotectedvirtualinherited |
◆ help_head()
| virtual void dx::parser::help_head |
( |
| ) |
const |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::virtuel::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< super_device_t >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t > >, and dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.
◆ help_scope()
template<typename... drivers_t>
|
|
inlineoverrideprotectedvirtualnoexcept |
◆ operator<<() [1/2]
template<typename... drivers_t>
◆ operator<<() [2/2]
| virtual void dx::parser::operator<< |
( |
const args & | args | ) |
|
|
inlinevirtualinherited |
◆ parse()
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::parse |
( |
args & | args | ) |
|
|
inlinevirtualinherited |
Reimplemented in dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::proxy::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::device< super_device_t >, dx::virtuel::driver< dx::test::device< super_device_t > >, dx::stream::engine< dx::test::device< super_device_t >, audio_pin_t, dx::virtuel::driver< dx::test::device< super_device_t > >, int32_t > >, dx::test::driver< super_device_t, audio_pin_t, int32_t, dx::test::midi::device< super_device_t >, dx::proxy::driver< dx::test::midi::device< super_device_t > >, dx::stream::engine< dx::test::midi::device< super_device_t >, audio_pin_t, dx::proxy::driver< dx::test::midi::device< super_device_t > >, int32_t > >, and dx::test::driver< super_device_t, audio_pin_t, io_t, device_t, driver_t, engine_t >.
◆ select()
| const auto dx::parser::select |
( |
const std::string & | id | ) |
const |
|
inlineprotectedinherited |
◆ version()
| virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::parser::version |
( |
const args & | = {} | ) |
|
|
inlineprotectedvirtualnoexceptinherited |
◆ dictionary
| std::map<std::deque<std::string>, dispatch> dx::parser::dictionary |
|
protectedinherited |
Initial value:{
{{
"--help",
"-h",
"-?"},{std::bind(&
parser::help,
this, std::placeholders::_1),
"help or detailed help on specific arguments", [
this](){
for(
const auto& verb:
dictionary) std::cout<<
"["<< verb.first.front()<<
"] ";},
true}},
{{
"--quiet",
"-q"}, {std::bind(&
parser::quiet,
this, std::placeholders::_1),
"quiet!"}},
{{
"--version",
"-v"}, {std::bind(&
parser::version,
this, std::placeholders::_1), std::string{
"display "}+
name+
" version"}},
}
std::map< std::deque< std::string >, dispatch > dictionary
Definition dx_parser.h:119
const char * name
Definition dx_parser.h:58
bool quiet
Definition dx_parser.h:60
virtual void help(args &args) try
Definition dx_parser.h:154
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void version(const args &={}) noexcept
Definition dx_parser.h:188
◆ name
| const char* dx::parser::name {} |
|
protectedinherited |
◆ [struct]
| struct { ... } dx::parser::parameter |
◆ quiet
| bool dx::parser::quiet = false |
|
inherited |
The documentation for this class was generated from the following file: