libzypp
10.5.0
|
WhatProvides implementation date. More...
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 |
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 WhatProvides.cc.
zypp::sat::WhatProvides::Impl::Impl | ( | ) | [inline] |
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.
Definition at line 64 of file WhatProvides.cc.
Definition at line 65 of file WhatProvides.cc.
std::vector<sat::detail::IdType> zypp::sat::WhatProvides::Impl::_pdata [private] |
Definition at line 68 of file WhatProvides.cc.