libzypp  15.28.6
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
 
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

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...
 

Friends

ImplrwcowClone (const Impl *rhs)
 

Detailed Description

Definition at line 368 of file PoolQuery.cc.

Constructor & Destructor Documentation

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

Definition at line 371 of file PoolQuery.cc.

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

Definition at line 377 of file PoolQuery.cc.

Member Function Documentation

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

String representation.

Definition at line 724 of file PoolQuery.cc.

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

Definition at line 414 of file PoolQuery.cc.

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

Definition at line 431 of file PoolQuery.cc.

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

Definition at line 458 of file PoolQuery.cc.

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

Compile the regex.

Basically building the _attrMatchList from strings.

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

Definition at line 508 of file PoolQuery.cc.

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

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 686 of file PoolQuery.cc.

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

clone for RWCOW_pointer

Definition at line 480 of file PoolQuery.cc.

Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs)
friend

Member Data Documentation

StrContainer zypp::PoolQuery::Impl::_strings

Raw search strings.

Definition at line 387 of file PoolQuery.cc.

AttrRawStrMap zypp::PoolQuery::Impl::_attrs

Raw attributes.

Definition at line 389 of file PoolQuery.cc.

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

Uncompiled attributes with predicate.

Definition at line 391 of file PoolQuery.cc.

Match zypp::PoolQuery::Impl::_flags

Sat solver search flags.

Definition at line 394 of file PoolQuery.cc.

bool zypp::PoolQuery::Impl::_match_word

Definition at line 395 of file PoolQuery.cc.

StatusFilter zypp::PoolQuery::Impl::_status_flags

Sat solver status flags.

Definition at line 398 of file PoolQuery.cc.

Edition zypp::PoolQuery::Impl::_edition

Edition condition operand.

Definition at line 401 of file PoolQuery.cc.

Rel zypp::PoolQuery::Impl::_op

Operator for edition condition.

Definition at line 403 of file PoolQuery.cc.

StrContainer zypp::PoolQuery::Impl::_repos

Repos to search.

Definition at line 406 of file PoolQuery.cc.

Kinds zypp::PoolQuery::Impl::_kinds

Kinds to search.

Definition at line 409 of file PoolQuery.cc.

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

StrMatcher per attribtue.

Definition at line 469 of file PoolQuery.cc.


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