libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgSourceList Class Reference

#include <sourcelist.h>

Collaboration diagram for pkgSourceList:

Classes

class  Type
 

Public Types

typedef std::vector< metaIndex * >
::const_iterator 
const_iterator
 

Public Member Functions

 pkgSourceList ()
 
 pkgSourceList (std::string File)
 
 ~pkgSourceList ()
 
const_iterator begin () const
 
bool empty () const
 
const_iterator end () const
 
bool FindIndex (pkgCache::PkgFileIterator File, pkgIndexFile *&Found) const
 
bool GetIndexes (pkgAcquire *Owner, bool GetAll=false) const
 
time_t GetLastModifiedTime ()
 
bool Read (std::string File)
 
bool ReadAppend (std::string File)
 
bool ReadMainList ()
 
bool ReadSourceDir (std::string Dir)
 
void Reset ()
 
unsigned int size () const
 

Protected Attributes

std::vector< metaIndex * > SrcList
 

Member Typedef Documentation

Constructor & Destructor Documentation

pkgSourceList::pkgSourceList ( )
pkgSourceList::pkgSourceList ( std::string  File)
pkgSourceList::~pkgSourceList ( )

Member Function Documentation

const_iterator pkgSourceList::begin ( ) const
inline

References SrcList.

bool pkgSourceList::empty ( ) const
inline

References SrcList.

const_iterator pkgSourceList::end ( ) const
inline

References SrcList.

bool pkgSourceList::FindIndex ( pkgCache::PkgFileIterator  File,
pkgIndexFile *&  Found 
) const
bool pkgSourceList::GetIndexes ( pkgAcquire Owner,
bool  GetAll = false 
) const
time_t pkgSourceList::GetLastModifiedTime ( )
bool pkgSourceList::Read ( std::string  File)
bool pkgSourceList::ReadAppend ( std::string  File)
bool pkgSourceList::ReadMainList ( )
bool pkgSourceList::ReadSourceDir ( std::string  Dir)
void pkgSourceList::Reset ( )
unsigned int pkgSourceList::size ( ) const
inline

References SrcList.

Member Data Documentation

std::vector<metaIndex *> pkgSourceList::SrcList
protected

Referenced by begin(), empty(), end(), and size().


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