libzypp  11.13.5
zypp::PoolQuery::Impl Class Reference

List of all members.

Public Member Functions

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

Public Attributes

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

Private Member Functions

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

Friends

ImplrwcowClone (const Impl *rhs)

Detailed Description

Definition at line 354 of file PoolQuery.cc.


Constructor & Destructor Documentation

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

Definition at line 357 of file PoolQuery.cc.

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

Definition at line 364 of file PoolQuery.cc.


Member Function Documentation

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

String representation.

Definition at line 739 of file PoolQuery.cc.

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

Definition at line 402 of file PoolQuery.cc.

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

Definition at line 417 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.

Compiled search strings.

Definition at line 465 of file PoolQuery.cc.

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

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

clone for RWCOW_pointer

Definition at line 437 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 374 of file PoolQuery.cc.

AttrRawStrMap zypp::PoolQuery::Impl::_attrs

Raw attributes.

Definition at line 376 of file PoolQuery.cc.

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

Uncompiled attributes with predicate.

Definition at line 378 of file PoolQuery.cc.

Match zypp::PoolQuery::Impl::_flags

Sat solver search flags.

Definition at line 381 of file PoolQuery.cc.

bool zypp::PoolQuery::Impl::_match_word

Definition at line 382 of file PoolQuery.cc.

bool zypp::PoolQuery::Impl::_require_all

Definition at line 383 of file PoolQuery.cc.

StatusFilter zypp::PoolQuery::Impl::_status_flags

Sat solver status flags.

Definition at line 386 of file PoolQuery.cc.

Edition zypp::PoolQuery::Impl::_edition

Edition condition operand.

Definition at line 389 of file PoolQuery.cc.

Rel zypp::PoolQuery::Impl::_op

Operator for edition condition.

Definition at line 391 of file PoolQuery.cc.

StrContainer zypp::PoolQuery::Impl::_repos

Repos to search.

Definition at line 394 of file PoolQuery.cc.

Kinds zypp::PoolQuery::Impl::_kinds

Kinds to search.

Definition at line 397 of file PoolQuery.cc.

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

StrMatcher per attribtue.

Definition at line 428 of file PoolQuery.cc.


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