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

#include <edsplistparser.h>

Inheritance diagram for edspListParser:
Collaboration diagram for edspListParser:

Public Member Functions

 edspListParser (FileFd *File, std::string const &Arch="")
 
virtual std::string Architecture ()
 
virtual bool ArchitectureAll ()
 
virtual bool CollectFileProvides (pkgCache &Cache, pkgCache::VerIterator &Ver)
 
virtual std::string Description ()
 
virtual MD5SumValue Description_md5 ()
 
virtual std::string DescriptionLanguage ()
 
bool HasFileDeps ()
 
bool LoadReleaseInfo (pkgCache::PkgFileIterator &FileI, FileFd &File, std::string section)
 
virtual bool NewVersion (pkgCache::VerIterator &Ver)
 
virtual unsigned long Offset ()
 
virtual std::string Package ()
 
virtual unsigned long Size ()
 
virtual bool Step ()
 
virtual bool UsePackage (pkgCache::PkgIterator &Pkg, pkgCache::VerIterator &Ver)
 
virtual std::string Version ()
 
virtual unsigned short VersionHash ()
 

Static Public Member Functions

static const char * ConvertRelation (const char *I, unsigned int &Op)
 
static unsigned char GetPrio (std::string Str)
 
static const char * ParseDepends (const char *Start, const char *Stop, std::string &Package, std::string &Ver, unsigned int &Op, bool const &ParseArchFlags=false, bool const &StripMultiArch=true)
 

Protected Member Functions

bool NewDepends (pkgCache::VerIterator &Ver, const std::string &Package, const std::string &Arch, const std::string &Version, unsigned int Op, unsigned int Type)
 
bool NewProvides (pkgCache::VerIterator &Ver, const std::string &PkgName, const std::string &PkgArch, const std::string &Version)
 
bool NewProvidesAllArch (pkgCache::VerIterator &Ver, std::string const &Package, std::string const &Version)
 
bool ParseDepends (pkgCache::VerIterator &Ver, const char *Tag, unsigned int Type)
 
bool ParseProvides (pkgCache::VerIterator &Ver)
 
virtual bool ParseStatus (pkgCache::PkgIterator &Pkg, pkgCache::VerIterator &Ver)
 
unsigned long UniqFindTagWrite (const char *Tag)
 
unsigned long WriteString (const std::string &S)
 
unsigned long WriteString (const char *S, unsigned int Size)
 
unsigned long WriteUniqString (std::string S)
 
unsigned long WriteUniqString (const char *S, unsigned int Size)
 

Static Protected Member Functions

static bool GrabWord (std::string Word, WordList *List, unsigned char &Out)
 

Protected Attributes

std::string Arch
 
std::vector< std::string > Architectures
 
unsigned long iOffset
 
bool MultiArchEnabled
 
pkgTagSection Section
 
pkgTagFile Tags
 

Constructor & Destructor Documentation

edspListParser::edspListParser ( FileFd File,
std::string const &  Arch = "" 
)

Member Function Documentation

virtual std::string debListParser::Architecture ( )
virtualinherited
virtual bool debListParser::ArchitectureAll ( )
virtualinherited
virtual bool pkgCacheGenerator::ListParser::CollectFileProvides ( pkgCache Cache,
pkgCache::VerIterator Ver 
)
inlinevirtualinherited
static const char* debListParser::ConvertRelation ( const char *  I,
unsigned int &  Op 
)
staticinherited
virtual std::string edspListParser::Description ( )
virtual

Reimplemented from debListParser.

virtual MD5SumValue edspListParser::Description_md5 ( )
virtual

Reimplemented from debListParser.

virtual std::string edspListParser::DescriptionLanguage ( )
virtual

Reimplemented from debListParser.

