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

#include <extracttar.h>

Collaboration diagram for ExtractTar:

Public Member Functions

 ExtractTar (FileFd &Fd, unsigned long Max, std::string DecompressionProgram)
 
virtual ~ExtractTar ()
 
bool Go (pkgDirStream &Stream)
 

Protected Types

enum  ItemType {
  NormalFile0 = '\0',
  NormalFile = '0',
  HardLink = '1',
  SymbolicLink = '2',
  CharacterDevice = '3',
  BlockDevice = '4',
  Directory = '5',
  FIFO = '6',
  GNU_LongLink = 'K',
  GNU_LongName = 'L'
}
 

Protected Member Functions

bool Done (bool Force)
 
bool StartGzip ()
 

Protected Attributes

std::string DecompressProg
 
bool Eof
 
FileFdFile
 
int GZPid
 
FileFd InFd
 
unsigned long MaxInSize
 

Member Enumeration Documentation

enum ExtractTar::ItemType
protected
Enumerator
NormalFile0 
NormalFile 
HardLink 
SymbolicLink 
CharacterDevice 
BlockDevice 
Directory 
FIFO 
GNU_LongLink 
GNU_LongName 

Constructor & Destructor Documentation

ExtractTar::ExtractTar ( FileFd Fd,
unsigned long  Max,
std::string  DecompressionProgram 
)
virtual ExtractTar::~ExtractTar ( )
virtual

Member Function Documentation

bool ExtractTar::Done ( bool  Force)
protected
bool ExtractTar::Go ( pkgDirStream Stream)
bool ExtractTar::StartGzip ( )
protected

Member Data Documentation

std::string ExtractTar::DecompressProg
protected
bool ExtractTar::Eof
protected
FileFd& ExtractTar::File
protected
int ExtractTar::GZPid
protected
FileFd ExtractTar::InFd
protected
unsigned long ExtractTar::MaxInSize
protected

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