libzypp 9.41.1

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

StrMatcher joinedStrMatcher (const StrContainer &container_r, const Match &flags_r) const
 Join patterns in container_r according to flags_r into a single StrMatcher.
Implclone () const
 clone for RWCOW_pointer

Friends

ImplrwcowClone (const Impl *rhs)

Detailed Description

Definition at line 357 of file PoolQuery.cc.


Constructor & Destructor Documentation

zypp::PoolQuery::Impl::Impl ( ) [inline]

Definition at line 360 of file PoolQuery.cc.

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

Definition at line 366 of file PoolQuery.cc.


Member Function Documentation

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

String representation.

Definition at line 691 of file PoolQuery.cc.

References for_.

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

Definition at line 430 of file PoolQuery.cc.

References zypp::operator==().

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

Compile the regex.

Basically building the _attrMatchList from strings.

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

Definition at line 480 of file PoolQuery.cc.

References for_, zypp::invokeOnEach(), and ZYPP_THROW.

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

References for_, zypp::Match::isModeGlob(), zypp::Match::isModeString(), and zypp::Match::setModeRegex().

Impl* zypp::PoolQuery::Impl::clone ( ) const [inline, private]

clone for RWCOW_pointer

Definition at line 452 of file PoolQuery.cc.


Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs) [friend]

Member Data Documentation

Raw search strings.

Definition at line 376 of file PoolQuery.cc.

Referenced by operator==().

Raw attributes.

Definition at line 378 of file PoolQuery.cc.

Referenced by operator==().

Uncompiled attributes with predicate.

Definition at line 380 of file PoolQuery.cc.

Referenced by operator==().

Sat solver search flags.

Definition at line 383 of file PoolQuery.cc.

Referenced by operator==().

Definition at line 384 of file PoolQuery.cc.

Referenced by operator==().

Sat solver status flags.

Definition at line 387 of file PoolQuery.cc.

Referenced by operator==().

Edition condition operand.

Definition at line 390 of file PoolQuery.cc.

Referenced by operator==().

Operator for edition condition.

Definition at line 392 of file PoolQuery.cc.

Referenced by operator==().

Repos to search.

Definition at line 395 of file PoolQuery.cc.

Referenced by operator==().

Kinds to search.

Definition at line 398 of file PoolQuery.cc.

Referenced by operator==().

AttrMatchList zypp::PoolQuery::Impl::_attrMatchList [mutable]

AttrMatcher per attribtue.

Definition at line 441 of file PoolQuery.cc.


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