#include <apt.h>
Public Member Functions | |
| pkgCache & | cache () |
| pkgDepCache & | state () |
| pkgPolicy & | policy () |
| AptDatabase () | |
| void | setProgress (OpProgress *p) |
| bool | writeable () |
| void | openState () |
| void | openCache () |
| void | invalidate () |
| Token | candidateVersion (Token p) |
| pkgCache::VerIterator | candidateVersion (pkgCache::PkgIterator pi) |
| pkgCache::VerIterator | installedVersion (pkgCache::PkgIterator pi) |
| pkgCache::PkgIterator | lookupPackage (Token t) |
| pkgCache::VerIterator | lookupVersion (Token t) |
| PackageState | packageState (pkgCache::PkgIterator P) |
| PackageState | packageState (Token t) |
| Token | validate (Token t) |
| ~AptDatabase () | |
Static Public Member Functions | |
| static pkgCache::VerFileIterator | lookupVersionFile (pkgCache::VerIterator vi) |
Public Attributes | |
| OpProgress * | m_progress |
| bool | m_tryWriteable |
| bool | m_writeable |
Protected Attributes | |
| pkgCache * | m_cache |
| pkgDepCache * | m_state |
| pkgPolicy * | m_policy |
| ept::core::AptDatabase::AptDatabase | ( | ) | [inline] |
References m_cache, m_policy, m_progress, m_state, m_tryWriteable, and m_writeable.
| ept::core::AptDatabase::~AptDatabase | ( | ) | [inline] |
References invalidate().
| pkgCache& ept::core::AptDatabase::cache | ( | ) | [inline] |
References m_cache, and openCache().
Referenced by candidateVersion(), ept::core::record::Source::getRecord(), ept::core::record::InternalList::head(), installedVersion(), ept::core::version::Source::listInternal(), ept::core::package::Source::listInternal(), lookupPackage(), openState(), and ept::core::record::Source::vfList().
| pkgDepCache& ept::core::AptDatabase::state | ( | ) | [inline] |
References m_state, and openState().
Referenced by ept::core::package::Action::apply(), packageState(), and ept::core::package::Source::revertState().
| pkgPolicy& ept::core::AptDatabase::policy | ( | ) | [inline] |
| void ept::core::AptDatabase::setProgress | ( | OpProgress * | p | ) | [inline] |
References m_progress.
| bool ept::core::AptDatabase::writeable | ( | ) | [inline] |
References m_cache, m_writeable, and openCache().
| void ept::core::AptDatabase::openState | ( | ) | [inline] |
| void ept::core::AptDatabase::openCache | ( | ) | [inline] |
References m_cache, m_policy, m_progress, m_tryWriteable, and m_writeable.
Referenced by cache(), policy(), and writeable().
| void ept::core::AptDatabase::invalidate | ( | ) | [inline] |
References m_cache, m_policy, and m_state.
Referenced by TestCoreApt::invalidate(), and ~AptDatabase().
References ept::Token::_id, cache(), ept::Token::package(), and policy().
Referenced by lookupVersion(), and packageState().
| pkgCache::VerIterator ept::core::AptDatabase::candidateVersion | ( | pkgCache::PkgIterator | pi | ) | [inline] |
References policy().
| pkgCache::VerIterator ept::core::AptDatabase::installedVersion | ( | pkgCache::PkgIterator | pi | ) | [inline] |
| pkgCache::PkgIterator ept::core::AptDatabase::lookupPackage | ( | Token | t | ) | [inline] |
References cache(), and ept::Token::package().
Referenced by ept::core::package::Source::lookupToken(), lookupVersion(), packageState(), and validate().
| pkgCache::VerIterator ept::core::AptDatabase::lookupVersion | ( | Token | t | ) | [inline] |
| static pkgCache::VerFileIterator ept::core::AptDatabase::lookupVersionFile | ( | pkgCache::VerIterator | vi | ) | [inline, static] |
Referenced by ept::core::record::Source::lookupToken().
| PackageState ept::core::AptDatabase::packageState | ( | pkgCache::PkgIterator | P | ) | [inline] |
References candidateVersion(), ept::core::PackageState::Hold, ept::core::PackageState::Install, ept::core::PackageState::Installed, installedVersion(), ept::core::PackageState::Keep, ept::core::PackageState::NowBroken, ept::core::PackageState::Purge, ept::core::PackageState::ReInstall, ept::core::PackageState::Remove, state(), ept::core::PackageState::Upgradable, and ept::core::PackageState::WillBreak.
Referenced by TestCoreApt::packageState(), packageState(), and ept::core::package::Action::redundant().
| PackageState ept::core::AptDatabase::packageState | ( | Token | t | ) | [inline] |
References lookupPackage(), and packageState().
References ept::Token::hasVersion(), lookupPackage(), and lookupVersion().
Referenced by TestCoreApt::validate().
| OpProgress* ept::core::AptDatabase::m_progress |
Referenced by AptDatabase(), openCache(), openState(), and setProgress().
Referenced by AptDatabase(), and openCache().
Referenced by AptDatabase(), openCache(), and writeable().
pkgCache* ept::core::AptDatabase::m_cache [protected] |
Referenced by AptDatabase(), cache(), invalidate(), openCache(), and writeable().
pkgDepCache* ept::core::AptDatabase::m_state [protected] |
Referenced by AptDatabase(), invalidate(), openState(), and state().
pkgPolicy* ept::core::AptDatabase::m_policy [protected] |
Referenced by AptDatabase(), invalidate(), openCache(), openState(), and policy().
1.5.6