apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pkgSrcRecords Class Reference

#include <srcrecords.h>

Classes

struct  File
 
class  Parser
 

Public Member Functions

bool Restart ()
 
const ParserStep ()
 
ParserFind (const char *Package, bool const &SrcOnly=false)
 
 pkgSrcRecords (pkgSourceList &List)
 
virtual ~pkgSrcRecords ()
 

Private Attributes

void *const d
 dpointer placeholder (for later in case we need it) More...
 
std::vector< Parser * > Files
 
std::vector< Parser * >::iterator Current
 

Detailed Description

Definition at line 24 of file srcrecords.h.

Constructor & Destructor Documentation

◆ pkgSrcRecords()

pkgSrcRecords ( pkgSourceList List)
explicit

Definition at line 33 of file srcrecords.cc.

References pkgSourceList::begin(), pkgSourceList::end(), Files, I, and Restart().

◆ ~pkgSrcRecords()

~pkgSrcRecords ( )
virtual

Definition at line 66 of file srcrecords.cc.

References Files, and I.

Member Function Documentation

◆ Find()

pkgSrcRecords::Parser * Find ( const char *  Package,
bool const &  SrcOnly = false 
)

Definition at line 111 of file srcrecords.cc.

References Current, I, and Step().

Referenced by FindSrc(), Madison(), and ShowSrcPackage().

◆ Restart()

bool Restart ( )

Definition at line 76 of file srcrecords.cc.

References Current, Files, and I.

Referenced by FindSrc(), Madison(), pkgSrcRecords(), and ShowSrcPackage().

◆ Step()

const pkgSrcRecords::Parser * Step ( )

Definition at line 90 of file srcrecords.cc.

References Current, and Files.

Referenced by Find().

Member Data Documentation

◆ Current

std::vector<Parser *>::iterator Current
private

Definition at line 89 of file srcrecords.h.

Referenced by Find(), Restart(), and Step().

◆ d

void* const d
private

dpointer placeholder (for later in case we need it)

Definition at line 85 of file srcrecords.h.

◆ Files

std::vector<Parser*> Files
private

Definition at line 88 of file srcrecords.h.

Referenced by pkgSrcRecords(), Restart(), Step(), and ~pkgSrcRecords().


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