27 _serialWatcher.remember( _pool.serial() );
35 &&
"PreparedPool used after Pool was invalidated" );
42 return ::pool_whatprovides(
get(), cap_r );
47 return get()->whatprovidesdata[offset_r];
53 ::pool_whatmatchesdep(
get(),
attr.id(), cap.
id(), q, 0 );
60 ::pool_whatmatchessolvable(
get(),
attr.id(),
static_cast<Id
>( solv.
id() ), q, 0 );
67 ::pool_whatcontainsdep(
get(),
attr.id(), cap.
id(), q, 0 );
A Solvable object within the sat Pool.
bool remember(unsigned serial_r) const
Return isDirty, storing serial_r as new value.
SerialNumberWatcher _serialWatcher
Orchestrator for a libsolv pool instance.
sat::detail::IdType id() const
Expert backdoor.
Queue whatMatchesDep(const SolvAttr &, const Capability &) const
All solvables whose attribute attr_r matches dependency cap_r.
zypp::sat::detail::CPool CPool
Queue whatContainsDep(const SolvAttr &, const Capability &) const
All solvables whose attribute attr_r contains dependency cap_r.
detail::CPool * get() const noexcept
Expert backdoor — raw libsolv pool pointer.
detail::CPool * get() const
Expert backdoor.
This file contains private API, this might break at any time between releases.
zypp::sat::detail::IdType IdType
IdType id() const
Expert backdoor.
Queue whatMatchesSolvable(const SolvAttr &, const Solvable &) const
All solvables whose attribute attr_r matches solvable solv_r.
Libsolv Id queue wrapper.
detail::IdType whatProvidesData(unsigned offset_r) const
Returns the id stored at offset_r in the whatprovidesdata array.
unsigned whatProvidesCapabilityId(detail::IdType cap_r) const
Returns the offset into the internal whatprovidesdata array for cap_r.
const SerialNumber & serial() const
Serial number changing whenever the content changes.