Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::clara::detail::BoundFlagRef Struct Reference

#include <clara.hpp>

Inheritance diagram for Catch::clara::detail::BoundFlagRef:
Collaboration diagram for Catch::clara::detail::BoundFlagRef:

Public Member Functions

 BoundFlagRef (bool &ref)
 
auto setFlag (bool flag) -> ParserResult override
 
- Public Member Functions inherited from Catch::clara::detail::BoundFlagRefBase
virtual auto isFlag () const -> bool
 
- Public Member Functions inherited from Catch::clara::detail::BoundRef
virtual ~BoundRef ()=default
 
virtual auto isContainer () const -> bool
 
- Public Member Functions inherited from Catch::clara::detail::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
 NonCopyable (NonCopyable &&)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable &&)=delete
 

Public Attributes

bool & m_ref
 

Detailed Description

Definition at line 739 of file clara.hpp.

Constructor & Destructor Documentation

◆ BoundFlagRef()

Catch::clara::detail::BoundFlagRef::BoundFlagRef ( bool & ref)
inlineexplicit

Definition at line 742 of file clara.hpp.

742: m_ref( ref ) {}

Member Function Documentation

◆ setFlag()

auto Catch::clara::detail::BoundFlagRef::setFlag ( bool flag) -> ParserResult
inlineoverridevirtual

Implements Catch::clara::detail::BoundFlagRefBase.

Definition at line 744 of file clara.hpp.

744 {
745 m_ref = flag;
747 }
static auto ok() -> BasicResult
Definition clara.hpp:593
Here is the call graph for this function:

Member Data Documentation

◆ m_ref

bool& Catch::clara::detail::BoundFlagRef::m_ref

Definition at line 740 of file clara.hpp.


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