#include <StdioParserInput.h>
Inheritance diagram for Tagcoll::StdioParserInput:
Public Member Functions | |
StdioParserInput (FILE *in, const std::string &fname, int line=1) throw () | |
StdioParserInput (const std::string &fname) throw (FileException) | |
virtual | ~StdioParserInput () throw () |
virtual const std::string & | fileName () const throw () |
virtual int | lineNumber () const throw () |
virtual int | nextChar () throw (ParserInputException) |
virtual void | pushChar (int c) throw (ParserInputException) |
Protected Attributes | |
std::string | _file |
int | _line |
FILE * | _in |
bool | _close_on_exit |
Tagcoll::StdioParserInput::StdioParserInput | ( | FILE * | in, | |
const std::string & | fname, | |||
int | line = 1 | |||
) | throw () |
Tagcoll::StdioParserInput::StdioParserInput | ( | const std::string & | fname | ) | throw (FileException) |
Tagcoll::StdioParserInput::~StdioParserInput | ( | ) | throw () [virtual] |
virtual const std::string& Tagcoll::StdioParserInput::fileName | ( | ) | const throw () [inline, virtual] |
Implements Tagcoll::ParserInput.
virtual int Tagcoll::StdioParserInput::lineNumber | ( | ) | const throw () [inline, virtual] |
Implements Tagcoll::ParserInput.
int Tagcoll::StdioParserInput::nextChar | ( | ) | throw (ParserInputException) [virtual] |
Implements Tagcoll::ParserInput.
void Tagcoll::StdioParserInput::pushChar | ( | int | c | ) | throw (ParserInputException) [virtual] |
Implements Tagcoll::ParserInput.
bool Tagcoll::StdioParserInput::_close_on_exit [protected] |
std::string Tagcoll::StdioParserInput::_file [protected] |
FILE* Tagcoll::StdioParserInput::_in [protected] |
int Tagcoll::StdioParserInput::_line [protected] |