Public Member Functions | Protected Attributes
cxxopts::values::standard_value< T > Class Template Reference

#include <cxxopts.hpp>

Inheritance diagram for cxxopts::values::standard_value< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual std::shared_ptr< Valuedefault_value (const std::string &value)
const Tget () 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< Valueimplicit_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< Tm_result
Tm_store

Detailed Description

template<typename T>
class cxxopts::values::standard_value< T >

Definition at line 439 of file cxxopts.hpp.


Constructor & Destructor Documentation

template<typename T >
cxxopts::values::standard_value< T >::standard_value ( ) [inline]

Definition at line 442 of file cxxopts.hpp.

template<typename T >
cxxopts::values::standard_value< T >::standard_value ( T t) [inline]

Definition at line 448 of file cxxopts.hpp.


Member Function Documentation

template<typename T >
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.

template<typename T >
const T& cxxopts::values::standard_value< T >::get ( ) const [inline]

Definition at line 517 of file cxxopts.hpp.

template<typename T >
std::string cxxopts::values::standard_value< T >::get_default_value ( ) const [inline, virtual]

Implements cxxopts::Value.

Definition at line 505 of file cxxopts.hpp.

template<typename T >
std::string cxxopts::values::standard_value< T >::get_implicit_value ( ) const [inline, virtual]

Implements cxxopts::Value.

Definition at line 511 of file cxxopts.hpp.

template<typename T >
bool cxxopts::values::standard_value< T >::has_arg ( ) const [inline, virtual]

Implements cxxopts::Value.

Definition at line 473 of file cxxopts.hpp.

template<typename T >
bool cxxopts::values::standard_value< T >::has_default ( ) const [inline, virtual]

Implements cxxopts::Value.

Definition at line 479 of file cxxopts.hpp.

template<typename T >
bool cxxopts::values::standard_value< T >::has_implicit ( ) const [inline, virtual]

Implements cxxopts::Value.

Definition at line 485 of file cxxopts.hpp.

template<typename T >
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.

template<typename T >
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.

template<typename T >
void cxxopts::values::standard_value< T >::parse ( ) const [inline, virtual]

Implements cxxopts::Value.

Definition at line 467 of file cxxopts.hpp.


Member Data Documentation

template<typename T >
bool cxxopts::values::standard_value< T >::m_default = false [protected]

Definition at line 532 of file cxxopts.hpp.

template<typename T >
std::string cxxopts::values::standard_value< T >::m_default_value [protected]

Definition at line 533 of file cxxopts.hpp.

template<typename T >
bool cxxopts::values::standard_value< T >::m_implicit = false [protected]

Definition at line 534 of file cxxopts.hpp.

template<typename T >
std::string cxxopts::values::standard_value< T >::m_implicit_value [protected]

Definition at line 535 of file cxxopts.hpp.

template<typename T >
std::shared_ptr<T> cxxopts::values::standard_value< T >::m_result [protected]

Definition at line 530 of file cxxopts.hpp.

template<typename T >
T* cxxopts::values::standard_value< T >::m_store [protected]

Definition at line 531 of file cxxopts.hpp.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:10