libzypp  17.7.0
zypp::PoolQuery::Impl Class Reference

Public Member Functions

 Impl ()
 
 ~Impl ()
 
string asString () const
 String representation. More...
 
bool operator< (const PoolQuery::Impl &rhs) const
 
bool operator== (const PoolQuery::Impl &rhs) const
 
bool operator!= (const PoolQuery::Impl &rhs) const
 
void compile () const
 Compile the regex. More...
 

Public Attributes

AttrMatchList _attrMatchList
 StrMatcher per attribtue. More...
 
Raw query options.
StrContainer _strings
 Raw search strings. More...
 
AttrRawStrMap _attrs
 Raw attributes. More...
 
std::set< AttrMatchData > _uncompiledPredicated
 Uncompiled attributes with predicate. More...
 
Match _flags
 Sat solver search flags. More...
 
bool _match_word
 
bool _require_all
 
StatusFilter _status_flags
 Sat solver status flags. More...
 
Edition _edition
 Edition condition operand. More...
 
Rel _op
 Operator for edition condition. More...
 
StrContainer _repos
 Repos to search. More...
 
Kinds _kinds
 Kinds to search. More...
 

Private Member Functions

string createRegex (const StrContainer &container, const Match &flags) const
 Pass flags from compile, as they may have been changed. More...
 
Implclone () const
 clone for RWCOW_pointer More...
 

Friends

ImplrwcowClone (const Impl *rhs)
 

Detailed Description

Definition at line 415 of file PoolQuery.cc.

Constructor & Destructor Documentation

◆ Impl()

zypp::PoolQuery::Impl::Impl ( )
inline

Definition at line 418 of file PoolQuery.cc.

◆ ~Impl()

zypp::PoolQuery::Impl::~Impl ( )
inline

Definition at line 425 of file PoolQuery.cc.

Member Function Documentation

◆ asString()

string zypp::PoolQuery::Impl::asString ( ) const

String representation.

Definition at line 832 of file PoolQuery.cc.

◆ operator<()

bool zypp::PoolQuery::Impl::operator< ( const PoolQuery::Impl rhs) const
inline

Definition at line 463 of file PoolQuery.cc.

◆ operator==()

bool zypp::PoolQuery::Impl::operator== ( const PoolQuery::Impl rhs) const
inline

Definition at line 481 of file PoolQuery.cc.

◆ operator!=()

bool zypp::PoolQuery::Impl::operator!= ( const PoolQuery::Impl rhs) const
inline

Definition at line 509 of file PoolQuery.cc.

◆ compile()

void zypp::PoolQuery::Impl::compile ( ) const

Compile the regex.

Basically building the _attrMatchList from strings.

Exceptions
MatchExceptionAny of the exceptions thrown by StrMatcher::compile.

Compiled search strings.

Definition at line 557 of file PoolQuery.cc.

◆ createRegex()

string zypp::PoolQuery::Impl::createRegex ( const StrContainer container,
const Match flags 
) const
private

Pass flags from compile, as they may have been changed.

macro for word boundary tags for regexes

Definition at line 757 of file PoolQuery.cc.

◆ clone()

Impl* zypp::PoolQuery::Impl::clone ( ) const
inlineprivate

clone for RWCOW_pointer

Definition at line 529 of file PoolQuery.cc.

Friends And Related Function Documentation

◆ rwcowClone

Impl* rwcowClone ( const Impl rhs)
friend

Member Data Documentation

◆ _strings

StrContainer zypp::PoolQuery::Impl::_strings

Raw search strings.

Definition at line 435 of file PoolQuery.cc.

◆ _attrs

AttrRawStrMap zypp::PoolQuery::Impl::_attrs

Raw attributes.

Definition at line 437 of file PoolQuery.cc.

◆ _uncompiledPredicated

std::set<AttrMatchData> zypp::PoolQuery::Impl::_uncompiledPredicated

Uncompiled attributes with predicate.

Definition at line 439 of file PoolQuery.cc.

◆ _flags

Match zypp::PoolQuery::Impl::_flags

Sat solver search flags.

Definition at line 442 of file PoolQuery.cc.

◆ _match_word

bool zypp::PoolQuery::Impl::_match_word

Definition at line 443 of file PoolQuery.cc.

◆ _require_all

bool zypp::PoolQuery::Impl::_require_all

Definition at line 444 of file PoolQuery.cc.

◆ _status_flags

StatusFilter zypp::PoolQuery::Impl::_status_flags

Sat solver status flags.

Definition at line 447 of file PoolQuery.cc.

◆ _edition

Edition zypp::PoolQuery::Impl::_edition

Edition condition operand.

Definition at line 450 of file PoolQuery.cc.

◆ _op

Rel zypp::PoolQuery::Impl::_op

Operator for edition condition.

Definition at line 452 of file PoolQuery.cc.

◆ _repos

StrContainer zypp::PoolQuery::Impl::_repos

Repos to search.

Definition at line 455 of file PoolQuery.cc.

◆ _kinds

Kinds zypp::PoolQuery::Impl::_kinds

Kinds to search.

Definition at line 458 of file PoolQuery.cc.

◆ _attrMatchList

AttrMatchList zypp::PoolQuery::Impl::_attrMatchList
mutable

StrMatcher per attribtue.

Definition at line 520 of file PoolQuery.cc.


The documentation for this class was generated from the following file: