|
libept
|
Parse Debian records from a parser input. More...
#include <debdbparser.h>
Public Types | |
| typedef std::map< std::string, std::string > | Record |
Public Member Functions | |
| DebDBParser (FILE *input, const std::string &pathname) | |
| const std::string & | fileName () const throw () |
| bool | nextRecord (Record &rec) |
Protected Member Functions | |
| int | eatSpacesAndEmptyLines () |
| std::string | getFieldName () |
| void | eatFieldSep () |
| void | appendFieldBody (std::string &body) |
Protected Attributes | |
| FILE * | in |
| std::string | pathname |
| bool | isBOL |
| bool | isEOF |
Parse Debian records from a parser input.
| typedef std::map<std::string, std::string> ept::debtags::DebDBParser::Record |
| ept::debtags::DebDBParser::DebDBParser | ( | FILE * | input, |
| const std::string & | pathname | ||
| ) |
References eatSpacesAndEmptyLines().
|
protected |
References in, isBOL, isEOF, and pathname.
Referenced by nextRecord().
|
protected |
References in, isEOF, and pathname.
Referenced by nextRecord().
|
protected |
References in, isBOL, isEOF, pathname, and res.
Referenced by DebDBParser(), and nextRecord().
|
inline | |||||||||||||
References nextRecord(), and pathname.
Referenced by ept::debtags::Vocabulary::read().
|
protected |
| bool ept::debtags::DebDBParser::nextRecord | ( | Record & | rec | ) |
References appendFieldBody(), eatFieldSep(), eatSpacesAndEmptyLines(), getFieldName(), isBOL, and isEOF.
Referenced by fileName(), and ept::debtags::Vocabulary::read().
|
protected |
Referenced by appendFieldBody(), eatFieldSep(), eatSpacesAndEmptyLines(), and getFieldName().
|
protected |
Referenced by appendFieldBody(), eatSpacesAndEmptyLines(), getFieldName(), and nextRecord().
|
protected |
Referenced by appendFieldBody(), eatFieldSep(), eatSpacesAndEmptyLines(), getFieldName(), and nextRecord().
|
protected |
Referenced by appendFieldBody(), eatFieldSep(), eatSpacesAndEmptyLines(), fileName(), and getFieldName().
1.8.12