blob: 1a63349a0bf238d0d99af11ee09bcd221745a599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
class Resolvable
{
public:
typedef Resolvable Self;
typedef ResTraits<Self> TraitsType;
typedef TraitsType::KindType Kind;
typedef TraitsType::PtrType Ptr;
typedef TraitsType::constPtrType constPtr;
const Kind & kind() const;
const std::string & name() const;
const zypp::Edition & edition() const;
const Arch & arch() const;
const CapSet & dep( Dep which_r ) const;
const Dependencies & deps() const;
protected:
Resolvable( const Kind & kind_r,
const NVRAD & nvrad_r );
virtual ~Resolvable();
virtual std::ostream & dumpOn( std::ostream & str ) const;
};
int compareByN(const Resolvable::constPtr & lhs,
const Resolvable::constPtr & rhs);
int compareByNVR(const Resolvable::constPtr & lhs,
const Resolvable::constPtr & rhs);
int compareByNVRA(const Resolvable::constPtr& lhs,
const Resolvable::constPtr& rhs);
|