#include <SearchParser.H>
Collaboration diagram for SearchParser:

Public Types | |
| typedef SearchParser::StreetAddress | StreetAddress_t |
| Struct design to hold information regarding a street address in the database, including its name and number. | |
Public Member Functions | |
| StreetAddress_t | parseAddress (string) |
| Parses the address into street number and name. | |
| string | createMatchXML (vector< seg_t * >) |
| XML producer/formatter. | |
| string | createStreetXML (seg_t) |
| XML producer/formatter. | |
| string | createStreetCGI (seg_t) |
| CGI producer/formatter. | |
| string | createPathXML (path_t) |
| XML producer/formatter. | |
| string | itostring (int) |
| Converts an int to a string. | |
| string | itostring (long) |
| Converts a long to a string. | |
| string | itostring (double) |
| Converts a double to a string. | |
| string | longitostring (double) |
| Converts a long int to a string. | |
| string | num2base (double num) |
| Converts numbers to alternate (and faster) bases. | |
| string | toUpper (string) |
| Converts a string to uppercase. | |
| void | loadMap () |
| Loads the map data structure of abbreviations. | |
| SearchParser (DBInterface *db) | |
| Default Constructor. | |
| ~SearchParser () | |
| Default Deconstructor. | |
| string | getAddress (string, string, string, string, string, string, string, string, bool) |
| Method to retrieve and format starting and ending addresses of a route. | |
| string | getRoute (string, string, double, double) |
| Finds an a->b route. | |
| string | getRoute (string, double, double, double) |
| Finds an a->a route. | |
Public Attributes | |
| string | xmlHeader |
| String storing the properly formatted xml route information. | |
| map< string, string > | AbreviationMap |
| Map data structure storing common street identifier abbreviations (i.e. ST, RD, etc.) and their proper forms. | |
| DBInterface * | m_db |
| Pointer to the database. | |
Classes | |
| struct | StreetAddress |
| Struct design to hold information regarding a street address in the database, including its name and number. More... | |
|
|
Struct design to hold information regarding a street address in the database, including its name and number.
|
|
|
Default Constructor.
|
Here is the call graph for this function:

|
|
Default Deconstructor.
|
|
|
XML producer/formatter.
|
Here is the call graph for this function:

|
|
XML producer/formatter.
|
Here is the call graph for this function:

|
|
CGI producer/formatter.
|
Here is the call graph for this function:

|
|
XML producer/formatter.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||||||
|
Method to retrieve and format starting and ending addresses of a route.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Finds an a->a route.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Finds an a->b route.
|
Here is the call graph for this function:

|
|
Converts a double to a string.
|
|
|
Converts a long to a string.
|
|
|
Converts an int to a string.
|
|
|
Loads the map data structure of abbreviations.
|
|
|
Converts a long int to a string.
|
|
|
Converts numbers to alternate (and faster) bases.
|
|
|
Parses the address into street number and name.
|
|
|
Converts a string to uppercase.
|
|
|
Map data structure storing common street identifier abbreviations (i.e. ST, RD, etc.) and their proper forms.
|
|
|
Pointer to the database.
|
|
|
String storing the properly formatted xml route information.
|
1.4.0