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


Constructor & Destructor Documentation

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

Definition at line 319 of file PoolQuery.cc.

Referenced by clone().

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

Definition at line 326 of file PoolQuery.cc.


Member Function Documentation

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

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

References operator==().

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

Compile the regex.

Basically building the _attrMatchList from strings.

Exceptions:
MatchException Any of the exceptions thrown by AttrMatcher::compile.

Compiled search strings.

Definition at line 427 of file PoolQuery.cc.

References _attrMatchList, _attrs, _flags, _strings, _uncompiledPredicated, zypp::sat::SolvAttr::allAttr, createRegex(), for_, zypp::invokeOnEach(), zypp::Match::mode(), zypp::Match::OTHER, zypp::Match::setModeRegex(), and ZYPP_THROW.

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

References _require_all, zypp::Match::isModeGlob(), zypp::Match::isModeString(), WB, and zypp::wildcards2regex().

Referenced by compile().

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

clone for RWCOW_pointer

Definition at line 399 of file PoolQuery.cc.

References Impl().


Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs  )  [friend]


Member Data Documentation

Raw search strings.

Definition at line 336 of file PoolQuery.cc.

Referenced by asString(), compile(), and operator==().

Raw attributes.

Definition at line 338 of file PoolQuery.cc.

Referenced by asString(), compile(), and operator==().

Uncompiled attributes with predicate.

Definition at line 340 of file PoolQuery.cc.

Referenced by asString(), compile(), and operator==().

Sat solver search flags.

Definition at line 343 of file PoolQuery.cc.

Referenced by asString(), compile(), and operator==().

Definition at line 344 of file PoolQuery.cc.

Referenced by operator==().

Definition at line 345 of file PoolQuery.cc.

Referenced by createRegex(), and operator==().

Sat solver status flags.

Definition at line 348 of file PoolQuery.cc.

Referenced by asString(), and operator==().

Edition condition operand.

Definition at line 351 of file PoolQuery.cc.

Referenced by asString(), and operator==().

Operator for edition condition.

Definition at line 353 of file PoolQuery.cc.

Referenced by asString(), and operator==().

Repos to search.

Definition at line 356 of file PoolQuery.cc.

Referenced by asString(), and operator==().

Kinds to search.

Definition at line 359 of file PoolQuery.cc.

Referenced by asString(), and operator==().

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

AttrMatcher per attribtue.

Definition at line 390 of file PoolQuery.cc.

Referenced by asString(), and compile().


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

doxygen