Modulo 4.2.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
modulo_core::Predicate Class Reference

Public Member Functions

 Predicate (const std::function< bool(void)> &predicate_function)
 
bool get_value () const
 
void set_predicate (const std::function< bool(void)> &predicate_function)
 
std::optional< bool > query ()
 

Detailed Description

Definition at line 13 of file Predicate.hpp.

Constructor & Destructor Documentation

◆ Predicate()

modulo_core::Predicate::Predicate ( const std::function< bool(void)> &  predicate_function)
inlineexplicit

Definition at line 15 of file Predicate.hpp.

Member Function Documentation

◆ get_value()

bool modulo_core::Predicate::get_value ( ) const
inline

Definition at line 19 of file Predicate.hpp.

◆ query()

std::optional< bool > modulo_core::Predicate::query ( )
inline

Definition at line 23 of file Predicate.hpp.

◆ set_predicate()

void modulo_core::Predicate::set_predicate ( const std::function< bool(void)> &  predicate_function)
inline

Definition at line 21 of file Predicate.hpp.


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