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)  

pkgSrcRecords::Parser Class Referenceabstract

#include <srcrecords.h>

Inheritance diagram for pkgSrcRecords::Parser:
[legend]
Collaboration diagram for pkgSrcRecords::Parser:
[legend]

Classes

struct  BuildDepRec
 

Public Types

enum  BuildDep {
  BuildDepend =0x0 , BuildDependIndep =0x1 , BuildConflict =0x2 , BuildConflictIndep =0x3 ,
  BuildDependArch =0x4 , BuildConflictArch =0x5
}
 

Public Member Functions

const pkgIndexFileIndex () const
 
virtual bool Restart ()=0
 
virtual bool Step ()=0
 
virtual bool Jump (unsigned long const &Off)=0
 
virtual unsigned long Offset ()=0
 
virtual std::string AsStr ()=0
 
virtual std::string Package () const =0
 
virtual std::string Version () const =0
 
virtual std::string Maintainer () const =0
 
virtual std::string Section () const =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
 
 Parser (const pkgIndexFile *Index)
 
virtual ~Parser ()
 

Static Public Member Functions

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

Protected Attributes

const pkgIndexFileiIndex
 

Private Attributes

void *const d
 

Detailed Description

Definition at line 38 of file srcrecords.h.

Member Enumeration Documentation

◆ BuildDep

enum BuildDep
Enumerator
BuildDepend 
BuildDependIndep 
BuildConflict 
BuildConflictIndep 
BuildDependArch 
BuildConflictArch 

Definition at line 47 of file srcrecords.h.

Constructor & Destructor Documentation

◆ Parser()

Parser ( const pkgIndexFile Index)
explicit

Definition at line 151 of file srcrecords.cc.

◆ ~Parser()

~Parser ( )
virtual

Definition at line 152 of file srcrecords.cc.

Member Function Documentation

◆ AsStr()

virtual std::string AsStr ( )
pure virtual

Implemented in debSrcRecordParser.

Referenced by DoSource(), and ShowSrcPackage().

◆ Binaries()

virtual const char** Binaries ( )
pure virtual

Implemented in debSrcRecordParser.

◆ BuildDepends()

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

Implemented in debSrcRecordParser.

Referenced by GetBuildDeps().

◆ BuildDepType()

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

Definition at line 136 of file srcrecords.cc.

Referenced by debSrcRecordParser::BuildDepends().

◆ Files()

virtual bool Files ( std::vector< pkgSrcRecords::File > &  F)
pure virtual

Implemented in debSrcRecordParser.

Referenced by DoSource().

◆ Index()

const pkgIndexFile& Index ( ) const
inline

Definition at line 59 of file srcrecords.h.

Referenced by DoSource(), GetReleaseFileForSourceRecord(), and Madison().

◆ Jump()

virtual bool Jump ( unsigned long const &  Off)
pure virtual

Implemented in debSrcRecordParser.

Referenced by FindSrc(), and debSrcRecordParser::Restart().

◆ Maintainer()

virtual std::string Maintainer ( ) const
pure virtual

Implemented in debSrcRecordParser.

◆ Offset()

virtual unsigned long Offset ( )
pure virtual

Implemented in debSrcRecordParser.

Referenced by FindSrc().

◆ Package()

virtual std::string Package ( ) const
pure virtual

◆ Restart()

virtual bool Restart ( )
pure virtual

Implemented in debSrcRecordParser.

◆ Section()

virtual std::string Section ( ) const
pure virtual

Implemented in debSrcRecordParser.

◆ Step()

virtual bool Step ( )
pure virtual

Implemented in debSrcRecordParser.

◆ Version()

virtual std::string Version ( ) const
pure virtual

Member Data Documentation

◆ d

void* const d
private

Definition at line 40 of file srcrecords.h.

◆ iIndex

const pkgIndexFile* iIndex
protected

Definition at line 43 of file srcrecords.h.

Referenced by debSrcRecordParser::Files(), and debSrcRecordParser::Package().


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