TSDuck Version 3.32-2775 (TSDuck - The MPEG Transport Stream Toolkit)
tsBoolPredicate.h File Reference

General-purpose boolean predicates. More...

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Typedefs

typedef bool(* ts::BoolPredicate) (bool, bool)
 Declaration of a boolean predicate with two arguments.
 
typedef bool(* ts::MonoBoolPredicate) (bool)
 Declaration of a boolean predicate with one argument.
 
typedef bool(* ts::MultiBoolPredicate) (std::initializer_list< bool >)
 Declaration of a boolean predicate with a variable number of arguments.
 

Functions

bool ts::And (bool arg1, bool arg2)
 BoolPredicate "and". More...
 
bool ts::Identity (bool arg)
 MonoBoolPredicate identity. More...
 
bool ts::MultiAnd (std::initializer_list< bool > args)
 MultiBoolPredicate "and". More...
 
bool ts::MultiNand (std::initializer_list< bool > args)
 MultiBoolPredicate "nand". More...
 
bool ts::MultiNor (std::initializer_list< bool > args)
 MultiBoolPredicate "nor". More...
 
bool ts::MultiOr (std::initializer_list< bool > args)
 MultiBoolPredicate "or". More...
 
bool ts::Nand (bool arg1, bool arg2)
 BoolPredicate "nand". More...
 
bool ts::Nor (bool arg1, bool arg2)
 BoolPredicate "nor". More...
 
bool ts::Not (bool arg)
 MonoBoolPredicate "not". More...
 
bool ts::Or (bool arg1, bool arg2)
 BoolPredicate "or". More...
 
bool ts::Xor (bool arg1, bool arg2)
 BoolPredicate "exclusive or". More...
 

Detailed Description

General-purpose boolean predicates.