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
pkgExtract Class Reference

#include <extract.h>

Inheritance diagram for pkgExtract:
Collaboration diagram for pkgExtract:

Public Member Functions

 pkgExtract (pkgFLCache &FLCache, pkgCache::VerIterator Ver)
 
bool Aborted ()
 
virtual bool DoItem (Item &Itm, int &Fd)
 
virtual bool Fail (Item &Itm, int Fd)
 
bool Finished ()
 
virtual bool FinishedFile (Item &Itm, int Fd)
 
virtual bool Process (Item &Itm, const unsigned char *Data, unsigned long Size, unsigned long Pos)
 

Private Member Functions

bool CheckDirReplace (std::string Dir, unsigned int Depth=0)
 
bool HandleOverwrites (pkgFLCache::NodeIterator Nde, bool DiverCheck=false)
 

Private Attributes

bool Debug
 
char FileName [1024]
 
pkgFLCacheFLCache
 
pkgFLCache::PkgIterator FLPkg
 
pkgCache::VerIterator Ver
 

Constructor & Destructor Documentation

pkgExtract::pkgExtract ( pkgFLCache FLCache,
pkgCache::VerIterator  Ver 
)

Member Function Documentation

bool pkgExtract::Aborted ( )
bool pkgExtract::CheckDirReplace ( std::string  Dir,
unsigned int  Depth = 0 
)
private
virtual bool pkgExtract::DoItem ( Item Itm,
int &  Fd 
)
virtual

Reimplemented from pkgDirStream.

virtual bool pkgExtract::Fail ( Item Itm,
int  Fd 
)
virtual

Reimplemented from pkgDirStream.

bool pkgExtract::Finished ( )
virtual bool pkgExtract::FinishedFile ( Item Itm,
int  Fd 
)
virtual

Reimplemented from pkgDirStream.

bool pkgExtract::HandleOverwrites ( pkgFLCache::NodeIterator  Nde,
bool  DiverCheck = false 
)
private
virtual bool pkgDirStream::Process ( Item Itm,
const unsigned char *  Data,
unsigned long  Size,
unsigned long  Pos 
)
inlinevirtualinherited

Reimplemented in debDebFile::MemControlExtract.

Member Data Documentation

bool pkgExtract::Debug
private
char pkgExtract::FileName[1024]
private
pkgFLCache& pkgExtract::FLCache
private
pkgFLCache::PkgIterator pkgExtract::FLPkg
private
pkgCache::VerIterator pkgExtract::Ver
private

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