Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Debtags::DebDBParser Class Reference

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

#include <DebDBParser.h>

Collaboration diagram for Debtags::DebDBParser:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

 DebDBParser (Tagcoll::ParserInput &input) throw (Tagcoll::ParserException)
const std::string & fileName () const throw ()
int lineNumber () const throw ()
bool nextRecord (Record &rec) throw (Tagcoll::ParserException)

Protected Member Functions

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

Protected Attributes

Tagcoll::ParserInputin
bool isBOL
bool isEOF

Detailed Description

Parse Debian records from a parser input.


Member Typedef Documentation

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


Constructor & Destructor Documentation

DebDBParser::DebDBParser Tagcoll::ParserInput input  )  throw (Tagcoll::ParserException)
 


Member Function Documentation

void Debtags::DebDBParser::appendFieldBody std::string &  body  )  throw (Tagcoll::ParserException) [protected]
 

void DebDBParser::eatFieldSep  )  throw (Tagcoll::ParserException) [protected]
 

int DebDBParser::eatSpacesAndEmptyLines  )  throw (Tagcoll::ParserException) [protected]
 

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

std::string DebDBParser::getFieldName  )  throw (Tagcoll::ParserException) [protected]
 

int Debtags::DebDBParser::lineNumber  )  const throw () [inline]
 

bool DebDBParser::nextRecord Record rec  )  throw (Tagcoll::ParserException)
 


Member Data Documentation

Tagcoll::ParserInput& Debtags::DebDBParser::in [protected]
 

bool Debtags::DebDBParser::isBOL [protected]
 

bool Debtags::DebDBParser::isEOF [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 10 03:47:45 2005 for libdebtags by  doxygen 1.4.4