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

#include <cdrom.h>

Public Member Functions

bool Add (pkgCdromStatus *log)
 
bool Ident (std::string &ident, pkgCdromStatus *log)
 

Protected Types

enum  {
  STEP_PREPARE = 1,
  STEP_UNMOUNT,
  STEP_WAIT,
  STEP_MOUNT,
  STEP_IDENT,
  STEP_SCAN,
  STEP_COPY,
  STEP_WRITE,
  STEP_UNMOUNT3,
  STEP_LAST
}
 

Protected Member Functions

bool DropBinaryArch (std::vector< std::string > &List)
 
bool DropRepeats (std::vector< std::string > &List, const char *Name)
 
bool DropTranslation (std::vector< std::string > &List)
 
bool FindPackages (std::string CD, std::vector< std::string > &List, std::vector< std::string > &SList, std::vector< std::string > &SigList, std::vector< std::string > &TransList, std::string &InfoDir, pkgCdromStatus *log, unsigned int Depth=0)
 
void ReduceSourcelist (std::string CD, std::vector< std::string > &List)
 
int Score (std::string Path)
 
bool WriteDatabase (Configuration &Cnf)
 
bool WriteSourceList (std::string Name, std::vector< std::string > &List, bool Source)
 

Member Enumeration Documentation

anonymous enum
protected
Enumerator
STEP_PREPARE 
STEP_UNMOUNT 
STEP_WAIT 
STEP_MOUNT 
STEP_IDENT 
STEP_SCAN 
STEP_COPY 
STEP_WRITE 
STEP_UNMOUNT3 
STEP_LAST 

Member Function Documentation

bool pkgCdrom::Add ( pkgCdromStatus log)
bool pkgCdrom::DropBinaryArch ( std::vector< std::string > &  List)
protected
bool pkgCdrom::DropRepeats ( std::vector< std::string > &  List,
const char *  Name 
)
protected
bool pkgCdrom::DropTranslation ( std::vector< std::string > &  List)
protected
bool pkgCdrom::FindPackages ( std::string  CD,
std::vector< std::string > &  List,
std::vector< std::string > &  SList,
std::vector< std::string > &  SigList,
std::vector< std::string > &  TransList,
std::string &  InfoDir,
pkgCdromStatus log,
unsigned int  Depth = 0 
)
protected
bool pkgCdrom::Ident ( std::string &  ident,
pkgCdromStatus log 
)
void pkgCdrom::ReduceSourcelist ( std::string  CD,
std::vector< std::string > &  List 
)
protected
int pkgCdrom::Score ( std::string  Path)
protected
bool pkgCdrom::WriteDatabase ( Configuration Cnf)
protected
bool pkgCdrom::WriteSourceList ( std::string  Name,
std::vector< std::string > &  List,
bool  Source 
)
protected

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