Checks for expected string in a data file. More...

#include <Expect.h>

Public Member Functions

 Expect (const std::string &filename)
 Open filename for reading.
 
bool expect (const std::string &text)
 Return true if the next string read from file matches text.
 
FILE * fptr ()
 Get the pointer to the open file.
 

Protected Attributes

FilePtr file
 Pointer to the open file.
 

Detailed Description

Checks for expected string in a data file.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17