ept::debtags::DebDBParser Class Reference

#include <debdbparser.h>

List of all members.


Detailed Description

Parse Debian records from a parser input.

Public Types

typedef std::map< std::string,
std::string > 
Record

Public Member Functions

 DebDBParser (tagcoll::input::Input &input)
const std::string & fileName () const throw ()
int lineNumber () const throw ()
bool nextRecord (Record &rec)

Protected Member Functions

int eatSpacesAndEmptyLines ()
std::string getFieldName ()
void eatFieldSep ()
void appendFieldBody (std::string &body)

Protected Attributes

tagcoll::input::Input & in
bool isBOL
bool isEOF

Member Typedef Documentation

typedef std::map<std::string, std::string> ept::debtags::DebDBParser::Record


Constructor & Destructor Documentation

ept::debtags::DebDBParser::DebDBParser ( tagcoll::input::Input &  input  ) 


Member Function Documentation

int ept::debtags::DebDBParser::eatSpacesAndEmptyLines (  )  [protected]

References in, isBOL, and isEOF.

Referenced by nextRecord().

std::string ept::debtags::DebDBParser::getFieldName (  )  [protected]

References in, isBOL, and isEOF.

Referenced by nextRecord().

void ept::debtags::DebDBParser::eatFieldSep (  )  [protected]

References in, and isEOF.

Referenced by nextRecord().

void ept::debtags::DebDBParser::appendFieldBody ( std::string &  body  )  [protected]

References in, isBOL, and isEOF.

Referenced by nextRecord().

const std::string& ept::debtags::DebDBParser::fileName (  )  const throw () [inline]

References in.

int ept::debtags::DebDBParser::lineNumber (  )  const throw () [inline]

References in.

bool ept::debtags::DebDBParser::nextRecord ( Record rec  ) 


Member Data Documentation

tagcoll::input::Input& ept::debtags::DebDBParser::in [protected]


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

Generated on Thu Oct 16 03:07:16 2008 for libept by  doxygen 1.5.6