libzypp  17.25.1
zypp::ResPool::EstablishedStates Class Reference

A copy of the Pools initial ValidateValues of pseudo installed items. More...

#include <ResPool.h>

Classes

class  Impl
 Store initial establish status of pseudo installed items. More...
 

Public Types

typedef std::map< PoolItem, ResStatus::ValidateValueChangedPseudoInstalled
 Map holding pseudo installed items where current and established status differ. More...
 

Public Member Functions

 ~EstablishedStates ()
 
ChangedPseudoInstalled changedPseudoInstalled () const
 Return all pseudo installed items whose current state differs from the established one. More...
 

Private Member Functions

 EstablishedStates (shared_ptr< Impl > pimpl_r)
 Factory: ResPool::establishedStates. More...
 

Private Attributes

RW_pointer< Impl_pimpl
 

Friends

class pool::PoolImpl
 

Detailed Description

A copy of the Pools initial ValidateValues of pseudo installed items.

AKA Patch status. Whenever the Pools content changes, the status of pseudo installed items (like Patches) is computed (roughly whether their dependencies are broken or satisfied) and remembered.

Comparing the items established state against it's current state tells how the current transaction would influence the item (break or repair a Patch).

Definition at line 313 of file ResPool.h.

Member Typedef Documentation

◆ ChangedPseudoInstalled

Map holding pseudo installed items where current and established status differ.

Definition at line 318 of file ResPool.h.

Constructor & Destructor Documentation

◆ ~EstablishedStates()

zypp::ResPool::EstablishedStates::~EstablishedStates ( )

Definition at line 23 of file PoolImpl.cc.

◆ EstablishedStates()

zypp::ResPool::EstablishedStates::EstablishedStates ( shared_ptr< Impl pimpl_r)
inlineprivate

Factory: ResPool::establishedStates.

Definition at line 327 of file ResPool.h.

Member Function Documentation

◆ changedPseudoInstalled()

ResPool::EstablishedStates::ChangedPseudoInstalled zypp::ResPool::EstablishedStates::changedPseudoInstalled ( ) const

Return all pseudo installed items whose current state differs from the established one.

Definition at line 26 of file PoolImpl.cc.

Friends And Related Function Documentation

◆ pool::PoolImpl

friend class pool::PoolImpl
friend

Definition at line 325 of file ResPool.h.

Member Data Documentation

◆ _pimpl

RW_pointer<Impl> zypp::ResPool::EstablishedStates::_pimpl
private

Definition at line 322 of file ResPool.h.


The documentation for this class was generated from the following files: