libzypp  17.34.1
zypp::CachedPublicKeyData Class Reference

Functor returning the keyrings data (cached). More...

#include <zypp/zypp_detail/keyring_p.h>

Inheritance diagram for zypp::CachedPublicKeyData:

Classes

struct  Cache
 
struct  Manip
 Helper providing on demand a KeyManagerCtx to manip the cached keyring. More...
 

Public Member Functions

const std::list< PublicKeyData > & operator() (const Pathname &keyring_r) const
 
void setDirty (const Pathname &keyring_r)
 
Manip manip (Pathname keyring_r)
 Helper providing on demand a KeyManagerCtx to manip the cached keyring. More...
 

Private Types

using CacheMap = std::map< Pathname, Cache >
 

Private Member Functions

const std::list< PublicKeyData > & getData (const Pathname &keyring_r) const
 
const std::list< PublicKeyData > & getData (const Pathname &keyring_r, Cache &cache_r) const
 

Private Attributes

CacheMap _cacheMap
 

Detailed Description

Functor returning the keyrings data (cached).

const std::list<PublicKeyData> & cachedPublicKeyData( const Pathname & keyring );

Definition at line 32 of file keyring_p.h.

Member Typedef Documentation

◆ CacheMap

Definition at line 78 of file keyring_p.h.

Member Function Documentation

◆ operator()()

const std::list< PublicKeyData > & zypp::CachedPublicKeyData::operator() ( const Pathname keyring_r) const

Definition at line 159 of file KeyRing.cc.

◆ setDirty()

void zypp::CachedPublicKeyData::setDirty ( const Pathname keyring_r)

Definition at line 162 of file KeyRing.cc.

◆ manip()

CachedPublicKeyData::Manip zypp::CachedPublicKeyData::manip ( filesystem::Pathname  keyring_r)

Helper providing on demand a KeyManagerCtx to manip the cached keyring.

Definition at line 165 of file KeyRing.cc.

◆ getData() [1/2]

const std::list< PublicKeyData > & zypp::CachedPublicKeyData::getData ( const Pathname keyring_r) const
private

Definition at line 167 of file KeyRing.cc.

◆ getData() [2/2]

const std::list< PublicKeyData > & zypp::CachedPublicKeyData::getData ( const Pathname keyring_r,
Cache cache_r 
) const
private

Definition at line 175 of file KeyRing.cc.

Member Data Documentation

◆ _cacheMap

CacheMap zypp::CachedPublicKeyData::_cacheMap
mutableprivate

Definition at line 84 of file keyring_p.h.


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