Add LookupAttr::Iterator::atEnd
authorMichael Andres <ma@suse.de>
Fri, 26 Jun 2009 10:06:28 +0000 (12:06 +0200)
committerMichael Andres <ma@suse.de>
Fri, 26 Jun 2009 10:45:55 +0000 (12:45 +0200)
zypp/sat/LookupAttr.h

index 3152b11..944563b 100644 (file)
@@ -375,6 +375,10 @@ namespace zypp
 
         /** The current \ref SolvAttr. */
         SolvAttr inSolvAttr() const;
+
+        /** Whether this points to the end of a query. */
+        bool atEnd() const
+        { return !_dip; }
         //@}
 
         /** \name Test attribute value type. */