libzypp  16.22.5
zypp::functor Namespace Reference

Namespaces

 functor_detail
 An unary functor forwarding to some other TFunctor &.
 

Classes

struct  Collector
 Functor feeding values to an output_iterator. More...
 
struct  FunctorRef
 A binary FunctorRef. More...
 
struct  FunctorRef< TFunctor, res_type, arg1_type >
 A unary FunctorRef. More...
 
struct  FunctorRef< TFunctor, res_type >
 A nullary FunctorRef. More...
 
struct  Constant
 
struct  True
 Logical functor always true. More...
 
struct  False
 Logical functor always false. More...
 
struct  Not
 Logical functor inverting TCondition. More...
 
struct  Or
 Logical functor chaining TACondition OR TBCondition. More...
 
struct  Chain
 Logical functor chaining TACondition AND TBCondition. More...
 
struct  GetFirst
 Strore the 1st result found in the variable passed to the ctor. More...
 
struct  GetLast
 Strore the last result found in the variable passed to the ctor. More...
 
struct  GetAll
 Store all results found to some output_iterator. More...
 

Functions

template<class res_type , class arg1_type , class arg2_type , class TFunctor >
FunctorRef< TFunctor, res_type,
arg1_type, arg2_type > 
functorRef (TFunctor &f_r)
 Convenience function creating a binary FunctorRef. More...
 
template<class res_type , class arg1_type , class TFunctor >
FunctorRef< TFunctor, res_type,
arg1_type > 
functorRef (TFunctor &f_r)
 
template<class res_type , class TFunctor >
FunctorRef< TFunctor, res_type > functorRef (TFunctor &f_r)
 
template<class TConst >
Constant< TConst > constant (const TConst &value)
 
True true_c ()
 Convenience function for creating a True. More...
 
False false_c ()
 Convenience function for creating a False. More...
 
template<class TCondition >
Not< TCondition > not_c (TCondition cond_r)
 Convenience function for creating a Not from TCondition. More...
 
template<class TACondition , class TBCondition >
Or< TACondition, TBCondition > or_c (TACondition conda_r, TBCondition condb_r)
 Convenience function for creating a Or from two conditions conda_r OR condb_r. More...
 
template<class TACondition , class TBCondition >
Chain< TACondition, TBCondition > chain (TACondition conda_r, TBCondition condb_r)
 Convenience function for creating a Chain from two conditions conda_r and condb_r. More...
 
template<class Tp >
GetFirst< Tp > getFirst (Tp &result_r)
 Convenience function for creating GetFirst. More...
 
template<class Tp >
GetLast< Tp > getLast (Tp &result_r)
 Convenience function for creating GetLast. More...
 
template<class TOutputIterator >
GetAll< TOutputIterator > getAll (TOutputIterator result_r)
 Convenience function for creating GetAll. More...
 

Function Documentation

template<class res_type , class arg1_type , class arg2_type , class TFunctor >
FunctorRef<TFunctor, res_type, arg1_type, arg2_type> zypp::functor::functorRef ( TFunctor &  f_r)

Convenience function creating a binary FunctorRef.

Definition at line 173 of file Functional.h.

template<class res_type , class arg1_type , class TFunctor >
FunctorRef<TFunctor, res_type, arg1_type> zypp::functor::functorRef ( TFunctor &  f_r)

Definition at line 177 of file Functional.h.

template<class res_type , class TFunctor >
FunctorRef<TFunctor, res_type> zypp::functor::functorRef ( TFunctor &  f_r)

Definition at line 181 of file Functional.h.