TSDuck v3.38-3699
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsBoolPredicate.h File Reference

General-purpose boolean predicates. More...

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Typedefs

using ts::BoolPredicate = bool(*)(bool, bool)
 Declaration of a boolean predicate with two arguments.
 
using ts::MonoBoolPredicate = bool(*)(bool)
 Declaration of a boolean predicate with one argument.
 
using ts::MultiBoolPredicate = bool(*)(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".
 
bool ts::Identity (bool arg)
 MonoBoolPredicate identity.
 
bool ts::MultiAnd (std::initializer_list< bool > args)
 MultiBoolPredicate "and".
 
bool ts::MultiNand (std::initializer_list< bool > args)
 MultiBoolPredicate "nand".
 
bool ts::MultiNor (std::initializer_list< bool > args)
 MultiBoolPredicate "nor".
 
bool ts::MultiOr (std::initializer_list< bool > args)
 MultiBoolPredicate "or".
 
bool ts::Nand (bool arg1, bool arg2)
 BoolPredicate "nand".
 
bool ts::Nor (bool arg1, bool arg2)
 BoolPredicate "nor".
 
bool ts::Not (bool arg)
 MonoBoolPredicate "not".
 
bool ts::Or (bool arg1, bool arg2)
 BoolPredicate "or".
 
bool ts::Xor (bool arg1, bool arg2)
 BoolPredicate "exclusive or".
 

Detailed Description

General-purpose boolean predicates.