Rerun C++ SDK
Loading...
Searching...
No Matches
cxxopts::values::standard_value< T > Class Template Reference
Inheritance diagram for cxxopts::values::standard_value< T >:
cxxopts::values::abstract_value< T > cxxopts::Value

Public Member Functions

CXXOPTS_NODISCARD std::shared_ptr< Valueclone () const override
 
- Public Member Functions inherited from cxxopts::values::abstract_value< T >
 abstract_value (T *t)
 
abstract_valueoperator= (const abstract_value &)=default
 
 abstract_value (const abstract_value &rhs)
 
void parse (const std::string &text) const override
 
bool is_container () const override
 
void parse () const override
 
bool has_default () const override
 
bool has_implicit () const override
 
std::shared_ptr< Valuedefault_value (const std::string &value) override
 
std::shared_ptr< Valueimplicit_value (const std::string &value) override
 
std::shared_ptr< Valueno_implicit_value () override
 
std::string get_default_value () const override
 
std::string get_implicit_value () const override
 
bool is_boolean () const override
 
const T & get () const
 
virtual std::shared_ptr< Valueclone () const =0
 
virtual void parse (const std::string &text) const =0
 
virtual void parse () const =0
 
virtual bool has_default () const =0
 
virtual bool is_container () const =0
 
virtual bool has_implicit () const =0
 
virtual std::string get_default_value () const =0
 
virtual std::string get_implicit_value () const =0
 
virtual std::shared_ptr< Valuedefault_value (const std::string &value)=0
 
virtual std::shared_ptr< Valueimplicit_value (const std::string &value)=0
 
virtual std::shared_ptr< Valueno_implicit_value ()=0
 
virtual bool is_boolean () const =0
 

Additional Inherited Members

- Protected Attributes inherited from cxxopts::values::abstract_value< T >
std::shared_ptr< T > m_result {}
 
T * m_store {}
 
bool m_default = false
 
bool m_implicit = false
 
std::string m_default_value {}
 
std::string m_implicit_value {}
 

Member Function Documentation

◆ clone()

template<typename T >
CXXOPTS_NODISCARD std::shared_ptr< Value > cxxopts::values::standard_value< T >::clone ( ) const
inlineoverridevirtual

Implements cxxopts::Value.


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