libzypp  17.25.1
zypp::sat::WhatProvides::Impl Class Reference

WhatProvides implementation date. More...

Inheritance diagram for zypp::sat::WhatProvides::Impl:

Public Member Functions

 Impl ()
 Impl (unsigned offset_r)
 Impl (const std::unordered_set< detail::IdType > &ids_r)

Public Attributes

unsigned _offset
const detail::IdType_private

Private Attributes

std::vector< sat::detail::IdType_pdata

Additional Inherited Members

- Static Protected Member Functions inherited from zypp::sat::detail::PoolMember
static PoolImplmyPool ()

Detailed Description

WhatProvides implementation date.

Stores the offset into a O terminated Id array. Per default libsolvs whatprovidesdata, otherwise private data.

As libsolvs whatprovidesdata might be realocated while iterating a result, the iterator takes an const IdType const. Thats why we explicitly provide _private and pass its adress to the iterator, even if private data are not reallocated.

Definition at line 41 of file

Constructor & Destructor Documentation

◆ Impl() [1/3]

zypp::sat::WhatProvides::Impl::Impl ( )

Definition at line 44 of file

◆ Impl() [2/3]

zypp::sat::WhatProvides::Impl::Impl ( unsigned  offset_r)

Definition at line 48 of file

◆ Impl() [3/3]

zypp::sat::WhatProvides::Impl::Impl ( const std::unordered_set< detail::IdType > &  ids_r)

Definition at line 52 of file

Member Data Documentation

◆ _offset

unsigned zypp::sat::WhatProvides::Impl::_offset

Definition at line 64 of file

◆ _private

const detail::IdType* zypp::sat::WhatProvides::Impl::_private

Definition at line 65 of file

◆ _pdata

std::vector<sat::detail::IdType> zypp::sat::WhatProvides::Impl::_pdata

Definition at line 68 of file

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