#include <cxxopts.hpp>
Public Member Functions | |
| template<typename T > | |
| const T & | as () const |
| int | count () const |
| const String & | description () const |
| bool | has_arg () const |
| OptionDetails (const String &description, std::shared_ptr< const Value > value) | |
| void | parse (const std::string &text) |
| void | parse_default () |
| const Value & | value () const |
Private Attributes | |
| int | m_count |
| String | m_desc |
| std::shared_ptr< const Value > | m_value |
Definition at line 555 of file cxxopts.hpp.
| cxxopts::OptionDetails::OptionDetails | ( | const String & | description, |
| std::shared_ptr< const Value > | value | ||
| ) | [inline] |
Definition at line 559 of file cxxopts.hpp.
| const T& cxxopts::OptionDetails::as | ( | ) | const [inline] |
Definition at line 607 of file cxxopts.hpp.
| int cxxopts::OptionDetails::count | ( | ) | const [inline] |
Definition at line 596 of file cxxopts.hpp.
| const String& cxxopts::OptionDetails::description | ( | ) | const [inline] |
Definition at line 570 of file cxxopts.hpp.
| bool cxxopts::OptionDetails::has_arg | ( | ) | const [inline] |
Definition at line 576 of file cxxopts.hpp.
| void cxxopts::OptionDetails::parse | ( | const std::string & | text | ) | [inline] |
Definition at line 582 of file cxxopts.hpp.
| void cxxopts::OptionDetails::parse_default | ( | ) | [inline] |
Definition at line 589 of file cxxopts.hpp.
| const Value& cxxopts::OptionDetails::value | ( | ) | const [inline] |
Definition at line 601 of file cxxopts.hpp.
int cxxopts::OptionDetails::m_count [private] |
Definition at line 619 of file cxxopts.hpp.
String cxxopts::OptionDetails::m_desc [private] |
Definition at line 617 of file cxxopts.hpp.
std::shared_ptr<const Value> cxxopts::OptionDetails::m_value [private] |
Definition at line 618 of file cxxopts.hpp.