libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::CmdLineNumberArgParser< N > Class Template Reference

#include <CmdLineParsing.h>

+ Inheritance diagram for osmscout::CmdLineNumberArgParser< N >:

Public Types

typedef std::function< void(const
N &)> 
SetterFunction
 

Public Member Functions

 CmdLineNumberArgParser (SetterFunction &&setter)
 
std::string GetOptionHint () const
 
std::string GetPositionalHint (const std::string &positional) const
 
CmdLineParseResult Parse (CmdLineScanner &scanner)
 
- Public Member Functions inherited from osmscout::CmdLineArgParser
void SetArgumentName (const std::string &argumentName)
 
virtual ~CmdLineArgParser ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from osmscout::CmdLineArgParser
std::string GetArgumentName () const
 

Member Typedef Documentation

template<typename N >
typedef std::function<void(const N&)> osmscout::CmdLineNumberArgParser< N >::SetterFunction

Constructor & Destructor Documentation

template<typename N >
osmscout::CmdLineNumberArgParser< N >::CmdLineNumberArgParser ( SetterFunction &&  setter)
inline

Member Function Documentation

template<typename N >
std::string osmscout::CmdLineNumberArgParser< N >::GetOptionHint ( ) const
inlinevirtual
template<typename N >
std::string osmscout::CmdLineNumberArgParser< N >::GetPositionalHint ( const std::string &  positional) const
inlinevirtual

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