libept
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ept::core::record::Source Struct Reference

#include <record.h>

Inheritance diagram for ept::core::record::Source:
Inheritance graph
[legend]
Collaboration diagram for ept::core::record::Source:
Collaboration graph
[legend]

Public Types

typedef vector
< pkgCache::VerFile * > 
VfList
- Public Types inherited from ept::core::Source< Source, Setup, PropertyType >
typedef Setup::PropertyId PropertyId
typedef Setup::Token Token

Public Member Functions

VfListvfList ()
 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)
- Public Member Functions inherited from ept::core::Source< Source, Setup, PropertyType >
Sourceself ()
PropertyType< property >::T get (Token t)
ComposedList< property > list ()
PropertyFilter< P, F >::T propertyFilter (F f)
 Source ()

Static Public Member Functions

static bool localityCompare (const pkgCache::VerFile *a, const pkgCache::VerFile *b)

Public Attributes

AptDatabasem_db
pkgCache::PkgFileIterator lastFile
FileFd file
size_t lastOffset
VfList m_vflist
- Public Attributes inherited from ept::core::Source< Source, Setup, PropertyType >
Token m_cachedToken
Setup::Internal m_cached

Member Typedef Documentation

typedef vector< pkgCache::VerFile * > ept::core::record::Source::VfList

Constructor & Destructor Documentation

ept::core::record::Source::Source ( AptDatabase db)
inline

Member Function Documentation

std::string ept::core::record::Source::getInternal< Record > ( Internal  i)
inline
std::string ept::core::record::Source::getRecord ( Internal  vfi)
inline
Token ept::core::record::Source::getToken ( Internal  i)
inline
void ept::core::record::Source::invalidate ( )
inline
InternalList ept::core::record::Source::listInternal ( )
inline
static bool ept::core::record::Source::localityCompare ( const pkgCache::VerFile *  a,
const pkgCache::VerFile *  b 
)
inlinestatic

Referenced by vfList().

Internal ept::core::record::Source::lookupToken ( Token  t)
inline
VfList& ept::core::record::Source::vfList ( )
inline

Member Data Documentation

FileFd ept::core::record::Source::file

Referenced by getRecord().

pkgCache::PkgFileIterator ept::core::record::Source::lastFile

Referenced by getRecord(), and invalidate().

size_t ept::core::record::Source::lastOffset

Referenced by getRecord().

AptDatabase& ept::core::record::Source::m_db
VfList ept::core::record::Source::m_vflist

Referenced by vfList().


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