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

libzypp 17.38.14

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-core/base/Hash.h>
26#include <zypp-core/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
33#ifndef ZYPPNG
34#include <zypp/RepoInfo.h>
35#endif
36
37#include <zypp/Locale.h>
38#include <zypp/Capability.h>
39#include <zypp/IdString.h>
40
42namespace zypp
43{
45 namespace sat
46 {
47 class SolvableSet;
49 namespace detail
50 {
51
53 //
54 // CLASS NAME : PoolImpl
55 //
57 class PoolImpl : private base::NonCopyable
58 {
59 public:
61 PoolImpl();
62
64 ~PoolImpl();
65
67 CPool * operator->()
68 { return _pool; }
69
70 public:
72 const SerialNumber & serial() const
73 { return _serial; }
74
76 const SerialNumber & serialIDs() const
77 { return _serialIDs; }
78
82 void prepare() const;
83
84 private:
88 void setDirty( const char * a1 = 0, const char * a2 = 0, const char * a3 = 0 );
89
92 void localeSetDirty( const char * a1 = 0, const char * a2 = 0, const char * a3 = 0 );
93
96 void depSetDirty( const char * a1 = 0, const char * a2 = 0, const char * a3 = 0 );
97
99 static detail::IdType nsCallback( CPool *, void * data, detail::IdType lhs, detail::IdType rhs );
100
101 public:
103 static const std::string & systemRepoAlias();
104
105 bool isSystemRepo( CRepo * repo_r ) const
106 { return repo_r && _pool->installed == repo_r; }
107
108 CRepo * systemRepo() const
109 { return _pool->installed; }
110
112 Pathname rootDir() const
113 {
114 const char * rd = ::pool_get_rootdir( _pool );
115 return( rd ? rd : "/" );
116 }
117
119 void rootDir( const Pathname & root_r )
120 {
121 if ( root_r.empty() || root_r == "/" )
122 ::pool_set_rootdir( _pool, nullptr );
123 else
124 ::pool_set_rootdir( _pool, root_r.c_str() );
125 }
126
127 public:
133
134 CRepo * _createRepo( const std::string & name_r );
135
137 void _deleteRepo( CRepo * repo_r );
138
143 int _addSolv( CRepo * repo_r, FILE * file_r );
144
149 int _addHelix( CRepo * repo_r, FILE * file_r );
150
155 int _addTesttags( CRepo * repo_r, FILE * file_r );
156
158 detail::SolvableIdType _addSolvables( CRepo * repo_r, unsigned count_r );
160
162 void _postRepoAdd( CRepo * repo_r );
163
164 public:
166 bool validSolvable( const CSolvable & slv_r ) const
167 { return slv_r.repo; }
168
169 bool validSolvable( SolvableIdType id_r ) const
170 { return id_r < unsigned(_pool->nsolvables) && validSolvable( _pool->solvables[id_r] ); }
171
172 bool validSolvable( const CSolvable * slv_r ) const
173 { return _pool->solvables <= slv_r && slv_r <= _pool->solvables+_pool->nsolvables && validSolvable( *slv_r ); }
174
175 public:
176 CPool * getPool() const
177 { return _pool; }
178
180 CRepo * getRepo( RepoIdType id_r ) const
181 { return id_r; }
182
186 CSolvable * getSolvable( SolvableIdType id_r ) const
187 {
188 if ( validSolvable( id_r ) )
189 return &_pool->solvables[id_r];
190 return 0;
191 }
192
193 public:
195 sat::detail::IdType parserpmrichdep( const char * capstr_r )
196 { return ::pool_parserpmrichdep( _pool, capstr_r ); }
197
198 public:
202 SolvableIdType getFirstId() const
203 { return getNextId( 1 ); }
204
210 SolvableIdType getNextId( SolvableIdType id_r ) const
211 {
212 for( ++id_r; id_r < unsigned(_pool->nsolvables); ++id_r )
213 {
214 if ( validSolvable( _pool->solvables[id_r] ) )
215 return id_r;
216 }
217 return noSolvableId;
218 }
219
220#ifndef ZYPPNG
221 public:
223 const RepoInfo & repoInfo( RepoIdType id_r )
224 { return _repoinfos[id_r]; }
225
226 void setRepoInfo( RepoIdType id_r, const RepoInfo & info_r );
228 void eraseRepoInfo( RepoIdType id_r )
229 { _repoinfos.erase( id_r ); }
230#endif
231
232 public:
236 const sat::detail::IdType whatProvidesData( unsigned offset_r )
237 { return _pool->whatprovidesdata[offset_r]; }
238
242 unsigned whatProvides( Capability cap_r )
243 { prepare(); return ::pool_whatprovides( _pool, cap_r.id() ); }
244
245 public:
252
253
254 void setTextLocale( const Locale & locale_r );
255
256
260 void initRequestedLocales( const LocaleSet & locales_r );
261
263 const LocaleSet & getAddedRequestedLocales() const
264 { return _requestedLocalesTracker.added(); }
265
267 const LocaleSet & getRemovedRequestedLocales() const
268 { return _requestedLocalesTracker.removed(); }
269
271 const LocaleSet & getRequestedLocales() const
272 { return _requestedLocalesTracker.current(); }
273
274 bool isRequestedLocale( const Locale & locale_r ) const
275 { return _requestedLocalesTracker.contains( locale_r ); }
276
278 void setRequestedLocales( const LocaleSet & locales_r );
280 bool addRequestedLocale( const Locale & locale_r );
282 bool eraseRequestedLocale( const Locale & locale_r );
283
285 const LocaleSet & getAvailableLocales() const;
286
287 bool isAvailableLocale( const Locale & locale_r ) const
288 {
289 const LocaleSet & avl( getAvailableLocales() );
290 LocaleSet::const_iterator it( avl.find( locale_r ) );
291 return it != avl.end();
292 }
293
294 typedef base::SetTracker<IdStringSet> TrackedLocaleIds;
295
297 const TrackedLocaleIds & trackedLocaleIds() const;
299
300 public:
303 typedef SolvableSet MultiversionList;
304
305 const MultiversionList & multiversionList() const;
306
307 bool isMultiversion( const Solvable & solv_r ) const;
308
309 void multiversionSpecChanged();
311
312 public:
315
316 StringQueue autoInstalled() const
317 { return _autoinstalled; }
318
320 void setAutoInstalled( const StringQueue & autoInstalled_r )
321 { _autoinstalled = autoInstalled_r; }
322
323 bool isOnSystemByUser( IdString ident_r ) const
324 { return !_autoinstalled.contains( ident_r.id() ); }
325
326 bool isOnSystemByAuto( IdString ident_r ) const
327 { return _autoinstalled.contains( ident_r.id() ); }
328
329
330 public:
333
334 void setNeedrebootSpec( sat::SolvableSpec needrebootSpec_r )
335 {
336 _needrebootSpec = std::move(needrebootSpec_r);
337 _needrebootSpec.setDirty();
338 }
339
341 bool isNeedreboot( const Solvable & solv_r ) const
342 { return _needrebootSpec.contains( solv_r ); }
343
344
345 public:
348 bool isRetracted( const Solvable & solv_r ) const
349 { return _retractedSpec.contains( solv_r ); }
350 bool isPtfMaster( const Solvable & solv_r ) const
351 { return _ptfMasterSpec.contains( solv_r ); }
352 bool isPtfPackage( const Solvable & solv_r ) const
353 { return _ptfPackageSpec.contains( solv_r ); }
354
355
356 public:
358 const std::set<std::string> & requiredFilesystems() const;
359
360 private:
362 CPool * _pool;
364 SerialNumber _serial;
366 SerialNumber _serialIDs;
368 SerialNumberWatcher _watcher;
369
370#ifndef ZYPPNG
372 std::map<RepoIdType,RepoInfo> _repoinfos;
373#endif
374
376 base::SetTracker<LocaleSet> _requestedLocalesTracker;
377 mutable scoped_ptr<TrackedLocaleIds> _trackedLocaleIdsPtr;
378
379 mutable scoped_ptr<LocaleSet> _availableLocalesPtr;
380
382 void multiversionListInit() const;
383 mutable scoped_ptr<MultiversionList> _multiversionListPtr;
384
386 sat::StringQueue _autoinstalled;
387
389 sat::SolvableSpec _needrebootSpec;
390
392 sat::SolvableSpec _retractedSpec;
393 sat::SolvableSpec _ptfMasterSpec;
394 sat::SolvableSpec _ptfPackageSpec;
395
397 mutable scoped_ptr<std::set<std::string> > _requiredFilesystemsPtr;
398 };
399
400
402 } // namespace detail
405 } // namespace sat
408} // namespace zypp
410#define POOL_SETDIRTY
411#endif // ZYPP_SAT_DETAIL_POOLIMPL_H
Capability.h
Hash.h
IdString.h
Locale.h
NonCopyable.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:289
zypp::IdString
Access to the sat-pools string space.
Definition IdString.h:55
zypp::IdString::id
IdType id() const
Expert backdoor.
Definition IdString.h:144
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:48
zypp::filesystem::Pathname::c_str
const char * c_str() const
String representation.
Definition Pathname.h:113
zypp::filesystem::Pathname::empty
bool empty() const
Test for an empty path.
Definition Pathname.h:117
zypp::sat::Queue::contains
bool contains(value_type val_r) const
Return whether the Queue contais at lest one element with value val_r.
Definition Queue.h:58
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:389
zypp::sat::detail::PoolImpl::operator->
CPool * operator->()
Pointer style access forwarded to sat-pool.
Definition PoolImpl.h:67
zypp::sat::detail::PoolImpl::_trackedLocaleIdsPtr
scoped_ptr< TrackedLocaleIds > _trackedLocaleIdsPtr
Definition PoolImpl.h:377
zypp::sat::detail::PoolImpl::TrackedLocaleIds
base::SetTracker< IdStringSet > TrackedLocaleIds
Definition PoolImpl.h:294
zypp::sat::detail::PoolImpl::getPool
CPool * getPool() const
Definition PoolImpl.h:176
zypp::sat::detail::PoolImpl::_retractedSpec
sat::SolvableSpec _retractedSpec
Blacklisted specs:
Definition PoolImpl.h:392
zypp::sat::detail::PoolImpl::_availableLocalesPtr
scoped_ptr< LocaleSet > _availableLocalesPtr
Definition PoolImpl.h:379
zypp::sat::detail::PoolImpl::systemRepo
CRepo * systemRepo() const
Definition PoolImpl.h:108
zypp::sat::detail::PoolImpl::isPtfMaster
bool isPtfMaster(const Solvable &solv_r) const
Definition PoolImpl.h:350
zypp::sat::detail::PoolImpl::rootDir
Pathname rootDir() const
Get rootdir (for file conflicts check).
Definition PoolImpl.h:112
zypp::sat::detail::PoolImpl::_multiversionListPtr
scoped_ptr< MultiversionList > _multiversionListPtr
Definition PoolImpl.h:383
zypp::sat::detail::PoolImpl::autoInstalled
StringQueue autoInstalled() const
Get ident list of all autoinstalled solvables.
Definition PoolImpl.h:316
zypp::sat::detail::PoolImpl::isSystemRepo
bool isSystemRepo(CRepo *repo_r) const
Definition PoolImpl.h:105
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:139
zypp::sat::detail::PoolImpl::getRepo
CRepo * getRepo(RepoIdType id_r) const
Definition PoolImpl.h:180
zypp::sat::detail::PoolImpl::setTextLocale
void setTextLocale(const Locale &locale_r)
Definition PoolImpl.cc:448
zypp::sat::detail::PoolImpl::initRequestedLocales
void initRequestedLocales(const LocaleSet &locales_r)
Start tracking changes based on this locales_r.
Definition PoolImpl.cc:473
zypp::sat::detail::PoolImpl::_autoinstalled
sat::StringQueue _autoinstalled
Definition PoolImpl.h:386
zypp::sat::detail::PoolImpl::_addTesttags
int _addTesttags(CRepo *repo_r, FILE *file_r)
Adding testtags file to a repo.
Definition PoolImpl.cc:357
zypp::sat::detail::PoolImpl::whatProvides
unsigned whatProvides(Capability cap_r)
Returns offset into the internal whatprovidesdata array.
Definition PoolImpl.h:242
zypp::sat::detail::PoolImpl::multiversionListInit
void multiversionListInit() const
Definition PoolImpl.cc:603
zypp::sat::detail::PoolImpl::repoInfo
const RepoInfo & repoInfo(RepoIdType id_r)
Definition PoolImpl.h:223
zypp::sat::detail::PoolImpl::isPtfPackage
bool isPtfPackage(const Solvable &solv_r) const
Definition PoolImpl.h:352
zypp::sat::detail::PoolImpl::getAvailableLocales
const LocaleSet & getAvailableLocales() const
All Locales occurring in any repo.
Definition PoolImpl.cc:583
zypp::sat::detail::PoolImpl::isRequestedLocale
bool isRequestedLocale(const Locale &locale_r) const
Definition PoolImpl.h:274
zypp::sat::detail::PoolImpl::serialIDs
const SerialNumber & serialIDs() const
Serial number changing whenever resusePoolIDs==true was used.
Definition PoolImpl.h:76
zypp::sat::detail::PoolImpl::_repoinfos
std::map< RepoIdType, RepoInfo > _repoinfos
Additional RepoInfo.
Definition PoolImpl.h:372
zypp::sat::detail::PoolImpl::_deleteRepo
void _deleteRepo(CRepo *repo_r)
Delete repo repo_r from pool.
Definition PoolImpl.cc:323
zypp::sat::detail::PoolImpl::eraseRequestedLocale
bool eraseRequestedLocale(const Locale &locale_r)
User change (tracked).
Definition PoolImpl.cc:502
zypp::sat::detail::PoolImpl::getRequestedLocales
const LocaleSet & getRequestedLocales() const
Current set of requested Locales.
Definition PoolImpl.h:271
zypp::sat::detail::PoolImpl::_ptfMasterSpec
sat::SolvableSpec _ptfMasterSpec
Definition PoolImpl.h:393
zypp::sat::detail::PoolImpl::eraseRepoInfo
void eraseRepoInfo(RepoIdType id_r)
Definition PoolImpl.h:228
zypp::sat::detail::PoolImpl::trackedLocaleIds
const TrackedLocaleIds & trackedLocaleIds() const
Expanded _requestedLocalesTracker for solver.
Definition PoolImpl.cc:514
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:236
zypp::sat::detail::PoolImpl::rootDir
void rootDir(const Pathname &root_r)
Set rootdir (for file conflicts check).
Definition PoolImpl.h:119
zypp::sat::detail::PoolImpl::validSolvable
bool validSolvable(SolvableIdType id_r) const
Definition PoolImpl.h:169
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:260
zypp::sat::detail::PoolImpl::_requiredFilesystemsPtr
scoped_ptr< std::set< std::string > > _requiredFilesystemsPtr
filesystems mentioned in /etc/sysconfig/storage
Definition PoolImpl.h:397
zypp::sat::detail::PoolImpl::_requestedLocalesTracker
base::SetTracker< LocaleSet > _requestedLocalesTracker
Definition PoolImpl.h:376
zypp::sat::detail::PoolImpl::setRequestedLocales
void setRequestedLocales(const LocaleSet &locales_r)
User change (tracked).
Definition PoolImpl.cc:482
zypp::sat::detail::PoolImpl::getRemovedRequestedLocales
const LocaleSet & getRemovedRequestedLocales() const
Removed since last initRequestedLocales.
Definition PoolImpl.h:267
zypp::sat::detail::PoolImpl::setNeedrebootSpec
void setNeedrebootSpec(sat::SolvableSpec needrebootSpec_r)
Set new Solvable specs.
Definition PoolImpl.h:334
zypp::sat::detail::PoolImpl::multiversionList
const MultiversionList & multiversionList() const
Definition PoolImpl.cc:629
zypp::sat::detail::PoolImpl::isAvailableLocale
bool isAvailableLocale(const Locale &locale_r) const
Definition PoolImpl.h:287
zypp::sat::detail::PoolImpl::_createRepo
CRepo * _createRepo(const std::string &name_r)
Creating a new repo named name_r.
Definition PoolImpl.cc:314
zypp::sat::detail::PoolImpl::_watcher
SerialNumberWatcher _watcher
Watch serial number.
Definition PoolImpl.h:368
zypp::sat::detail::PoolImpl::isNeedreboot
bool isNeedreboot(const Solvable &solv_r) const
Whether solv_r matches the spec.
Definition PoolImpl.h:341
zypp::sat::detail::PoolImpl::validSolvable
bool validSolvable(const CSolvable *slv_r) const
Definition PoolImpl.h:172
zypp::sat::detail::PoolImpl::parserpmrichdep
sat::detail::IdType parserpmrichdep(const char *capstr_r)
libsolv capability parser
Definition PoolImpl.h:195
zypp::sat::detail::PoolImpl::_serial
SerialNumber _serial
Serial number - changes with each Pool content change.
Definition PoolImpl.h:364
zypp::sat::detail::PoolImpl::requiredFilesystems
const std::set< std::string > & requiredFilesystems() const
accessor for etc/sysconfig/storage reading file on demand
Definition PoolImpl.cc:641
zypp::sat::detail::PoolImpl::_postRepoAdd
void _postRepoAdd(CRepo *repo_r)
Helper postprocessing the repo after adding solv or helix files.
Definition PoolImpl.cc:366
zypp::sat::detail::PoolImpl::getAddedRequestedLocales
const LocaleSet & getAddedRequestedLocales() const
Added since last initRequestedLocales.
Definition PoolImpl.h:263
zypp::sat::detail::PoolImpl::isOnSystemByAuto
bool isOnSystemByAuto(IdString ident_r) const
Definition PoolImpl.h:326
zypp::sat::detail::PoolImpl::setAutoInstalled
void setAutoInstalled(const StringQueue &autoInstalled_r)
Set ident list of all autoinstalled solvables.
Definition PoolImpl.h:320
zypp::sat::detail::PoolImpl::addRequestedLocale
bool addRequestedLocale(const Locale &locale_r)
User change (tracked).
Definition PoolImpl.cc:491
zypp::sat::detail::PoolImpl::_addSolv
int _addSolv(CRepo *repo_r, FILE *file_r)
Adding solv file to a repo.
Definition PoolImpl.cc:339
zypp::sat::detail::PoolImpl::MultiversionList
SolvableSet MultiversionList
Definition PoolImpl.h:303
zypp::sat::detail::PoolImpl::_addHelix
int _addHelix(CRepo *repo_r, FILE *file_r)
Adding helix file to a repo.
Definition PoolImpl.cc:348
zypp::sat::detail::PoolImpl::_ptfPackageSpec
sat::SolvableSpec _ptfPackageSpec
Definition PoolImpl.h:394
zypp::sat::detail::PoolImpl::isRetracted
bool isRetracted(const Solvable &solv_r) const
Definition PoolImpl.h:348
zypp::sat::detail::PoolImpl::validSolvable
bool validSolvable(const CSolvable &slv_r) const
a valid Solvable has a non NULL repo pointer.
Definition PoolImpl.h:166
zypp::sat::detail::PoolImpl::_addSolvables
detail::SolvableIdType _addSolvables(CRepo *repo_r, unsigned count_r)
Adding Solvables to a repo.
Definition PoolImpl.cc:410
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:186
zypp::sat::detail::PoolImpl::_serialIDs
SerialNumber _serialIDs
Serial number of IDs - changes whenever resusePoolIDs==true - ResPool must also invalidate its PoolIt...
Definition PoolImpl.h:366
zypp::sat::detail::PoolImpl::isMultiversion
bool isMultiversion(const Solvable &solv_r) const
Definition PoolImpl.cc:636
zypp::sat::detail::PoolImpl::prepare
void prepare() const
Update housekeeping data (e.g.
Definition PoolImpl.cc:283
zypp::sat::detail::PoolImpl::multiversionSpecChanged
void multiversionSpecChanged()
Definition PoolImpl.cc:626
zypp::sat::detail::PoolImpl::systemRepoAlias
static const std::string & systemRepoAlias()
Reserved system repository alias @System .
Definition PoolImpl.cc:102
zypp::sat::detail::PoolImpl::getNextId
SolvableIdType getNextId(SolvableIdType id_r) const
Get id of the next valid Solvable.
Definition PoolImpl.h:210
zypp::sat::detail::PoolImpl::serial
const SerialNumber & serial() const
Serial number changing whenever the content changes.
Definition PoolImpl.h:72
zypp::sat::detail::PoolImpl::_pool
CPool * _pool
sat-pool.
Definition PoolImpl.h:362
zypp::sat::detail::PoolImpl::getFirstId
SolvableIdType getFirstId() const
Get id of the first valid Solvable.
Definition PoolImpl.h:202
zypp::sat::detail::PoolImpl::isOnSystemByUser
bool isOnSystemByUser(IdString ident_r) const
Definition PoolImpl.h:323
zypp::sat::detail::PoolImpl::setRepoInfo
void setRepoInfo(RepoIdType id_r, const RepoInfo &info_r)
Also adjust repo priority and subpriority accordingly.
Definition PoolImpl.cc:416
zypp::sat::detail::PoolImpl::PoolImpl
PoolImpl()
Default ctor.
Definition PoolImpl.cc:186
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:272
zyppng::base::SetTracker::current
const set_type & current() const
Return the current set.
Definition SetTracker.h:140
zyppng::base::SetTracker::added
const set_type & added() const
Return the set of added items.
Definition SetTracker.h:143
zyppng::base::SetTracker::removed
const set_type & removed() const
Return the set of removed items.
Definition SetTracker.h:146
zyppng::base::SetTracker::contains
bool contains(const key_type &key_r) const
Whether val_r is in the set.
Definition SetTracker.h:130
zypp::base::NonCopyable
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition NonCopyable.h:26
zypp::sat::detail
Definition PoolImpl.cc:73
zypp::sat::detail::SolvableIdType
unsigned int SolvableIdType
Id type to connect Solvable and sat-solvable.
Definition PoolDefines.h:63
zypp::sat::detail::CRepo
::s_Repo CRepo
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:36
zypp::sat::detail::IdType
int IdType
Generic Id type.
Definition PoolDefines.h:42
zypp::sat::detail::CSolvable
::s_Solvable CSolvable
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:37
zypp::sat::detail::CPool
::s_Pool CPool
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:34
zypp::sat::detail::RepoIdType
CRepo * RepoIdType
Id type to connect Repo and sat-repo.
Definition PoolDefines.h:71
zypp::sat
Libsolv interface
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 CodePitfalls.doc:2
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:39