libzypp 17.37.17
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
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
sat::Solvable _solvable
Definition Resolvable.h:78
~Resolvable() override
Dtor.
Definition Resolvable.cc:25
PoolItem poolItem() const
Access the corresponding PoolItem.
Definition Resolvable.cc:28
std::ostream & dumpOn(std::ostream &str) const override
Helper for stream output.
Definition Resolvable.cc:31
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.
#define IMPL_PTR_TYPE(NAME)