static unsigned char debListParser::GetPrio ( std::string  Str)
staticinherited
static bool debListParser::GrabWord ( std::string  Word,
WordList List,
unsigned char &  Out 
)
staticprotectedinherited
bool pkgCacheGenerator::ListParser::HasFileDeps ( )
inlineinherited
bool edspListParser::LoadReleaseInfo ( pkgCache::PkgFileIterator FileI,
FileFd File,
std::string  section 
)
bool pkgCacheGenerator::ListParser::NewDepends ( pkgCache::VerIterator Ver,
const std::string &  Package,
const std::string &  Arch,
const std::string &  Version,
unsigned int  Op,
unsigned int  Type 
)
protectedinherited
bool pkgCacheGenerator::ListParser::NewProvides ( pkgCache::VerIterator Ver,
const std::string &  PkgName,
const std::string &  PkgArch,
const std::string &  Version 
)
protectedinherited
bool debListParser::NewProvidesAllArch ( pkgCache::VerIterator Ver,
std::string const &  Package,
std::string const &  Version 
)
protectedinherited
virtual bool edspListParser::NewVersion ( pkgCache::VerIterator Ver)
virtual

Reimplemented from debListParser.

virtual unsigned long debListParser::Offset ( )
inlinevirtualinherited
virtual std::string debListParser::Package ( )
virtualinherited
bool debListParser::ParseDepends ( pkgCache::VerIterator Ver,
const char *  Tag,
unsigned int  Type 
)
protectedinherited
static const char* debListParser::ParseDepends ( const char *  Start,
const char *  Stop,
std::string &  Package,
std::string &  Ver,
unsigned int &  Op,
bool const &  ParseArchFlags = false,
bool const &  StripMultiArch = true 
)
staticinherited
bool debListParser::ParseProvides ( pkgCache::VerIterator Ver)
protectedinherited
virtual bool edspListParser::ParseStatus ( pkgCache::PkgIterator Pkg,
pkgCache::VerIterator Ver 
)
protectedvirtual

Reimplemented from debListParser.

virtual unsigned long debListParser::Size ( )
inlinevirtualinherited

Implements pkgCacheGenerator::ListParser.

References debListParser::Section, and pkgTagSection::size().

Here is the call graph for this function:

virtual bool debListParser::Step ( )
virtualinherited
unsigned long debListParser::UniqFindTagWrite ( const char *  Tag)
protectedinherited
virtual bool debListParser::UsePackage ( pkgCache::PkgIterator Pkg,
pkgCache::VerIterator Ver 
)
virtualinherited
virtual std::string debListParser::Version ( )
virtualinherited
virtual unsigned short edspListParser::VersionHash ( )
virtual

Reimplemented from debListParser.

unsigned long pkgCacheGenerator::ListParser::WriteString ( const std::string &  S)
inlineprotectedinherited

References pkgCacheGenerator::ListParser::Owner, and pkgCacheGenerator::WriteStringInMap().

Here is the call graph for this function:

unsigned long pkgCacheGenerator::ListParser::WriteString ( const char *  S,
unsigned int  Size 
)
inlineprotectedinherited

References pkgCacheGenerator::ListParser::Owner, and pkgCacheGenerator::WriteStringInMap().

Here is the call graph for this function:

unsigned long pkgCacheGenerator::ListParser::WriteUniqString ( std::string  S)
inlineprotectedinherited

References pkgCacheGenerator::ListParser::Owner, and pkgCacheGenerator::WriteUniqString().

Here is the call graph for this function:

unsigned long pkgCacheGenerator::ListParser::WriteUniqString ( const char *  S,
unsigned int  Size 
)
inlineprotectedinherited

References pkgCacheGenerator::ListParser::Owner, and pkgCacheGenerator::WriteUniqString().

Here is the call graph for this function:

Member Data Documentation

std::string debListParser::Arch
protectedinherited
std::vector<std::string> debListParser::Architectures
protectedinherited
unsigned long debListParser::iOffset
protectedinherited

Referenced by debListParser::Offset().

bool debListParser::MultiArchEnabled
protectedinherited
pkgTagSection debListParser::Section
protectedinherited

Referenced by debListParser::Size().

pkgTagFile debListParser::Tags
protectedinherited

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