libzypp 17.38.6
relcompare.h File Reference
#include <zypp/RelCompare.h>
Include dependency graph for relcompare.h:

Go to the source code of this file.

Classes

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

Namespaces

namespace  zyppng

Functions

template<class Tp, class TCompare>
bool zyppng::compareByRel (Rel op, const Tp &lhs, const Tp &rhs, TCompare compare)
 Comparison of two elements using relational operator op.