Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::windowing Namespace Reference

Classes

struct  Position
 Signed window position. More...
 
struct  PositionF
 Real window position. More...
 
struct  PositionU
 Unsigned window position. More...
 
struct  Region
 Region for signed and unsigned size representations. More...
 
struct  Size
 Signed window size. More...
 
struct  SizeU
 Unsigned window size. More...
 

Functions

KZ_NO_DISCARD bool constexpr ifAndOnlyIf (bool p, bool q) noexcept
 Predicate for equivalence. More...
 
KZ_NO_DISCARD bool constexpr implies (bool p, bool q) noexcept
 Predicate for implication. More...
 
template<typename Q >
KZ_NO_DISCARD bool implies (bool p, Q &&q) noexcept
 Predicate for implication. More...
 

Function Documentation

KZ_NO_DISCARD bool constexpr kanzi::windowing::implies ( bool  p,
bool  q 
)
inlinenoexcept

Predicate for implication.

Parameters
pThe antecedent.
qThe consequent.
Returns
True if p implies q, false otherwise.
template<typename Q >
KZ_NO_DISCARD bool kanzi::windowing::implies ( bool  p,
Q &&  q 
)
inlinenoexcept

Predicate for implication.

Parameters
pThe antecedent.
qThe consequent predicate. Invoked only if p is true.
Returns
True if p implies q, false otherwise.
KZ_NO_DISCARD bool constexpr kanzi::windowing::ifAndOnlyIf ( bool  p,
bool  q 
)
inlinenoexcept

Predicate for equivalence.

Parameters
pThe first proposition.
qThe second proposition.
Returns
True if p is equivalent to q, false otherwise.