libzypp  13.10.6
zypp::functor Namespace Reference

Namespaces

 functor_detail
 An unary functor forwarding to some other _Functor &.
 

Classes

struct  _Collector
 Functor feeding values to an output_iterator. More...
 
struct  FunctorRef
 A binary FunctorRef. More...
 
struct  FunctorRef< _Functor, res_type, arg1_type >
 A unary FunctorRef. More...
 
struct  FunctorRef< _Functor, 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 _Condition. More...
 
struct  Or
 Logical functor chaining _ACondition OR _BCondition. More...
 
struct  Chain
 Logical functor chaining _ACondition AND _BCondition. 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 _Functor >
FunctorRef< _Functor, res_type,
arg1_type, arg2_type > 
functorRef (_Functor &f_r)
 Convenience function creating a binary FunctorRef. More...
 
template<class res_type , class arg1_type , class _Functor >
FunctorRef< _Functor, res_type,
arg1_type > 
functorRef (_Functor &f_r)
 
template<class res_type , class _Functor >
FunctorRef< _Functor, res_type > functorRef (_Functor &f_r)
 
template<class T >
Constant< T > constant (const T &value)
 
True true_c ()
 Convenience function for creating a True. More...
 
False false_c ()
 Convenience function for creating a False. More...
 
template<class _Condition >
Not< _Condition > not_c (_Condition cond_r)
 Convenience function for creating a Not from _Condition. More...
 
template<class _ACondition , class _BCondition >
Or< _ACondition, _BCondition > or_c (_ACondition conda_r, _BCondition condb_r)
 Convenience function for creating a Or from two conditions conda_r OR condb_r. More...
 
template<class _ACondition , class _BCondition >
Chain< _ACondition, _BCondition > chain (_ACondition conda_r, _BCondition 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 _OutputIterator >
GetAll< _OutputIterator > getAll (_OutputIterator result_r)
 Convenience function for creating GetAll. More...
 

Function Documentation

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

Convenience function creating a binary FunctorRef.

Definition at line 173 of file Functional.h.

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

Definition at line 177 of file Functional.h.

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

Definition at line 181 of file Functional.h.