|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
select from aggregated drivers More...
#include <dx_parser.h>
Public Types | |
| typedef std::deque<std::string> | args |
Public Member Functions | |
| virtual void | operator <<(const argsargs& argsargs) |
| void | operator <<(argsargs& argsargs) override |
| argv split at the bus selectors: everything up to the next --<bus> goes to the bus named by the current one, so one command line drives several drivers in turn | |
| template<typename... parser_t> | |
| select(const char* name, parser_t&&... parser) | |
Protected Member Functions | |
| virtual bool | head() const noexcept |
| virtual void | help(argsargs& argsargs) |
| void | help_head() const noexcept override |
| virtual void | indent(argsargs& argsargs) |
| virtual void | no_args(const argsargs& argsargs) |
| auto | select(const std::string& id) |
| virtual void | version(const argsargs& argsargs= {}) |
Static Protected Member Functions | |
| template<typename value_t= int32_t> | |
| static std::optional<value_t> | value(argsargs& argsargs) |
| template<typename value_t= int32_t> | |
| static value_t | value(argsargs& argsargs, const char* name) |
| the next argument as a number of value_t, which the parameter named requires | |
| template<typename value_t> | |
| static value_t | value(argsargs& argsargs, value_t dflt) |
| the next argument as a number of value_t, the default where it is none | |
Protected Attributes | |
| std::map<std::deque<std::string>, dispatch> | dictionary |
| const char* | name{} |
| struct dx::parser:: { ... } | parameter |
select from aggregated drivers
|
inherited |
|
inline |
|
inlineprotectedvirtualnoexceptinherited |
Reimplemented in dx::service::parser, dx::test::driver< super_device_t, device_t, driver_t >, dx::test::stream::device< super_device_t, _engine_t >, dx::test::stream::device< super_device_t, engine_t >, dx::test::stream::device< super_device_t, typename super_device_t::group_t >, and dx::test::stream::driver< super_device_t, device_t, driver_t >.
|
inlineprotectedvirtualinherited |
|
inlineoverrideprotectedvirtualnoexcept |
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
|
inlineoverridevirtual |
argv split at the bus selectors: everything up to the next --<bus> goes to the bus named by the current one, so one command line drives several drivers in turn
Reimplemented from dx::parser.
|
inlineprotectedinherited |
|
inlinestaticprotectedinherited |
the next argument where it is a number of value_t, consumed: $ and 0x hexadecimal, decimal otherwise - none where it is no number or outside value_t
|
inlinestaticprotectedinherited |
the next argument as a number of value_t, which the parameter named requires
|
inlinestaticprotectedinherited |
the next argument as a number of value_t, the default where it is none
|
inlineprotectedvirtualinherited |
|
protectedinherited |
|
protectedinherited |
| struct { ... } dx::parser::parameter |