PropaneFileReader Class Reference

A class for retrieving simple INI-style data from tag files. Superceded by PropaneXML. More...

#include <PropaneFileReader.h>

List of all members.

Public Member Functions

 PropaneFileReader (char *filename)
 Construct, opening the reader to a file.
 PropaneFileReader ()
 Construct, opening no file.
virtual ~PropaneFileReader ()
 Destructor.
virtual std::string getString (std::string key)
 Returns a string associated with a key.
virtual int getInteger (std::string key)
 Returns an integer associated with a key.
virtual bool ready ()
 When true, the file is ready for reading.

Protected Member Functions

void reset ()
 Resets the stream position to the start of the file.
bool hasKey (std::string key)
 Checks for the presence of a given key in the file.
std::string getValueForKey (std::string key)
 Returns the string value associated with a key.

Protected Attributes

std::ifstream theFile
 The raw file stream.
bool isReady
 Internal variable holding the readiness of the file stream.


Detailed Description

A class for retrieving simple INI-style data from tag files. Superceded by PropaneXML.


The documentation for this class was generated from the following files:
Generated on Thu Aug 31 20:26:03 2006 for Propane Injector by  doxygen 1.4.7