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

#include <indexcopy.h>

Inheritance diagram for SourceCopy:
Collaboration diagram for SourceCopy:

Public Member Functions

bool CopyPackages (std::string CDROM, std::string Name, std::vector< std::string > &List, pkgCdromStatus *log)
 

Protected Member Functions

std::string ChopDirs (std::string Path, unsigned int Depth)
 
void ConvertToSourceList (std::string CD, std::string &Path)
 
virtual bool GetFile (std::string &Filename, unsigned long long &Size)
 
virtual const char * GetFileName ()
 
bool GrabFirst (std::string Path, std::string &To, unsigned int Depth)
 
bool ReconstructChop (unsigned long &Chop, std::string Dir, std::string File)
 
bool ReconstructPrefix (std::string &Prefix, std::string OrigPath, std::string CD, std::string File)
 
virtual bool RewriteEntry (FILE *Target, std::string File)
 
virtual const char * Type ()
 

Protected Attributes

pkgTagSectionSection
 

Member Function Documentation

std::string IndexCopy::ChopDirs ( std::string  Path,
unsigned int  Depth 
)
protectedinherited
void IndexCopy::ConvertToSourceList ( std::string  CD,
std::string &  Path 
)
protectedinherited
bool IndexCopy::CopyPackages ( std::string  CDROM,
std::string  Name,
std::vector< std::string > &  List,
pkgCdromStatus log 
)
inherited
virtual bool SourceCopy::GetFile ( std::string &  Filename,
unsigned long long &  Size 
)
protectedvirtual

Implements IndexCopy.

virtual const char* SourceCopy::GetFileName ( )
inlineprotectedvirtual

Implements IndexCopy.

bool IndexCopy::GrabFirst ( std::string  Path,
std::string &  To,
unsigned int  Depth 
)
protectedinherited
bool IndexCopy::ReconstructChop ( unsigned long &  Chop,
std::string  Dir,
std::string  File 
)
protectedinherited
bool IndexCopy::ReconstructPrefix ( std::string &  Prefix,
std::string  OrigPath,
std::string  CD,
std::string  File 
)
protectedinherited
virtual bool SourceCopy::RewriteEntry ( FILE *  Target,
std::string  File 
)
protectedvirtual

Implements IndexCopy.

virtual const char* SourceCopy::Type ( )
inlineprotectedvirtual

Implements IndexCopy.

Member Data Documentation

pkgTagSection* IndexCopy::Section
protectedinherited

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