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)  

SourceCopy Class Reference

#include <indexcopy.h>

Inheritance diagram for SourceCopy:
[legend]
Collaboration diagram for SourceCopy:
[legend]

Public Member Functions

 SourceCopy ()
 
virtual ~SourceCopy ()
 
- Public Member Functions inherited from IndexCopy
bool CopyPackages (std::string CDROM, std::string Name, std::vector< std::string > &List, pkgCdromStatus *log)
 
 IndexCopy ()
 
virtual ~IndexCopy ()
 

Protected Member Functions

virtual bool GetFile (std::string &Filename, unsigned long long &Size) APT_OVERRIDE
 
virtual bool RewriteEntry (FileFd &Target, std::string const &File) APT_OVERRIDE
 
virtual const char * GetFileName () APT_OVERRIDE
 
virtual const char * Type () APT_OVERRIDE
 
- Protected Member Functions inherited from IndexCopy
std::string ChopDirs (std::string Path, unsigned int Depth)
 
bool ReconstructPrefix (std::string &Prefix, std::string OrigPath, std::string CD, std::string File)
 
bool ReconstructChop (unsigned long &Chop, std::string Dir, std::string File)
 
void ConvertToSourceList (std::string CD, std::string &Path)
 
bool GrabFirst (std::string Path, std::string &To, unsigned int Depth)
 

Private Attributes

void *const d
 

Additional Inherited Members

- Protected Attributes inherited from IndexCopy
pkgTagSectionSection
 

Detailed Description

Definition at line 69 of file indexcopy.h.

Constructor & Destructor Documentation

◆ SourceCopy()

Definition at line 781 of file indexcopy.cc.

◆ ~SourceCopy()

~SourceCopy ( )
virtual

Definition at line 782 of file indexcopy.cc.

Member Function Documentation

◆ GetFile()

bool GetFile ( std::string &  Filename,
unsigned long long &  Size 
)
protectedvirtual

◆ GetFileName()

virtual const char* GetFileName ( )
inlineprotectedvirtual

Implements IndexCopy.

Definition at line 76 of file indexcopy.h.

◆ RewriteEntry()

bool RewriteEntry ( FileFd Target,
std::string const &  File 
)
protectedvirtual

◆ Type()

virtual const char* Type ( )
inlineprotectedvirtual

Implements IndexCopy.

Definition at line 77 of file indexcopy.h.

Member Data Documentation

◆ d

void* const d
private

Definition at line 71 of file indexcopy.h.


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