Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11750 - /trunk/libzypp/zypp/PoolQuery.h
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Thu, 20 Nov 2008 15:56:47 -0000
  • Message-id: <20081120155647.CAB4DDF741@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Thu Nov 20 16:56:47 2008
New Revision: 11750

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11750&view=rev
Log:
cleanup and fix includes

Modified:
trunk/libzypp/zypp/PoolQuery.h

Modified: trunk/libzypp/zypp/PoolQuery.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/PoolQuery.h?rev=11750&r1=11749&r2=11750&view=diff
==============================================================================
--- trunk/libzypp/zypp/PoolQuery.h (original)
+++ trunk/libzypp/zypp/PoolQuery.h Thu Nov 20 16:56:47 2008
@@ -12,21 +12,17 @@
#ifndef ZYPP_POOLQUERY_H
#define ZYPP_POOLQUERY_H

-#include "base/Regex.h"
-
-#include "zypp/ResKind.h"
-#include "zypp/sat/SolvAttr.h"
-#include "zypp/sat/SolvIterMixin.h"
-#include "zypp/sat/LookupAttr.h"
+#include <iosfwd>
+#include <set>
+#include <map>

+#include "zypp/base/Regex.h"
#include "zypp/base/PtrTypes.h"
#include "zypp/base/Function.h"
-#include "zypp/Edition.h"

-extern "C"
-{
-struct _Dataiterator;
-}
+#include "zypp/sat/SolvIterMixin.h"
+#include "zypp/sat/LookupAttr.h"
+#include "zypp/sat/Pool.h"

///////////////////////////////////////////////////////////////////
namespace zypp
@@ -75,7 +71,7 @@
* Results of simple queries like those using one string and/or one attribute
* and/or one repository are filtered by sat-solver's Dataiterator directly,
* and thus it is fast.
- *
+ *
* Queries with multiple strings are implemented using regexes. Queries based
* on kinds, multiple repos, and multiple attributes are filtered inside
* the PoolQuery, so these tend to be slower.
@@ -111,7 +107,7 @@
* sat::Solvable objects pointing at the beginning of the query
result.
* \throws \ref Exception if the query was about to use a regex which
* failed to compile.
- *
+ *
* \note Note that PoolQuery is derived from \ref sat::SolvIterMixin which
* makes PoolItem and Selectable iterators automatically available.
* \see sat::SolvIterMixin
@@ -211,7 +207,7 @@
/**
* Set version condition. This will filter out solvables not matching
* <tt>solvableEdition \a op \a edition</tt>.
- *
+ *
* \param edition Edition to look for.
* \param op Found-wanted relation operator.
*/
@@ -265,7 +261,7 @@
/**
* Require that all of the values set by addString or addAttribute
* match the values of respective attributes.
- *
+ *
* \todo doesn't work yet, don't use this function
*/
void setRequireAll(const bool require_all = true);
@@ -402,7 +398,7 @@
// CLASS NAME : PoolQuery::PoolQueryIterator
//
/**
- *
+ *
*/
class PoolQueryIterator : public boost::iterator_adaptor<
PoolQueryIterator // Derived

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages