Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <libzypp> master : Add LookupAttr::Iterator::atEnd
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 26 Jun 2009 12:45:55 +0200
  • Message-id: <E1MK8xW-0007AF-5q@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit d58ab1efcadf3528c1cf5f47892dbdaf05a286da
Author: Michael Andres <ma@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages