libzypp 17.37.10

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
25 Resolvable::~Resolvable()
26 {}
27
28 PoolItem Resolvable::poolItem() const
29 { return PoolItem( *this ); }
30
31 std::ostream & Resolvable::dumpOn( std::ostream & str ) const
32 { return str << satSolvable(); }
33
34} // namespace zypp
PoolItem.h
ResObject.h
Resolvable.h
zypp::PoolItem
Combining sat::Solvable and ResStatus.
Definition PoolItem.h:51
zypp::Resolvable
Base for resolvable objects.
Definition Resolvable.h:51
zypp::Resolvable::Resolvable
Resolvable(const sat::Solvable &solvable_r)
Ctor.
Definition Resolvable.cc:21
zypp::Resolvable::_solvable
sat::Solvable _solvable
Definition Resolvable.h:78
zypp::Resolvable::~Resolvable
~Resolvable() override
Dtor.
Definition Resolvable.cc:25
zypp::Resolvable::poolItem
PoolItem poolItem() const
Access the corresponding PoolItem.
Definition Resolvable.cc:28
zypp::Resolvable::dumpOn
std::ostream & dumpOn(std::ostream &str) const override
Helper for stream output.
Definition Resolvable.cc:31
zypp::sat::Solvable
A Solvable object within the sat Pool.
Definition Solvable.h:54
str
String related utilities and Regular expression matching.
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::sat::SolvableType< Resolvable >::satSolvable
Solvable satSolvable() const
Definition SolvableType.h:57
IMPL_PTR_TYPE
#define IMPL_PTR_TYPE(NAME)
Definition ReferenceCounted.h:137