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
pkgSourceList::Type Class Referenceabstract

#include <sourcelist.h>

Collaboration diagram for pkgSourceList::Type:

Public Member Functions

 Type ()
 
virtual ~Type ()
 
virtual bool CreateItem (std::vector< metaIndex * > &List, std::string const &URI, std::string const &Dist, std::string const &Section, std::map< std::string, std::string > const &Options) const =0
 
bool FixupURI (std::string &URI) const
 
virtual bool ParseLine (std::vector< metaIndex * > &List, const char *Buffer, unsigned long const &CurLine, std::string const &File) const
 

Static Public Member Functions

static TypeGetType (const char *Type)
 

Public Attributes

const char * Label
 
const char * Name
 

Static Public Attributes

static Type ** GlobalList
 
static unsigned long GlobalListLen
 

Constructor & Destructor Documentation

pkgSourceList::Type::Type ( )
virtual pkgSourceList::Type::~Type ( )
inlinevirtual

Member Function Documentation

virtual bool pkgSourceList::Type::CreateItem ( std::vector< metaIndex * > &  List,
std::string const &  URI,
std::string const &  Dist,
std::string const &  Section,
std::map< std::string, std::string > const &  Options 
) const
pure virtual
bool pkgSourceList::Type::FixupURI ( std::string &  URI) const
static Type* pkgSourceList::Type::GetType ( const char *  Type)
static
virtual bool pkgSourceList::Type::ParseLine ( std::vector< metaIndex * > &  List,
const char *  Buffer,
unsigned long const &  CurLine,
std::string const &  File 
) const
virtual

Member Data Documentation

Type** pkgSourceList::Type::GlobalList
static
unsigned long pkgSourceList::Type::GlobalListLen
static
const char* pkgSourceList::Type::Label
const char* pkgSourceList::Type::Name

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