diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-08-10 15:58:09 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-08-10 15:58:09 +0200 |
commit | 47f6d1b72bc883ecdc00542da4c824a5c4fb79fa (patch) | |
tree | 0ab0c7f953f72d1c65f936b3c6eedeb0293534bd /apt-pkg/cacheiterators.h | |
parent | 8d3489abd90a64715b92976a7c60b42a386a4c5c (diff) |
* apt-pkg/algorithms.cc:
- change the debug outputs to display also arch of the
package and version dependencies information
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r-- | apt-pkg/cacheiterators.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 0be9368bd..26070636e 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -293,6 +293,9 @@ class pkgCache::DepIterator : public Iterator<Dependency, DepIterator> { inline const char *CompType() const {return Owner->CompType(S->CompareOp);}; inline const char *DepType() const {return Owner->DepType(S->Type);}; + //Nice printable representation + friend std::ostream& operator <<(std::ostream& out, DepIterator D); + inline DepIterator(pkgCache &Owner, Dependency *Trg, Version* = 0) : Iterator<Dependency, DepIterator>(Owner, Trg), Type(DepVer) { if (S == 0) |