libzypp  17.25.1
zypp::PoolQuery::Impl Class Reference

Public Member Functions

 Impl ()
 ~Impl ()
std::string asString () const
 String representation. 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
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...
AttrMatchList _attrMatchList
 StrMatcher per attribtue. 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...
StrMatcher joinedStrMatcher (const StrContainer &container_r, const Match &flags_r) const
 Join patterns in container_r according to flags_r into a single StrMatcher. More...
Implclone () const
 clone for RWCOW_pointer More...
ImplrwcowClone (const Impl *rhs)

Detailed Description

Definition at line 415 of file

Constructor & Destructor Documentation

◆ Impl()

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

Definition at line 418 of file

◆ ~Impl()

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

Definition at line 424 of file

Member Function Documentation

◆ asString()

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

String representation.

Definition at line 771 of file

◆ operator<()

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

Definition at line 461 of file

◆ operator==()

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

Definition at line 478 of file

◆ operator!=()

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

Definition at line 505 of file

◆ compile()

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

Compile the regex.

Basically building the _attrMatchList from strings.

MatchExceptionAny of the exceptions thrown by StrMatcher::compile.

Definition at line 555 of file

◆ joinedStrMatcher()

StrMatcher zypp::PoolQuery::Impl::joinedStrMatcher ( const StrContainer container_r,
const Match flags_r 
) const

Join patterns in container_r according to flags_r into a single StrMatcher.

The StrMatcher returned will be a REGEX if more than one pattern was passed.

Definition at line 733 of file

◆ clone()

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

clone for RWCOW_pointer

Definition at line 527 of file

Friends And Related Function Documentation

◆ rwcowClone

Impl* rwcowClone ( const Impl rhs)

Member Data Documentation

◆ _strings

StrContainer zypp::PoolQuery::Impl::_strings

Raw search strings.

Definition at line 434 of file

◆ _attrs

AttrRawStrMap zypp::PoolQuery::Impl::_attrs

Raw attributes.

Definition at line 436 of file

◆ _uncompiledPredicated

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

Uncompiled attributes with predicate.

Definition at line 438 of file

◆ _flags

Match zypp::PoolQuery::Impl::_flags

Sat solver search flags.

Definition at line 441 of file

◆ _match_word

bool zypp::PoolQuery::Impl::_match_word

Definition at line 442 of file

◆ _status_flags

StatusFilter zypp::PoolQuery::Impl::_status_flags

Sat solver status flags.

Definition at line 445 of file

◆ _edition

Edition zypp::PoolQuery::Impl::_edition

Edition condition operand.

Definition at line 448 of file

◆ _op

Rel zypp::PoolQuery::Impl::_op

Operator for edition condition.

Definition at line 450 of file

◆ _repos

StrContainer zypp::PoolQuery::Impl::_repos

Repos to search.

Definition at line 453 of file

◆ _kinds

Kinds zypp::PoolQuery::Impl::_kinds

Kinds to search.

Definition at line 456 of file

◆ _attrMatchList

AttrMatchList zypp::PoolQuery::Impl::_attrMatchList

StrMatcher per attribtue.

Definition at line 516 of file

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