libzypp 17.31.0
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
17namespace zypp
18{
20
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
Combining sat::Solvable and ResStatus.
Definition: PoolItem.h:51
Base for resolvable objects.
Definition: Resolvable.h:51
Resolvable(const sat::Solvable &solvable_r)
Ctor.
Definition: Resolvable.cc:21
PoolItem poolItem() const
Access the corresponding PoolItem.
Definition: Resolvable.cc:28
virtual std::ostream & dumpOn(std::ostream &str) const
Helper for stream output.
Definition: Resolvable.cc:31
virtual ~Resolvable()
Dtor.
Definition: Resolvable.cc:25
A Solvable object within the sat Pool.
Definition: Solvable.h:54
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2
IMPL_PTR_TYPE(Application)
Solvable satSolvable() const
Return the corresponding sat::Solvable.
Definition: SolvableType.h:57