#include <cxxopts.hpp>
Public Member Functions | |
virtual std::shared_ptr< Value > | default_value (const std::string &value) |
const T & | get () const |
std::string | get_default_value () const |
std::string | get_implicit_value () const |
bool | has_arg () const |
bool | has_default () const |
bool | has_implicit () const |
virtual std::shared_ptr< Value > | implicit_value (const std::string &value) |
void | parse (const std::string &text) const |
void | parse () const |
standard_value () | |
standard_value (T *t) | |
Protected Attributes | |
bool | m_default = false |
std::string | m_default_value |
bool | m_implicit = false |
std::string | m_implicit_value |
std::shared_ptr< T > | m_result |
T * | m_store |
Definition at line 439 of file cxxopts.hpp.
cxxopts::values::standard_value< T >::standard_value | ( | ) | [inline] |
Definition at line 442 of file cxxopts.hpp.
cxxopts::values::standard_value< T >::standard_value | ( | T * | t | ) | [inline] |
Definition at line 448 of file cxxopts.hpp.
virtual std::shared_ptr<Value> cxxopts::values::standard_value< T >::default_value | ( | const std::string & | value | ) | [inline, virtual] |
Implements cxxopts::Value.
Definition at line 491 of file cxxopts.hpp.
const T& cxxopts::values::standard_value< T >::get | ( | ) | const [inline] |
Definition at line 517 of file cxxopts.hpp.
std::string cxxopts::values::standard_value< T >::get_default_value | ( | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 505 of file cxxopts.hpp.
std::string cxxopts::values::standard_value< T >::get_implicit_value | ( | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 511 of file cxxopts.hpp.
bool cxxopts::values::standard_value< T >::has_arg | ( | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 473 of file cxxopts.hpp.
bool cxxopts::values::standard_value< T >::has_default | ( | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 479 of file cxxopts.hpp.
bool cxxopts::values::standard_value< T >::has_implicit | ( | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 485 of file cxxopts.hpp.
virtual std::shared_ptr<Value> cxxopts::values::standard_value< T >::implicit_value | ( | const std::string & | value | ) | [inline, virtual] |
Implements cxxopts::Value.
Definition at line 498 of file cxxopts.hpp.
void cxxopts::values::standard_value< T >::parse | ( | const std::string & | text | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 454 of file cxxopts.hpp.
void cxxopts::values::standard_value< T >::parse | ( | ) | const [inline, virtual] |
Implements cxxopts::Value.
Definition at line 467 of file cxxopts.hpp.
bool cxxopts::values::standard_value< T >::m_default = false [protected] |
Definition at line 532 of file cxxopts.hpp.
std::string cxxopts::values::standard_value< T >::m_default_value [protected] |
Definition at line 533 of file cxxopts.hpp.
bool cxxopts::values::standard_value< T >::m_implicit = false [protected] |
Definition at line 534 of file cxxopts.hpp.
std::string cxxopts::values::standard_value< T >::m_implicit_value [protected] |
Definition at line 535 of file cxxopts.hpp.
std::shared_ptr<T> cxxopts::values::standard_value< T >::m_result [protected] |
Definition at line 530 of file cxxopts.hpp.
T* cxxopts::values::standard_value< T >::m_store [protected] |
Definition at line 531 of file cxxopts.hpp.