libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::CmdLineBoolArgParser Class Reference

#include <CmdLineParsing.h>

+ Inheritance diagram for osmscout::CmdLineBoolArgParser:

Public Types

typedef std::function< void(const
bool &)> 

Public Member Functions

 CmdLineBoolArgParser (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

typedef std::function<void(const bool&)> osmscout::CmdLineBoolArgParser::SetterFunction

Constructor & Destructor Documentation

osmscout::CmdLineBoolArgParser::CmdLineBoolArgParser ( SetterFunction &&  setter)

Member Function Documentation

std::string osmscout::CmdLineBoolArgParser::GetOptionHint ( ) const
std::string osmscout::CmdLineBoolArgParser::GetPositionalHint ( const std::string &  positional) const

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