apt
3.0.3
commandline package manager
apt-pkg
prettyprinters.h
1
#ifndef APT_PRETTYPRINTERS_H
2
#define APT_PRETTYPRINTERS_H
3
#include <apt-pkg/macros.h>
4
#include <
apt-pkg/pkgcache.h
>
5
6
class
pkgDepCache
;
7
8
namespace
APT {
9
15
struct
PrettyPkg
16
{
17
pkgDepCache
*
const
DepCache;
18
pkgCache::PkgIterator
const
Pkg;
19
PrettyPkg
(
pkgDepCache
*
const
depcache, pkgCache::PkgIterator
const
&pkg) APT_NONNULL(2) : DepCache(depcache), Pkg(pkg) {}
20
};
26
struct
PrettyDep
27
{
28
pkgDepCache
*
const
DepCache;
29
pkgCache::DepIterator
const
Dep;
30
PrettyDep
(
pkgDepCache
*
const
depcache, pkgCache::DepIterator
const
&dep) APT_NONNULL(2) : DepCache(depcache), Dep(dep) {}
31
};
32
33
}
34
APT_PUBLIC std::ostream& operator<<(std::ostream& os,
const
APT::PrettyPkg
& pp);
35
APT_PUBLIC std::ostream& operator<<(std::ostream& os,
const
APT::PrettyDep
& pd);
36
37
#endif
pkgDepCache
Definition
depcache.h:63
pkgcache.h
pkgCache - Structure definitions for the cache file
APT::PrettyDep
Definition
prettyprinters.h:27
APT::PrettyPkg
Definition
prettyprinters.h:16
Generated by
1.9.8