12#ifndef ZYPP_BASE_FUNCTIONAL_H
13#define ZYPP_BASE_FUNCTIONAL_H
57 template<
class TConst>
74 template<
class TConst>
109 template<
class TCondition>
126 template<
class TCondition>
134 template<
class TACondition,
class TBCondition>
155 template<
class TACondition,
class TBCondition>
163 template<
class TACondition,
class TBCondition>
184 template<
class TACondition,
class TBCondition>
253 template<
class TOutputIterator>
269 template<
class TOutputIterator>
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Constant< TConst > constant(const TConst &value)
False false_c()
Convenience function for creating a False.
Not< TCondition > not_c(TCondition cond_r)
Convenience function for creating a Not from TCondition.
Chain< TACondition, TBCondition > chain(TACondition conda_r, TBCondition condb_r)
Convenience function for creating a Chain from two conditions conda_r and condb_r.
GetFirst< Tp > getFirst(Tp &result_r)
Convenience function for creating GetFirst.
GetLast< Tp > getLast(Tp &result_r)
Convenience function for creating GetLast.
True true_c()
Convenience function for creating a True.
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.
GetAll< TOutputIterator > getAll(TOutputIterator result_r)
Convenience function for creating GetAll.
Easy-to use interface to the ZYPP dependency resolver.
Logical functor chaining TACondition AND TBCondition.
bool operator()(Tp t) const
Chain(TACondition conda_r, TBCondition condb_r)
TConst operator()(Tp) const
TConst operator()() const
Constant(const TConst &value)
Logical functor always false.
bool operator()(Tp) const
Store all results found to some output_iterator.
GetAll(TOutputIterator result_r)
bool operator()(const Tp &val_r) const
Strore the 1st result found in the variable passed to the ctor.
bool operator()(const Tp &val_r)
Strore the last result found in the variable passed to the ctor.
bool operator()(const Tp &val_r)
Logical functor inverting TCondition.
bool operator()(Tp t) const
Logical functor chaining TACondition OR TBCondition.
Or(TACondition conda_r, TBCondition condb_r)
bool operator()(Tp t) const
Logical functor always true.
bool operator()(Tp) const