dxd - dynax driver framework 2.6.0d197
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::test::select< drivers_t > Class Template Reference

#include <dx_test.h>

+ Inheritance diagram for dx::test::select< drivers_t >:
+ Collaboration diagram for dx::test::select< drivers_t >:

Public Types

typedef std::deque< std::string > args
 

Public Member Functions

 catch (...)
 
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
 
 catch (const std::exception &__std_exception)
 
virtual bool head () const noexcept
 
virtual void help (args &args) try
 
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void help_head ()
 
virtual void help_listparameter (const decltype(dictionary)&dictionary) const try
 
virtual void help_scope ()
 
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void help_subparameter (const decltype(dictionary)&dictionary) const try
 
void operator<< (args &args) override try
 
virtual void operator<< (const args &args)
 
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void parse (args &args)
 
virtual void parse_subparameter (const decltype(dictionary)&dictionary, args &args) const
 
const auto select (const std::string &id) const try
 
template<typename... driver_t>
 select (driver_t &&... driver)
 
virtual void version (const args &={}) noexcept
 

Public Attributes

std::map< std::deque< std::string >, dispatchdictionary
 

Protected Attributes

struct { 
 
   bool   quiet = false 
 
parameter 
 

Member Typedef Documentation

◆ args

typedef std::deque<std::string> dx::test::parser::args
inherited

Constructor & Destructor Documentation

◆ select()

template<typename... drivers_t>
template<typename... driver_t>
dx::test::select< drivers_t >::select ( driver_t &&... driver)
inline
+ Here is the call graph for this function:

Member Function Documentation

◆ catch() [1/3]

template<typename... drivers_t>
dx::test::select< drivers_t >::catch ( ...)
inline

◆ catch() [2/3]

template<typename... drivers_t>
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::test::select< drivers_t >::catch ( const dx::exception & __dx_exception)
inline

◆ catch() [3/3]

template<typename... drivers_t>
dx::test::select< drivers_t >::catch ( const std::exception & __std_exception)
inline

◆ head()

◆ help()

virtual void dx::test::parser::help ( args & args)
inlinevirtualinherited

◆ help_head()

virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::parser::help_head ( )
inlinevirtualinherited

◆ help_listparameter()

virtual void dx::test::parser::help_listparameter ( const decltype(dictionary)& dictionary) const
inlinevirtualinherited

◆ help_scope()

◆ help_subparameter()

virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::test::parser::help_subparameter ( const decltype(dictionary)& dictionary) const
inlinevirtualinherited

◆ operator<<() [1/2]

template<typename... drivers_t>
void dx::test::select< drivers_t >::operator<< ( args & args)
inlineoverridevirtual

Reimplemented from dx::test::parser.

+ Here is the call graph for this function:

◆ operator<<() [2/2]

virtual void dx::test::parser::operator<< ( const args & args)
inlinevirtualinherited
+ Here is the caller graph for this function:

◆ parse()

◆ parse_subparameter()

virtual void dx::test::parser::parse_subparameter ( const decltype(dictionary)& dictionary,
args & args ) const
inlinevirtualinherited

◆ select()

const auto dx::test::parser::select ( const std::string & id) const
inlineinherited
+ Here is the caller graph for this function:

◆ version()

virtual void dx::test::parser::version ( const args & = {})
inlinevirtualnoexceptinherited

Member Data Documentation

◆ dictionary

std::map<std::deque<std::string>, dispatch> dx::test::parser::dictionary
inherited
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), "display the cmd line test application version"}},
}
virtual void help(args &args) try
Definition dx_test_parser.h:166
virtual void version(const args &={}) noexcept
Definition dx_test_parser.h:201
std::map< std::deque< std::string >, dispatch > dictionary
Definition dx_test_parser.h:72
bool quiet
Definition dx_test_parser.h:59

◆ [struct]

struct { ... } dx::test::parser::parameter

◆ quiet

bool dx::test::parser::quiet = false
inherited

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Thu Jan 29 2026

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.