libUTL++
Predicates

Predicate classes. More...

Classes

class  utl::Predicate
 Logical predicate abstraction. More...
 
class  utl::IsA
 is-A predicate. More...
 
class  utl::UnaryPredicate
 Abstraction for single-parameter predicates. More...
 
class  utl::BinaryPredicate
 Abstraction for two-parameter predicates. More...
 
class  utl::ComparisonPredicate
 Abstraction for comparison predicates. More...
 
class  utl::Not
 Logical not predicate. More...
 
class  utl::And
 Logical and predicate. More...
 
class  utl::Or
 Logical or predicate. More...
 
class  utl::EqualTo
 Equal-To predicate. More...
 
class  utl::LessThan
 Less-Than predicate. More...
 
class  utl::LessThanOrEqualTo
 Less-Than-Or-Equal-To predicate. More...
 
class  utl::GreaterThan
 Greater-Than predicate. More...
 
class  utl::GreaterThanOrEqualTo
 Greater-Than-Or-Equal-To predicate. More...
 

Functions

utl::Not operator! (const utl::Predicate &pred)
 (! Predicate) constructs an instance of the Not predicate. More...
 
utl::And operator && (const utl::Predicate &lhs, const utl::Predicate &rhs)
 (Predicate && Predicate) constructs an instance of the And predicate. More...
 
utl::Or operator|| (const utl::Predicate &lhs, const utl::Predicate &rhs)
 (Predicate || Predicate) constructs an instance of the Or predicate. More...
 

Detailed Description

Predicate classes.

Function Documentation

◆ operator!()

utl::Not operator! ( const utl::Predicate pred)
inline

(! Predicate) constructs an instance of the Not predicate.

See also
Not

Definition at line 904 of file Predicate.h.

◆ operator &&()

utl::And operator&& ( const utl::Predicate lhs,
const utl::Predicate rhs 
)
inline

(Predicate && Predicate) constructs an instance of the And predicate.

See also
And

Definition at line 916 of file Predicate.h.

◆ operator||()

utl::Or operator|| ( const utl::Predicate lhs,
const utl::Predicate rhs 
)
inline

(Predicate || Predicate) constructs an instance of the Or predicate.

See also
Or

Definition at line 928 of file Predicate.h.