ref: refs/heads/master
commit d58ab1efcadf3528c1cf5f47892dbdaf05a286da
Author: Michael Andres
Date: Fri Jun 26 12:06:28 2009 +0200
Add LookupAttr::Iterator::atEnd
---
zypp/sat/LookupAttr.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/zypp/sat/LookupAttr.h b/zypp/sat/LookupAttr.h
index 3152b11..944563b 100644
--- a/zypp/sat/LookupAttr.h
+++ b/zypp/sat/LookupAttr.h
@@ -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. */
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org