Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

ept::debtags::DebDBParser Class Reference

Parse Debian records from a parser input. More...

#include <debdbparser.h>

List of all members.

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

Detailed Description

Parse Debian records from a parser input.


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

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

References in, isBOL, and isEOF.

Referenced by nextRecord().

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

References in, and isEOF.

Referenced by nextRecord().

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

References in, isBOL, and isEOF.

Referenced by nextRecord().

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

References in.

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

References in, isBOL, and isEOF.

Referenced by nextRecord().

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: