libzypp  10.5.0
RelCompare.h File Reference
#include <functional>
#include "zypp/Rel.h"
Include dependency graph for RelCompare.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zypp::Compare< _Tp >
 General compare functor returning -1, 0, 1. More...
struct  zypp::CompareBy< _Tp, _Compare >
 Functor to compare two elements by Rel based on a general _Compare functor. More...
struct  zypp::CompareByEQ< _Tp, _Compare >
struct  zypp::CompareByNE< _Tp, _Compare >
struct  zypp::CompareByLT< _Tp, _Compare >
struct  zypp::CompareByLE< _Tp, _Compare >
struct  zypp::CompareByGT< _Tp, _Compare >
struct  zypp::CompareByGE< _Tp, _Compare >
struct  zypp::CompareByANY< _Tp, _Compare >
struct  zypp::CompareByNONE< _Tp, _Compare >

Namespaces

namespace  zypp
 

Easy-to use interface to the ZYPP dependency resolver.


Functions

template<class _Tp , class _Compare >
bool zypp::compareByRel (Rel op, const _Tp &lhs, const _Tp &rhs, _Compare compare)
 Comparison of two elements using relational operator op.
template<class _Tp >
bool zypp::compareByRel (Rel op, const _Tp &lhs, const _Tp &rhs)
 compareByRel convenience using Compare<_Tp> as general compare functor.

Detailed Description

Definition in file RelCompare.h.