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

#include <CmdLineParsing.h>

+ Inheritance diagram for osmscout::CmdLineStringListArgParser:

Public Types

using AppendFunction = std::function< void(const std::string &)>
 

Public Member Functions

 CmdLineStringListArgParser (AppendFunction &&appender)
 
std::string GetOptionHint () const override
 
std::string GetPositionalHint (const std::string &positional) const override
 
CmdLineParseResult Parse (CmdLineScanner &scanner) override
 
- Public Member Functions inherited from osmscout::CmdLineArgParser
void SetArgumentName (const std::string &argumentName)
 
void SetOptionName (const std::string &optionName)
 
virtual ~CmdLineArgParser ()=default
 

Additional Inherited Members

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

Member Typedef Documentation

◆ AppendFunction

using osmscout::CmdLineStringListArgParser::AppendFunction = std::function<void (const std::string &)>

Constructor & Destructor Documentation

◆ CmdLineStringListArgParser()

osmscout::CmdLineStringListArgParser::CmdLineStringListArgParser ( AppendFunction &&  appender)
explicit

Member Function Documentation

◆ GetOptionHint()

std::string osmscout::CmdLineStringListArgParser::GetOptionHint ( ) const
overridevirtual

◆ GetPositionalHint()

std::string osmscout::CmdLineStringListArgParser::GetPositionalHint ( const std::string &  positional) const
overridevirtual

◆ Parse()


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