pianod2
multisource multiuser scriptable networked music player
Public Member Functions | List of all members
Parsnip::DuplicateOption Class Reference

An option was supplied twice to an iterating option parser. More...

#include <parsnip_command.h>

Inheritance diagram for Parsnip::DuplicateOption:
Inheritance graph
[legend]
Collaboration diagram for Parsnip::DuplicateOption:
Collaboration graph
[legend]

Public Member Functions

 DuplicateOption ()
 
 DuplicateOption (const std::string &value)
 
- Public Member Functions inherited from Parsnip::Exception
virtual const char * what () const noexcept override
 
const char * where () const noexcept
 Retrieve the exception location information. More...
 
void addBacktraceLocation (const std::string &)
 Insert a new portion of the exception location at the front. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Parsnip::Exception
 Exception (const std::string &why)
 Construct an exception. More...
 
 Exception (const std::string &why, const std::string &detail)
 Construct an exception. More...
 
- Protected Attributes inherited from Parsnip::Exception
std::string reason
 Storage for the exception explanation. More...
 

Detailed Description

An option was supplied twice to an iterating option parser.

Constructor & Destructor Documentation

◆ DuplicateOption() [1/2]

Parsnip::DuplicateOption::DuplicateOption ( )
inline

◆ DuplicateOption() [2/2]

Parsnip::DuplicateOption::DuplicateOption ( const std::string &  value)
inline

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