Tagcoll::StdioParserInput Class Reference

Parser input using libc standard I/O functions. More...

#include <StdioParserInput.h>

Inheritance diagram for Tagcoll::StdioParserInput:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::StdioParserInput:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Parser input using libc standard I/O functions.


Constructor & Destructor Documentation

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]


Member Function Documentation

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.


Member Data Documentation

std::string Tagcoll::StdioParserInput::_file [protected]

int Tagcoll::StdioParserInput::_line [protected]

FILE* Tagcoll::StdioParserInput::_in [protected]

bool Tagcoll::StdioParserInput::_close_on_exit [protected]


The documentation for this class was generated from the following files:
Generated on Sat Jan 17 03:33:02 2009 for libtagcoll by  doxygen 1.5.1