Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
clara::detail::BoundValueRef< T > Struct Template Reference

#include <clara.hpp>

Inheritance diagram for clara::detail::BoundValueRef< T >:
Collaboration diagram for clara::detail::BoundValueRef< T >:

Public Member Functions

 BoundValueRef (T &ref)
 
auto setValue (std::string const &arg) -> ParserResult override
 
- Public Member Functions inherited from clara::detail::BoundValueRefBase
- Public Member Functions inherited from clara::detail::BoundRef
virtual ~BoundRef ()=default
 
virtual auto isContainer () const -> bool
 
virtual auto isFlag () const -> bool
 
- Public Member Functions inherited from clara::detail::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
 NonCopyable (NonCopyable &&)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable &&)=delete
 

Public Attributes

Tm_ref
 

Detailed Description

template<typename T>
struct clara::detail::BoundValueRef< T >

Definition at line 712 of file clara.hpp.

Constructor & Destructor Documentation

◆ BoundValueRef()

template<typename T >
clara::detail::BoundValueRef< T >::BoundValueRef ( T & ref)
inlineexplicit

Definition at line 715 of file clara.hpp.

715: m_ref( ref ) {}

Member Function Documentation

◆ setValue()

template<typename T >
auto clara::detail::BoundValueRef< T >::setValue ( std::string const & arg) -> ParserResult
inlineoverridevirtual

Implements clara::detail::BoundValueRefBase.

Definition at line 717 of file clara.hpp.

717 {
718 return convertInto( arg, m_ref );
719 }
auto convertInto(std::string const &source, T &target) -> ParserResult
Definition clara.hpp:655
Here is the call graph for this function:

Member Data Documentation

◆ m_ref

template<typename T >
T& clara::detail::BoundValueRef< T >::m_ref

Definition at line 713 of file clara.hpp.


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