libzypp  15.28.6
Resolvable.cc
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #include "zypp/Resolvable.h"
13 #include "zypp/ResObject.h"
14 #include "zypp/PoolItem.h"
15 
17 namespace zypp
18 {
19  IMPL_PTR_TYPE(Resolvable);
20 
21  Resolvable::Resolvable( const sat::Solvable & solvable_r )
22  : _solvable( solvable_r )
23  {}
24 
26  {}
27 
29  { return PoolItem( *this ); }
30 
31  std::ostream & Resolvable::dumpOn( std::ostream & str ) const
32  { return str << satSolvable(); }
33 
34 } // namespace zypp
A Solvable object within the sat Pool.
Definition: Solvable.h:53
Resolvable(const sat::Solvable &solvable_r)
Ctor.
Definition: Resolvable.cc:21
PoolItem poolItem() const
Access the corresponding PoolItem.
Definition: Resolvable.cc:28
IMPL_PTR_TYPE(Application)
virtual std::ostream & dumpOn(std::ostream &str) const
Helper for stream output.
Definition: Resolvable.cc:31
Solvable satSolvable() const
Return the corresponding sat::Solvable.
Definition: SolvableType.h:57
virtual ~Resolvable()
Dtor.
Definition: Resolvable.cc:25
Combining sat::Solvable and ResStatus.
Definition: PoolItem.h:50