Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
toolbox::util::Presence< DerivedT > Class Template Reference

#include <toolbox/util/Options.hpp>

Public Types

enum  Type { Optional , Required }
 

Public Member Functions

DerivedTrequired ()
 
Type presence () const noexcept
 

Detailed Description

template<typename DerivedT>
class toolbox::util::Presence< DerivedT >

Definition at line 41 of file Options.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
Optional 
Required 

Definition at line 43 of file Options.hpp.

Member Function Documentation

◆ required()

template<typename DerivedT >
DerivedT & toolbox::util::Presence< DerivedT >::required ( )
inline

Definition at line 45 of file Options.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ presence()

template<typename DerivedT >
Type toolbox::util::Presence< DerivedT >::presence ( ) const
inlinenoexcept

Definition at line 51 of file Options.hpp.


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