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

StdioParserInput Class Reference

#include <StdioParserInput.h>

Inheritance diagram for StdioParserInput:

ParserInput 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

Constructor & Destructor Documentation

StdioParserInput::StdioParserInput FILE *  in,
const std::string &  fname,
int  line = 1
throw ()
 

StdioParserInput::StdioParserInput const std::string &  fname  )  throw (FileException)
 

StdioParserInput::~StdioParserInput  )  throw () [virtual]
 


Member Function Documentation

virtual const std::string& StdioParserInput::fileName  )  const throw () [inline, virtual]
 

Implements ParserInput.

virtual int StdioParserInput::lineNumber  )  const throw () [inline, virtual]
 

Implements ParserInput.

int StdioParserInput::nextChar  )  throw (ParserInputException) [virtual]
 

Implements ParserInput.

void StdioParserInput::pushChar int  c  )  throw (ParserInputException) [virtual]
 

Implements ParserInput.


Member Data Documentation

bool StdioParserInput::_close_on_exit [protected]
 

std::string StdioParserInput::_file [protected]
 

FILE* StdioParserInput::_in [protected]
 

int StdioParserInput::_line [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 13:57:19 2004 for libtagcoll by doxygen 1.3.8