libzypp: zypp/sat/detail/PoolImpl.h Source File

libzypp 17.36.6

PoolImpl.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_SAT_DETAIL_POOLIMPL_H
13#define ZYPP_SAT_DETAIL_POOLIMPL_H
14extern "C"
15{
16#include <solv/pool.h>
17#include <solv/repo.h>
18#include <solv/solvable.h>
19#include <solv/poolarch.h>
20#include <solv/repo_solv.h>
21#include <solv/pool_parserpmrichdep.h>
22}
23#include <iosfwd>
24
25#include <zypp/base/Hash.h>
26#include <zypp/base/NonCopyable.h>
27#include <zypp/base/SerialNumber.h>
28#include <zypp/base/SetTracker.h>
29#include <zypp/sat/detail/PoolMember.h>
30#include <zypp/sat/SolvableSpec.h>
31#include <zypp/sat/Queue.h>
32#include <zypp/RepoInfo.h>
33#include <zypp/Locale.h>
34#include <zypp/Capability.h>
35#include <zypp/IdString.h>
36
38namespace zypp
39{
41 namespace sat
42 {
43 class SolvableSet;
45 namespace detail
46 {
47
49 //
50 // CLASS NAME : PoolImpl
51 //
53 class PoolImpl : private base::NonCopyable
54 {
55 public:
57 PoolImpl();
58
60 ~PoolImpl();
61
63 CPool * operator->()
64 { return _pool; }
65
66 public:
68 const SerialNumber & serial() const
69 { return _serial; }
70
72 const SerialNumber & serialIDs() const
73 { return _serialIDs; }
74
78 void prepare() const;
79
80 private:
84 void setDirty( const char * a1 = 0, const char * a2 = 0, const char * a3 = 0 );
85
88 void localeSetDirty( const char * a1 = 0, const char * a2 = 0, const char * a3 = 0 );
89
92 void depSetDirty( const char * a1 = 0, const char * a2 = 0, const char * a3 = 0 );
93
95 static detail::IdType nsCallback( CPool *, void * data, detail::IdType lhs, detail::IdType rhs );
96
97 public:
99 static const std::string & systemRepoAlias();
100
101 bool isSystemRepo( CRepo * repo_r ) const
102 { return repo_r && _pool->installed == repo_r; }
103
104 CRepo * systemRepo() const
105 { return _pool->installed; }
106
108 Pathname rootDir() const
109 {
110 const char * rd = ::pool_get_rootdir( _pool );
111 return( rd ? rd : "/" );
112 }
113
115 void rootDir( const Pathname & root_r )
116 {
117 if ( root_r.empty() || root_r == "/" )
118 ::pool_set_rootdir( _pool, nullptr );
119 else
120 ::pool_set_rootdir( _pool, root_r.c_str() );
121 }
122
123 public:
129
130 CRepo * _createRepo( const std::string & name_r );
131
133 void _deleteRepo( CRepo * repo_r );
134
139 int _addSolv( CRepo * repo_r, FILE * file_r );
140
145 int _addHelix( CRepo * repo_r, FILE * file_r );
146
151 int _addTesttags( CRepo * repo_r, FILE * file_r );
152
154 detail::SolvableIdType _addSolvables( CRepo * repo_r, unsigned count_r );
156
158 void _postRepoAdd( CRepo * repo_r );
159
160 public:
162 bool validSolvable( const CSolvable & slv_r ) const
163 { return slv_r.repo; }
164
165 bool validSolvable( SolvableIdType id_r ) const
166 { return id_r < unsigned(_pool->nsolvables) && validSolvable( _pool->solvables[id_r] ); }
167
168 bool validSolvable( const CSolvable * slv_r ) const
169 { return _pool->solvables <= slv_r && slv_r <= _pool->solvables+_pool->nsolvables && validSolvable( *slv_r ); }
170
171 public:
172 CPool * getPool() const
173 { return _pool; }
174
176 CRepo * getRepo( RepoIdType id_r ) const
177 { return id_r; }
178
182 CSolvable * getSolvable( SolvableIdType id_r ) const
183 {
184 if ( validSolvable( id_r ) )
185 return &_pool->solvables[id_r];
186 return 0;
187 }
188
189 public:
191 sat::detail::IdType parserpmrichdep( const char * capstr_r )
192 { return ::pool_parserpmrichdep( _pool, capstr_r ); }
193
194 public:
198 SolvableIdType getFirstId() const
199 { return getNextId( 1 ); }
200
206 SolvableIdType getNextId( SolvableIdType id_r ) const
207 {
208 for( ++id_r; id_r < unsigned(_pool->nsolvables); ++id_r )
209 {
210 if ( validSolvable( _pool->solvables[id_r] ) )
211 return id_r;
212 }
213 return noSolvableId;
214 }
215
216 public:
218 const RepoInfo & repoInfo( RepoIdType id_r )
219 { return _repoinfos[id_r]; }
220
221 void setRepoInfo( RepoIdType id_r, const RepoInfo & info_r );
223 void eraseRepoInfo( RepoIdType id_r )
224 { _repoinfos.erase( id_r ); }
225
226 public:
230 const sat::detail::IdType whatProvidesData( unsigned offset_r )
231 { return _pool->whatprovidesdata[offset_r]; }
232
236 unsigned whatProvides( Capability cap_r )
237 { prepare(); return ::pool_whatprovides( _pool, cap_r.id() ); }
238
239 public:
246
247
248 void setTextLocale( const Locale & locale_r );
249
250
254 void initRequestedLocales( const LocaleSet & locales_r );
255
257 const LocaleSet & getAddedRequestedLocales() const
258 { return _requestedLocalesTracker.added(); }
259
261 const LocaleSet & getRemovedRequestedLocales() const
262 { return _requestedLocalesTracker.removed(); }
263
265 const LocaleSet & getRequestedLocales() const
266 { return _requestedLocalesTracker.current(); }
267
268 bool isRequestedLocale( const Locale & locale_r ) const
269 { return _requestedLocalesTracker.contains( locale_r ); }
270
272 void setRequestedLocales( const LocaleSet & locales_r );
274 bool addRequestedLocale( const Locale & locale_r );
276 bool eraseRequestedLocale( const Locale & locale_r );
277
279 const LocaleSet & getAvailableLocales() const;
280
281 bool isAvailableLocale( const Locale & locale_r ) const
282 {
283 const LocaleSet & avl( getAvailableLocales() );
284 LocaleSet::const_iterator it( avl.find( locale_r ) );
285 return it != avl.end();
286 }
287
288 typedef base::SetTracker<IdStringSet> TrackedLocaleIds;
289
291 const TrackedLocaleIds & trackedLocaleIds() const;
293
294 public:
297 typedef SolvableSet MultiversionList;
298
299 const MultiversionList & multiversionList() const;
300
301 bool isMultiversion( const Solvable & solv_r ) const;
302
303 void multiversionSpecChanged();
305
306 public:
309
310 StringQueue autoInstalled() const
311 { return _autoinstalled; }
312
314 void setAutoInstalled( const StringQueue & autoInstalled_r )
315 { _autoinstalled = autoInstalled_r; }
316
317 bool isOnSystemByUser( IdString ident_r ) const
318 { return !_autoinstalled.contains( ident_r.id() ); }
319
320 bool isOnSystemByAuto( IdString ident_r ) const
321 { return _autoinstalled.contains( ident_r.id() ); }
322
323
324 public:
327
328 void setNeedrebootSpec( sat::SolvableSpec needrebootSpec_r )
329 {
330 _needrebootSpec = std::move(needrebootSpec_r);
331 _needrebootSpec.setDirty();
332 }
333
335 bool isNeedreboot( const Solvable & solv_r ) const
336 { return _needrebootSpec.contains( solv_r ); }
337
338
339 public:
342 bool isRetracted( const Solvable & solv_r ) const
343 { return _retractedSpec.contains( solv_r ); }
344 bool isPtfMaster( const Solvable & solv_r ) const
345 { return _ptfMasterSpec.contains( solv_r ); }
346 bool isPtfPackage( const Solvable & solv_r ) const
347 { return _ptfPackageSpec.contains( solv_r ); }
348
349
350 public:
352 const std::set<std::string> & requiredFilesystems() const;
353
354 private:
356 CPool * _pool;
358 SerialNumber _serial;
360 SerialNumber _serialIDs;
362 SerialNumberWatcher _watcher;
364 std::map<RepoIdType,RepoInfo> _repoinfos;
365
367 base::SetTracker<LocaleSet> _requestedLocalesTracker;
368 mutable scoped_ptr<TrackedLocaleIds> _trackedLocaleIdsPtr;
369
370 mutable scoped_ptr<LocaleSet> _availableLocalesPtr;
371
373 void multiversionListInit() const;
374 mutable scoped_ptr<MultiversionList> _multiversionListPtr;
375
377 sat::StringQueue _autoinstalled;
378
380 sat::SolvableSpec _needrebootSpec;
381
383 sat::SolvableSpec _retractedSpec;
384 sat::SolvableSpec _ptfMasterSpec;
385 sat::SolvableSpec _ptfPackageSpec;
386
388 mutable scoped_ptr<std::set<std::string> > _requiredFilesystemsPtr;
389 };
390
391
393 } // namespace detail
396 } // namespace sat
399} // namespace zypp
401#define POOL_SETDIRTY
402#endif // ZYPP_SAT_DETAIL_POOLIMPL_H
Capability.h
IdString.h
Locale.h
PoolMember.h
Queue.h
RepoInfo.h
SerialNumber.h
SetTracker.h
SolvableSpec.h
scoped_ptr
zypp::Capability
A sat capability.
Definition Capability.h:63
zypp::Capability::id
sat::detail::IdType id() const
Expert backdoor.
Definition Capability.h:263
zypp::IdString
Access to the sat-pools string space.
Definition IdString.h:44
zypp::IdString::id
IdType id() const
Expert backdoor.
Definition IdString.h:133
zypp::Locale
'Language[_Country]' codes.
Definition Locale.h:51
zypp::RepoInfo
What is known about a repository.
Definition RepoInfo.h:72
zypp::SerialNumberWatcher
Simple serial number watcher.
Definition SerialNumber.h:123
zypp::SerialNumber
Simple serial number provider.
Definition SerialNumber.h:45
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:47
zypp::filesystem::Pathname::c_str
const char * c_str() const
String representation.
Definition Pathname.h:112
zypp::filesystem::Pathname::empty
bool empty() const
Test for an empty path.
Definition Pathname.h:116
zypp::sat::SolvableSet
Solvable set wrapper to allow adding additional convenience iterators.
Definition SolvableSet.h:36
zypp::sat::Solvable
A Solvable object within the sat Pool.
Definition Solvable.h:54
zypp::sat::detail::PoolImpl::_needrebootSpec
sat::SolvableSpec _needrebootSpec
Solvables which should trigger the reboot-needed hint if installed/updated.
Definition PoolImpl.h:380
zypp::sat::detail::PoolImpl::operator->
CPool * operator->()
Pointer style access forwarded to sat-pool.
Definition PoolImpl.h:63
zypp::sat::detail::PoolImpl::_trackedLocaleIdsPtr
scoped_ptr< TrackedLocaleIds > _trackedLocaleIdsPtr
Definition PoolImpl.h:368
zypp::sat::detail::PoolImpl::TrackedLocaleIds
base::SetTracker< IdStringSet > TrackedLocaleIds
Definition PoolImpl.h:288
zypp::sat::detail::PoolImpl::getPool
CPool * getPool() const
Definition PoolImpl.h:172
zypp::sat::detail::PoolImpl::_retractedSpec
sat::SolvableSpec _retractedSpec
Blacklisted specs:
Definition PoolImpl.h:383
zypp::sat::detail::PoolImpl::_availableLocalesPtr
scoped_ptr< LocaleSet > _availableLocalesPtr
Definition PoolImpl.h:370
zypp::sat::detail::PoolImpl::systemRepo
CRepo * systemRepo() const
Definition PoolImpl.h:104
zypp::sat::detail::PoolImpl::isPtfMaster
bool isPtfMaster(const Solvable &solv_r) const
Definition PoolImpl.h:344
zypp::sat::detail::PoolImpl::rootDir
Pathname rootDir() const
Get rootdir (for file conflicts check)
Definition PoolImpl.h:108
zypp::sat::detail::PoolImpl::_multiversionListPtr
scoped_ptr< MultiversionList > _multiversionListPtr
Definition PoolImpl.h:374
zypp::sat::detail::PoolImpl::autoInstalled
StringQueue autoInstalled() const
Get ident list of all autoinstalled solvables.
Definition PoolImpl.h:310
zypp::sat::detail::PoolImpl::isSystemRepo
bool isSystemRepo(CRepo *repo_r) const
Definition PoolImpl.h:101
zypp::sat::detail::PoolImpl::nsCallback
static detail::IdType nsCallback(CPool *, void *data, detail::IdType lhs, detail::IdType rhs)
Callback to resolve namespace dependencies (language, modalias, filesystem, etc.).
Definition PoolImpl.cc:137
zypp::sat::detail::PoolImpl::getRepo
CRepo * getRepo(RepoIdType id_r) const
Definition PoolImpl.h:176
zypp::sat::detail::PoolImpl::setTextLocale
void setTextLocale(const Locale &locale_r)
Definition PoolImpl.cc:462
zypp::sat::detail::PoolImpl::initRequestedLocales
void initRequestedLocales(const LocaleSet &locales_r)
Start tracking changes based on this locales_r.
Definition PoolImpl.cc:487
zypp::sat::detail::PoolImpl::_autoinstalled
sat::StringQueue _autoinstalled
Definition PoolImpl.h:377
zypp::sat::detail::PoolImpl::_addTesttags
int _addTesttags(CRepo *repo_r, FILE *file_r)
Adding testtags file to a repo.
Definition PoolImpl.cc:371
zypp::sat::detail::PoolImpl::whatProvides
unsigned whatProvides(Capability cap_r)
Returns offset into the internal whatprovidesdata array.
Definition PoolImpl.h:236
zypp::sat::detail::PoolImpl::multiversionListInit
void multiversionListInit() const
Definition PoolImpl.cc:617
zypp::sat::detail::PoolImpl::repoInfo
const RepoInfo & repoInfo(RepoIdType id_r)
Definition PoolImpl.h:218
zypp::sat::detail::PoolImpl::isPtfPackage
bool isPtfPackage(const Solvable &solv_r) const
Definition PoolImpl.h:346
zypp::sat::detail::PoolImpl::getAvailableLocales
const LocaleSet & getAvailableLocales() const
All Locales occurring in any repo.
Definition PoolImpl.cc:597
zypp::sat::detail::PoolImpl::isRequestedLocale
bool isRequestedLocale(const Locale &locale_r) const
Definition PoolImpl.h:268
zypp::sat::detail::PoolImpl::serialIDs
const SerialNumber & serialIDs() const
Serial number changing whenever resusePoolIDs==true was used.
Definition PoolImpl.h:72
zypp::sat::detail::PoolImpl::_repoinfos
std::map< RepoIdType, RepoInfo > _repoinfos
Additional RepoInfo.
Definition PoolImpl.h:364
zypp::sat::detail::PoolImpl::_deleteRepo
void _deleteRepo(CRepo *repo_r)
Delete repo repo_r from pool.
Definition PoolImpl.cc:337
zypp::sat::detail::PoolImpl::eraseRequestedLocale
bool eraseRequestedLocale(const Locale &locale_r)
User change (tracked).
Definition PoolImpl.cc:516
zypp::sat::detail::PoolImpl::getRequestedLocales
const LocaleSet & getRequestedLocales() const
Current set of requested Locales.
Definition PoolImpl.h:265
zypp::sat::detail::PoolImpl::_ptfMasterSpec
sat::SolvableSpec _ptfMasterSpec
Definition PoolImpl.h:384
zypp::sat::detail::PoolImpl::~PoolImpl
~PoolImpl()
Dtor.
Definition PoolImpl.cc:240
zypp::sat::detail::PoolImpl::eraseRepoInfo
void eraseRepoInfo(RepoIdType id_r)
Definition PoolImpl.h:223
zypp::sat::detail::PoolImpl::trackedLocaleIds
const TrackedLocaleIds & trackedLocaleIds() const
Expanded _requestedLocalesTracker for solver.
Definition PoolImpl.cc:528
zypp::sat::detail::PoolImpl::whatProvidesData
const sat::detail::IdType whatProvidesData(unsigned offset_r)
Returns the id stored at offset_r in the internal whatprovidesdata array.
Definition PoolImpl.h:230
zypp::sat::detail::PoolImpl::rootDir
void rootDir(const Pathname &root_r)
Set rootdir (for file conflicts check)
Definition PoolImpl.h:115
zypp::sat::detail::PoolImpl::validSolvable
bool validSolvable(SolvableIdType id_r) const
Definition PoolImpl.h:165
zypp::sat::detail::PoolImpl::localeSetDirty
void localeSetDirty(const char *a1=0, const char *a2=0, const char *a3=0)
Invalidate locale related housekeeping data.
Definition PoolImpl.cc:274
zypp::sat::detail::PoolImpl::_requiredFilesystemsPtr
scoped_ptr< std::set< std::string > > _requiredFilesystemsPtr
filesystems mentioned in /etc/sysconfig/storage
Definition PoolImpl.h:388
zypp::sat::detail::PoolImpl::_requestedLocalesTracker
base::SetTracker< LocaleSet > _requestedLocalesTracker
Definition PoolImpl.h:367
zypp::sat::detail::PoolImpl::setRequestedLocales
void setRequestedLocales(const LocaleSet &locales_r)
User change (tracked).
Definition PoolImpl.cc:496
zypp::sat::detail::PoolImpl::getRemovedRequestedLocales
const LocaleSet & getRemovedRequestedLocales() const
Removed since last initRequestedLocales.
Definition PoolImpl.h:261
zypp::sat::detail::PoolImpl::setNeedrebootSpec
void setNeedrebootSpec(sat::SolvableSpec needrebootSpec_r)
Set new Solvable specs.
Definition PoolImpl.h:328
zypp::sat::detail::PoolImpl::multiversionList
const MultiversionList & multiversionList() const
Definition PoolImpl.cc:643
zypp::sat::detail::PoolImpl::isAvailableLocale
bool isAvailableLocale(const Locale &locale_r) const
Definition PoolImpl.h:281
zypp::sat::detail::PoolImpl::_createRepo
CRepo * _createRepo(const std::string &name_r)
Creating a new repo named name_r.
Definition PoolImpl.cc:328
zypp::sat::detail::PoolImpl::_watcher
SerialNumberWatcher _watcher
Watch serial number.
Definition PoolImpl.h:362
zypp::sat::detail::PoolImpl::isNeedreboot
bool isNeedreboot(const Solvable &solv_r) const
Whether solv_r matches the spec.
Definition PoolImpl.h:335
zypp::sat::detail::PoolImpl::validSolvable
bool validSolvable(const CSolvable *slv_r) const
Definition PoolImpl.h:168
zypp::sat::detail::PoolImpl::parserpmrichdep
sat::detail::IdType parserpmrichdep(const char *capstr_r)
libsolv capability parser
Definition PoolImpl.h:191
zypp::sat::detail::PoolImpl::_serial
SerialNumber _serial
Serial number - changes with each Pool content change.
Definition PoolImpl.h:358
zypp::sat::detail::PoolImpl::requiredFilesystems
const std::set< std::string > & requiredFilesystems() const
accessor for etc/sysconfig/storage reading file on demand
Definition PoolImpl.cc:655
zypp::sat::detail::PoolImpl::_postRepoAdd
void _postRepoAdd(CRepo *repo_r)
Helper postprocessing the repo after adding solv or helix files.
Definition PoolImpl.cc:380
zypp::sat::detail::PoolImpl::getAddedRequestedLocales
const LocaleSet & getAddedRequestedLocales() const
Added since last initRequestedLocales.
Definition PoolImpl.h:257
zypp::sat::detail::PoolImpl::isOnSystemByAuto
bool isOnSystemByAuto(IdString ident_r) const
Definition PoolImpl.h:320
zypp::sat::detail::PoolImpl::setAutoInstalled
void setAutoInstalled(const StringQueue &autoInstalled_r)
Set ident list of all autoinstalled solvables.
Definition PoolImpl.h:314
zypp::sat::detail::PoolImpl::addRequestedLocale
bool addRequestedLocale(const Locale &locale_r)
User change (tracked).
Definition PoolImpl.cc:505
zypp::sat::detail::PoolImpl::_addSolv
int _addSolv(CRepo *repo_r, FILE *file_r)
Adding solv file to a repo.
Definition PoolImpl.cc:353
zypp::sat::detail::PoolImpl::MultiversionList
SolvableSet MultiversionList
Definition PoolImpl.h:297
zypp::sat::detail::PoolImpl::_addHelix
int _addHelix(CRepo *repo_r, FILE *file_r)
Adding helix file to a repo.
Definition PoolImpl.cc:362
zypp::sat::detail::PoolImpl::_ptfPackageSpec
sat::SolvableSpec _ptfPackageSpec
Definition PoolImpl.h:385
zypp::sat::detail::PoolImpl::isRetracted
bool isRetracted(const Solvable &solv_r) const
Definition PoolImpl.h:342
zypp::sat::detail::PoolImpl::validSolvable
bool validSolvable(const CSolvable &slv_r) const
a valid Solvable has a non NULL repo pointer.
Definition PoolImpl.h:162
zypp::sat::detail::PoolImpl::_addSolvables
detail::SolvableIdType _addSolvables(CRepo *repo_r, unsigned count_r)
Adding Solvables to a repo.
Definition PoolImpl.cc:424
zypp::sat::detail::PoolImpl::getSolvable
CSolvable * getSolvable(SolvableIdType id_r) const
Return pointer to the sat-solvable or NULL if it is not valid.
Definition PoolImpl.h:182
zypp::sat::detail::PoolImpl::_serialIDs
SerialNumber _serialIDs
Serial number of IDs - changes whenever resusePoolIDs==true - ResPool must also invalidate its PoolIt...
Definition PoolImpl.h:360
zypp::sat::detail::PoolImpl::isMultiversion
bool isMultiversion(const Solvable &solv_r) const
Definition PoolImpl.cc:650
zypp::sat::detail::PoolImpl::prepare
void prepare() const
Update housekeeping data (e.g.
Definition PoolImpl.cc:297
zypp::sat::detail::PoolImpl::multiversionSpecChanged
void multiversionSpecChanged()
Definition PoolImpl.cc:640
zypp::sat::detail::PoolImpl::systemRepoAlias
static const std::string & systemRepoAlias()
Reserved system repository alias @System .
Definition PoolImpl.cc:100
zypp::sat::detail::PoolImpl::getNextId
SolvableIdType getNextId(SolvableIdType id_r) const
Get id of the next valid Solvable.
Definition PoolImpl.h:206
zypp::sat::detail::PoolImpl::serial
const SerialNumber & serial() const
Serial number changing whenever the content changes.
Definition PoolImpl.h:68
zypp::sat::detail::PoolImpl::_pool
CPool * _pool
sat-pool.
Definition PoolImpl.h:356
zypp::sat::detail::PoolImpl::getFirstId
SolvableIdType getFirstId() const
Get id of the first valid Solvable.
Definition PoolImpl.h:198
zypp::sat::detail::PoolImpl::isOnSystemByUser
bool isOnSystemByUser(IdString ident_r) const
Definition PoolImpl.h:317
zypp::sat::detail::PoolImpl::setRepoInfo
void setRepoInfo(RepoIdType id_r, const RepoInfo &info_r)
Also adjust repo priority and subpriority accordingly.
Definition PoolImpl.cc:430
zypp::sat::detail::PoolImpl::PoolImpl
PoolImpl()
Default ctor.
Definition PoolImpl.cc:195
zypp::sat::detail::PoolImpl::depSetDirty
void depSetDirty(const char *a1=0, const char *a2=0, const char *a3=0)
Invalidate housekeeping data (e.g.
Definition PoolImpl.cc:286
zypp::base::NonCopyable
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition NonCopyable.h:26
zypp::sat::detail
Definition PoolImpl.cc:71
zypp::sat::detail::SolvableIdType
unsigned int SolvableIdType
Id type to connect Solvable and sat-solvable.
Definition PoolMember.h:125
zypp::sat::detail::CRepo
::s_Repo CRepo
Wrapped libsolv C data type exposed as backdoor.
Definition PoolMember.h:63
zypp::sat::detail::noSolvableId
static const SolvableIdType noSolvableId(0)
Id to denote Solvable::noSolvable.
zypp::sat::detail::IdType
int IdType
Generic Id type.
Definition PoolMember.h:104
zypp::sat::detail::CSolvable
::s_Solvable CSolvable
Wrapped libsolv C data type exposed as backdoor.
Definition PoolMember.h:64
zypp::sat::detail::CPool
::s_Pool CPool
Wrapped libsolv C data type exposed as backdoor.
Definition PoolMember.h:61
zypp::sat::detail::RepoIdType
CRepo * RepoIdType
Id type to connect Repo and sat-repo.
Definition PoolMember.h:133
zypp::sat
Definition Resolver.h:28
zypp::sat::StringQueue
Queue StringQueue
Queue with String ids.
Definition Queue.h:28
zypp::sat::setDirty
void setDirty() const
Explicitly flag the cache as dirty, so it will be rebuilt on the next request.
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::LocaleSet
std::unordered_set< Locale > LocaleSet
Definition Locale.h:29
zypp::base::SetTracker
Track added/removed set items based on an initial set.
Definition SetTracker.h:38
Hash.h
NonCopyable.h