libzypp  17.3.0
PoolQuery.cc File Reference
#include <iostream>
#include <sstream>
#include "zypp/base/Gettext.h"
#include "zypp/base/LogTools.h"
#include "zypp/base/Algorithm.h"
#include "zypp/base/String.h"
#include "zypp/repo/RepoException.h"
#include "zypp/RelCompare.h"
#include "zypp/sat/Pool.h"
#include "zypp/sat/Solvable.h"
#include "zypp/base/StrMatcher.h"
#include "zypp/PoolQuery.h"
Include dependency graph for PoolQuery.cc:

Go to the source code of this file.

Classes

class  zypp::PoolQuery::Impl
 
struct  zypp::MyInserter
 
struct  zypp::EmptyFilter
 
struct  zypp::PoolQueryAttr
 represents all atributes in PoolQuery except SolvAtributes, which are used as is (not needed extend anything if someone adds new solv attr) More...
 
class  zypp::StringTypeAttr
 
class  zypp::detail::PoolQueryMatcher
 Store PoolQuery settings and assist PoolQueryIterator. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::detail
 

Macros

#define ZYPP_BASE_LOGGER_LOGGROUP   "PoolQuery"
 
#define OUTS(M, S)   case Match::M: return #S; break
 
#define OUTS(M, C)   case *#C: return Match::M; break
 
#define OUTS(A)   if ( A != rhs.A ) return A < rhs.A;
 
#define WB   (_match_word ? string("\\b") : string())
 

Functions

static string zypp::wildcards2regex (const string &str)
 Converts '*' and '?' wildcards within str into their regex equivalents. More...
 
ostream & zypp::operator<< (ostream &str, const PoolQuery &obj)
 
std::ostream & zypp::dumpOn (std::ostream &str, const PoolQuery &obj)
 
std::ostream & zypp::detail::dumpOn (std::ostream &str, const PoolQueryIterator &obj)
 

Macro Definition Documentation

◆ ZYPP_BASE_LOGGER_LOGGROUP

#define ZYPP_BASE_LOGGER_LOGGROUP   "PoolQuery"

Definition at line 29 of file PoolQuery.cc.

◆ OUTS [1/3]

#define OUTS (   M,
 
)    case Match::M: return #S; break

◆ OUTS [2/3]

#define OUTS (   M,
 
)    case *#C: return Match::M; break

◆ OUTS [3/3]

#define OUTS (   A)    if ( A != rhs.A ) return A < rhs.A;

◆ WB

#define WB   (_match_word ? string("\\b") : string())

Variable Documentation

◆ _range

Edition::MatchRange _range

Definition at line 101 of file PoolQuery.cc.

◆ _arch

Arch _arch

Definition at line 102 of file PoolQuery.cc.

◆ _cap

Capability _cap

Definition at line 160 of file PoolQuery.cc.

◆ attr

sat::SolvAttr attr

Definition at line 311 of file PoolQuery.cc.

◆ strMatcher

StrMatcher strMatcher

Definition at line 312 of file PoolQuery.cc.

◆ predicate

Predicate predicate

Definition at line 313 of file PoolQuery.cc.

◆ predicateStr

std::string predicateStr

Definition at line 314 of file PoolQuery.cc.

◆ kindPredicate

ResKind kindPredicate = ResKind::nokind

Definition at line 315 of file PoolQuery.cc.