Public Types | Public Member Functions | List of all members
NAF::Query::Condition< T > Class Template Reference

Public Types

using Ptr = std::shared_ptr< Condition >
 
using Functor = std::function< bool(T)>
 

Public Member Functions

 Condition (std::string identifier, ConditionType type, Functor functor)
 
ConditionType get_type () const
 
std::string get_identifier () const
 
Functor & get_functor ()
 
void set_identifier (std::string identifier)
 
void set_type (ConditionType type)
 
void set_functor (Functor functor)
 
bool VerifyCondition_ (T t)