libzypp  9.1.2
Public Member Functions | Public Attributes | Private Attributes
zypp::sat::WhatProvides::Impl Class Reference

WhatProvides implementation date. More...

Inheritance diagram for zypp::sat::WhatProvides::Impl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

unsigned _offset
const detail::IdType_private

Private Attributes

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

Detailed Description

WhatProvides implementation date.

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

As the satsolvers 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 WhatProvides.cc.


Constructor & Destructor Documentation

Definition at line 44 of file WhatProvides.cc.

zypp::sat::WhatProvides::Impl::Impl ( unsigned  offset_r) [inline]

Definition at line 48 of file WhatProvides.cc.

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

Definition at line 52 of file WhatProvides.cc.

References _pdata, _private, and zypp::sat::detail::noId().


Member Data Documentation

Definition at line 64 of file WhatProvides.cc.

Referenced by zypp::sat::WhatProvides::begin().

Definition at line 65 of file WhatProvides.cc.

Referenced by zypp::sat::WhatProvides::begin(), and Impl().

Definition at line 68 of file WhatProvides.cc.

Referenced by Impl().


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