#include <record.h>
Public Types | |
typedef vector < pkgCache::VerFile * > | VfList |
Public Member Functions | |
VfList & | vfList () |
Source (AptDatabase &db) | |
InternalList | listInternal () |
Internal | lookupToken (Token t) |
void | invalidate () |
std::string | getRecord (Internal vfi) |
Token | getToken (Internal i) |
template<PropertyId p> | |
PropertyType< p >::T | getInternal (Internal i) |
Static Public Member Functions | |
static bool | localityCompare (const pkgCache::VerFile *a, const pkgCache::VerFile *b) |
Public Attributes | |
AptDatabase & | m_db |
pkgCache::PkgFileIterator | lastFile |
FileFd | file |
size_t | lastOffset |
VfList | m_vflist |
typedef vector< pkgCache::VerFile * > ept::core::record::Source::VfList |
ept::core::record::Source::Source | ( | AptDatabase & | db | ) | [inline] |
std::string ept::core::record::Source::getInternal< Record > | ( | Internal | i | ) | [inline] |
References ept::core::record::Parser::get(), and getRecord().
std::string ept::core::record::Source::getRecord | ( | Internal | vfi | ) | [inline] |
References ept::core::AptDatabase::cache(), file, lastFile, lastOffset, and m_db.
Referenced by getInternal().
References ept::Token::_id.
void ept::core::record::Source::invalidate | ( | ) | [inline] |
Reimplemented from ept::core::Source< Source, Setup, PropertyType >.
References lastFile.
InternalList ept::core::record::Source::listInternal | ( | ) | [inline] |
static bool ept::core::record::Source::localityCompare | ( | const pkgCache::VerFile * | a, | |
const pkgCache::VerFile * | b | |||
) | [inline, static] |
Referenced by vfList().
VfList& ept::core::record::Source::vfList | ( | ) | [inline] |
References ept::core::AptDatabase::cache(), localityCompare(), m_db, and m_vflist.
Referenced by ept::core::record::InternalList::empty(), and ept::core::record::InternalList::head().
Referenced by getRecord().
pkgCache::PkgFileIterator ept::core::record::Source::lastFile |
Referenced by getRecord(), and invalidate().
Referenced by getRecord().
Referenced by getRecord(), ept::core::record::InternalList::head(), lookupToken(), and vfList().
Referenced by vfList().