libzypp: zypp-core/base/Functional.h File Reference

libzypp 17.38.11

Functional.h File Reference

Go to the source code of this file.

## Classes
struct | zypp::functor::Constant< TConst >
struct | zypp::functor::True
| Logical functor always `true`. More...
struct | zypp::functor::False
| Logical functor always `false`. More...
struct | zypp::functor::Not< TCondition >
| Logical functor inverting TCondition. More...
struct | zypp::functor::Or< TACondition, TBCondition >
| Logical functor chaining TACondition `OR` TBCondition. More...
struct | zypp::functor::Chain< TACondition, TBCondition >
| Logical functor chaining TACondition `AND` TBCondition. More...
struct | zypp::functor::GetFirst< Tp >
| Strore the 1st result found in the variable passed to the ctor. More...
struct | zypp::functor::GetLast< Tp >
| Strore the last result found in the variable passed to the ctor. More...
struct | zypp::functor::GetAll< TOutputIterator >
| Store all results found to some output_iterator. More...

## Namespaces
namespace | zypp
| Easy-to use interface to the ZYPP dependency resolver.
namespace | zypp::functor

## Functions
template<class TConst>
Constant< TConst > | zypp::functor::constant (const TConst &value)
True | zypp::functor::true_c ()
| Convenience function for creating a True.
False | zypp::functor::false_c ()
| Convenience function for creating a False.
template<class TCondition>
Not< TCondition > | zypp::functor::not_c (TCondition cond_r)
| Convenience function for creating a Not from TCondition.
template<class TACondition, class TBCondition>
Or< TACondition, TBCondition > | zypp::functor::or_c (TACondition conda_r, TBCondition condb_r)
| Convenience function for creating a Or from two conditions conda_r OR condb_r.
template<class TACondition, class TBCondition>
Chain< TACondition, TBCondition > | zypp::functor::chain (TACondition conda_r, TBCondition condb_r)
| Convenience function for creating a Chain from two conditions conda_r and condb_r.
template<class Tp>
GetFirst< Tp > | zypp::functor::getFirst (Tp &result_r)
| Convenience function for creating GetFirst.
template<class Tp>
GetLast< Tp > | zypp::functor::getLast (Tp &result_r)
| Convenience function for creating GetLast.
template<class TOutputIterator>
GetAll< TOutputIterator > | zypp::functor::getAll (TOutputIterator result_r)
| Convenience function for creating GetAll.