libzypp  13.10.6
Functional.h File Reference
#include <boost/functional.hpp>
#include "zypp/base/Function.h"

Go to the source code of this file.

Classes

struct  zypp::functor::functor_detail::FunctorRef0< _Functor, res_type >
 
struct  zypp::functor::functor_detail::FunctorRef1< _Functor, res_type, arg1_type >
 
struct  zypp::functor::functor_detail::FunctorRef2< _Functor, res_type, arg1_type, arg2_type >
 
struct  zypp::functor::functor_detail::nil
 
struct  zypp::functor::FunctorRef< _Functor, res_type, arg1_type, arg2_type >
 A binary FunctorRef. More...
 
struct  zypp::functor::FunctorRef< _Functor, res_type, arg1_type >
 A unary FunctorRef. More...
 
struct  zypp::functor::FunctorRef< _Functor, res_type >
 A nullary FunctorRef. More...
 
struct  zypp::functor::Constant< T >
 
struct  zypp::functor::True
 Logical functor always true. More...
 
struct  zypp::functor::False
 Logical functor always false. More...
 
struct  zypp::functor::Not< _Condition >
 Logical functor inverting _Condition. More...
 
struct  zypp::functor::Or< _ACondition, _BCondition >
 Logical functor chaining _ACondition OR _BCondition. More...
 
struct  zypp::functor::Chain< _ACondition, _BCondition >
 Logical functor chaining _ACondition AND _BCondition. 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< _OutputIterator >
 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 _Functor &.
 

Functions

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. More...
 
template<class res_type , class arg1_type , class _Functor >
FunctorRef< _Functor, res_type,
arg1_type > 
zypp::functor::functorRef (_Functor &f_r)
 
template<class res_type , class _Functor >
FunctorRef< _Functor, res_type > zypp::functor::functorRef (_Functor &f_r)
 
template<class T >
Constant< T > zypp::functor::constant (const T &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 _Condition >
Not< _Condition > zypp::functor::not_c (_Condition cond_r)
 Convenience function for creating a Not from _Condition. More...
 
template<class _ACondition , class _BCondition >
Or< _ACondition, _BCondition > zypp::functor::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 > zypp::functor::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 > 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 _OutputIterator >
GetAll< _OutputIterator > zypp::functor::getAll (_OutputIterator result_r)
 Convenience function for creating GetAll. More...