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

#include <debsrcrecords.h>

Inheritance diagram for debSrcRecordParser:
Collaboration diagram for debSrcRecordParser:

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

const pkgIndexFileiIndex
 

Private Attributes

char * Buffer
 
void * d
 dpointer placeholder (for later in case we need it) More...
 
FileFd Fd
 
unsigned long iOffset
 
pkgTagSection Sect
 
std::vector< const char * > StaticBinList
 
pkgTagFile Tags
 

Member Enumeration Documentation

Enumerator
BuildDepend 
BuildDependIndep 
BuildConflict 
BuildConflictIndep 

Constructor & Destructor Documentation

debSrcRecordParser::debSrcRecordParser ( std::string const &  File,
pkgIndexFile const *  Index 
)
inline
virtual debSrcRecordParser::~debSrcRecordParser ( )
virtual

Member Function Documentation

virtual std::string debSrcRecordParser::AsStr ( )
inlinevirtual

Implements pkgSrcRecords::Parser.

References pkgTagSection::GetSection(), and Sect.

Here is the call graph for this function:

virtual const char** debSrcRecordParser::Binaries ( )
virtual

Implements pkgSrcRecords::Parser.

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

Implements pkgSrcRecords::Parser.

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

Implements pkgSrcRecords::Parser.

const pkgIndexFile& pkgSrcRecords::Parser::Index ( ) const
inlineinherited
virtual bool debSrcRecordParser::Jump ( unsigned long const &  Off)
inlinevirtual

Implements pkgSrcRecords::Parser.

References iOffset, pkgTagFile::Jump(), Sect, and Tags.

Here is the call graph for this function:

virtual std::string debSrcRecordParser::Maintainer ( ) const
inlinevirtual

Implements pkgSrcRecords::Parser.

References pkgTagSection::FindS(), and Sect.

Here is the call graph for this function:

virtual unsigned long debSrcRecordParser::Offset ( )
inlinevirtual

Implements pkgSrcRecords::Parser.

References iOffset.

virtual std::string debSrcRecordParser::Package ( ) const
inlinevirtual

Implements pkgSrcRecords::Parser.

References pkgTagSection::FindS(), and Sect.

Here is the call graph for this function:

virtual bool debSrcRecordParser::Restart ( )
inlinevirtual

Implements pkgSrcRecords::Parser.

References pkgTagFile::Jump(), Sect, and Tags.

Here is the call graph for this function:

virtual std::string debSrcRecordParser::Section ( ) const
inlinevirtual

Implements pkgSrcRecords::Parser.

References pkgTagSection::FindS(), and Sect.

Here is the call graph for this function:

virtual bool debSrcRecordParser::Step ( )
inlinevirtual

Implements pkgSrcRecords::Parser.

References iOffset, pkgTagFile::Offset(), Sect, pkgTagFile::Step(), and Tags.

Here is the call graph for this function:

virtual std::string debSrcRecordParser::Version ( ) const
inlinevirtual

Implements pkgSrcRecords::Parser.

References pkgTagSection::FindS(), and Sect.

Here is the call graph for this function:

Member Data Documentation

char* debSrcRecordParser::Buffer
private
void* debSrcRecordParser::d
private

dpointer placeholder (for later in case we need it)

FileFd debSrcRecordParser::Fd
private
const pkgIndexFile* pkgSrcRecords::Parser::iIndex
protectedinherited
unsigned long debSrcRecordParser::iOffset
private

Referenced by Jump(), Offset(), and Step().

pkgTagSection debSrcRecordParser::Sect
private
std::vector<const char*> debSrcRecordParser::StaticBinList
private
pkgTagFile debSrcRecordParser::Tags
private

Referenced by Jump(), Restart(), and Step().


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