VScanFactory Class Reference

#include <vscan.h>

List of all members.


Detailed Description

simple (static only) factory for lexical scanner creation

Definition at line 43 of file vscan.h.


Static Public Member Functions

static IVScancreateVScan (std::istream &input, std::string fileName)

Private Member Functions

 VScanFactory ()

Constructor & Destructor Documentation

VScanFactory (  )  [private]


Member Function Documentation

IVScan * createVScan ( std::istream &  input,
std::string  fileName 
) [static]

simple factory method

Parameters:
input scanner input
fileName Name (or alias) of input file (which appears in error msgs)
Returns:
Return on heap allocated instance of scanner
Attention:
Caller is responsible to destroy scanner object.

Definition at line 103 of file vscan.cc.

Referenced by SyncReader::SyncReader().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Jul 10 22:42:19 2009 for rob08 by  doxygen 1.5.4