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

Parser Class Reference

#include <Parser.H>

List of all members.


Detailed Description

The Parser is used to parse geographical data supplied by RIGIS into the BikeQuest database. Other program components then use that data to search for and display bike routes.


Public Member Functions

 Parser ()
 Dummy constructor that throws an error requesting a file name.
 ~Parser ()
 Parser (std::string &filename, bool arcs)
 Constructor that takes in a file containing RIGIS data and initiates parse sequence.
void loadMap ()
 Method that inputs data into the map data structure containing common street identifier abbreviations.
std::string stripQuote (std::string &s)
 Function that strips unnecessary quotation marks from RIGIS data files.
std::string inttostr (int i)
 Function to convert a variable of type int to a variable of type string.

Public Attributes

std::map< std::string, std::string > AbreviationMap
 Map data structure containing common street identifies (i.e. ST, RD, etc.) and their full versions for use in parsing and storing data.


Constructor & Destructor Documentation

Parser::Parser  ) 
 

Dummy constructor that throws an error requesting a file name.

Here is the call graph for this function:

Parser::~Parser  ) 
 

Parser::Parser std::string &  filename,
bool  arcs
 

Constructor that takes in a file containing RIGIS data and initiates parse sequence.

Here is the call graph for this function:


Member Function Documentation

std::string Parser::inttostr int  i  ) 
 

Function to convert a variable of type int to a variable of type string.

void Parser::loadMap  ) 
 

Method that inputs data into the map data structure containing common street identifier abbreviations.

std::string Parser::stripQuote std::string &  s  ) 
 

Function that strips unnecessary quotation marks from RIGIS data files.


Member Data Documentation

std::map<std::string, std::string> Parser::AbreviationMap
 

Map data structure containing common street identifies (i.e. ST, RD, etc.) and their full versions for use in parsing and storing data.


The documentation for this class was generated from the following files:
Generated on Mon May 16 11:08:53 2005 for BikeQuest by  doxygen 1.4.0