libzypp  17.1.1
Functional.h File Reference
#include <boost/functional.hpp>
#include "zypp/base/Function.h"
Include dependency graph for Functional.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zypp::functor::functor_detail::FunctorRef0< TFunctor, res_type >
 
struct  zypp::functor::functor_detail::FunctorRef1< TFunctor, res_type, arg1_type >
 
struct  zypp::functor::functor_detail::FunctorRef2< TFunctor, res_type, arg1_type, arg2_type >
 
struct  zypp::functor::functor_detail::nil
 
struct  zypp::functor::FunctorRef< TFunctor, res_type, arg1_type, arg2_type >
 A binary FunctorRef. More...
 
struct  zypp::functor::FunctorRef< TFunctor, res_type, arg1_type >
 A unary FunctorRef. More...
 
struct  zypp::functor::FunctorRef< TFunctor, res_type >
 A nullary FunctorRef. More...
 
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

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::functor
 
 zypp::functor::functor_detail
 An unary functor forwarding to some other TFunctor &.
 

Functions

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. More...
 
template<class res_type , class arg1_type , class TFunctor >
FunctorRef< TFunctor, res_type, arg1_type > zypp::functor::functorRef (TFunctor &f_r)
 
template<class res_type , class TFunctor >
FunctorRef< TFunctor, res_type > zypp::functor::functorRef (TFunctor &f_r)
 
template<class TConst >
Constant< TConst > zypp::functor::constant (const TConst &value)
 
True zypp::functor::true_c ()
 Convenience function for creating a True. More...
 
False zypp::functor::false_c ()
 Convenience function for creating a False. More...
 
template<class TCondition >
Not< TCondition > zypp::functor::not_c (TCondition cond_r)
 Convenience function for creating a Not from TCondition. More...
 
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. More...
 
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. More...
 
template<class Tp >
GetFirst< Tp > zypp::functor::getFirst (Tp &result_r)
 Convenience function for creating GetFirst. More...
 
template<class Tp >
GetLast< Tp > zypp::functor::getLast (Tp &result_r)
 Convenience function for creating GetLast. More...
 
template<class TOutputIterator >
GetAll< TOutputIterator > zypp::functor::getAll (TOutputIterator result_r)
 Convenience function for creating GetAll. More...