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
pkgSrcRecords::Parser Class Referenceabstract

#include <srcrecords.h>

Inheritance diagram for pkgSrcRecords::Parser:
Collaboration diagram for pkgSrcRecords::Parser:

Classes

struct  BuildDepRec
 

Public Types

enum  BuildDep {
  BuildDepend =0x0,
  BuildDependIndep =0x1,
  BuildConflict =0x2,
  BuildConflictIndep =0x3
}
 

Public Member Functions

 Parser (const pkgIndexFile *Index)
 
virtual ~Parser ()
 
virtual std::string AsStr ()=0
 
virtual const char ** Binaries ()=0
 
virtual bool BuildDepends (std::vector< BuildDepRec > &BuildDeps, bool const &ArchOnly, bool const &StripMultiArch=true)=0
 
virtual bool Files (std::vector< pkgSrcRecords::File > &F)=0
 
const pkgIndexFileIndex () const
 
virtual bool Jump (unsigned long const &Off)=0
 
virtual std::string Maintainer () const =0
 
virtual unsigned long Offset ()=0
 
virtual std::string Package () const =0
 
virtual bool Restart ()=0
 
virtual std::string Section () const =0
 
virtual bool Step ()=0
 
virtual std::string Version () const =0
 

Static Public Member Functions

static const char * BuildDepType (unsigned char const &Type)
 

Protected Attributes

const pkgIndexFileiIndex
 

Member Enumeration Documentation

Enumerator
BuildDepend 
BuildDependIndep 
BuildConflict 
BuildConflictIndep 

Constructor & Destructor Documentation

pkgSrcRecords::Parser::Parser ( const pkgIndexFile Index)
inline
virtual pkgSrcRecords::Parser::~Parser ( )
inlinevirtual

Member Function Documentation

virtual std::string pkgSrcRecords::Parser::AsStr ( )
pure virtual

Implemented in debSrcRecordParser.

virtual const char** pkgSrcRecords::Parser::Binaries ( )
pure virtual

Implemented in debSrcRecordParser.

virtual bool pkgSrcRecords::Parser::BuildDepends ( std::vector< BuildDepRec > &  BuildDeps,
bool const &  ArchOnly,
bool const &  StripMultiArch = true 
)
pure virtual

Implemented in debSrcRecordParser.

static const char* pkgSrcRecords::Parser::BuildDepType ( unsigned char const &  Type)
static
virtual bool pkgSrcRecords::Parser::Files ( std::vector< pkgSrcRecords::File > &  F)
pure virtual

Implemented in debSrcRecordParser.

const pkgIndexFile& pkgSrcRecords::Parser::Index ( ) const
inline

References iIndex.

virtual bool pkgSrcRecords::Parser::Jump ( unsigned long const &  Off)
pure virtual

Implemented in debSrcRecordParser.

virtual std::string pkgSrcRecords::Parser::Maintainer ( ) const
pure virtual

Implemented in debSrcRecordParser.

virtual unsigned long pkgSrcRecords::Parser::Offset ( )
pure virtual

Implemented in debSrcRecordParser.

virtual std::string pkgSrcRecords::Parser::Package ( ) const
pure virtual

Implemented in debSrcRecordParser.

virtual bool pkgSrcRecords::Parser::Restart ( )
pure virtual

Implemented in debSrcRecordParser.

virtual std::string pkgSrcRecords::Parser::Section ( ) const
pure virtual

Implemented in debSrcRecordParser.

virtual bool pkgSrcRecords::Parser::Step ( )
pure virtual

Implemented in debSrcRecordParser.

virtual std::string pkgSrcRecords::Parser::Version ( ) const
pure virtual

Implemented in debSrcRecordParser.

Member Data Documentation

const pkgIndexFile* pkgSrcRecords::Parser::iIndex
protected

Referenced by Index().


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