LocationPageCoordinates Class Reference

This location page allows a set of GPS coordinates to be entered. More...

#include <LocationPageCoordinates.h>

List of all members.

Public Member Functions

 LocationPageCoordinates (wxWindow *parent)
bool GetAddress (Address &address)
 Parse the entered addresses.
void SetAddress (Address cAddress)
 Update the address in the dialog with the address provided in the cAddress argument.
bool MayClose (bool bRoadsOnly)
 Indicates if the location dialog may close.

Private Attributes

wxString m_strCoordinates
 Contains the entered coordinates in string form.
wxTextCtrl * m_ctlCoordinates
 Text control containing the coordinates.
bool m_hasAddress
Address m_cAddress


Detailed Description

This location page allows a set of GPS coordinates to be entered.

Definition at line 40 of file LocationPageCoordinates.h.


Constructor & Destructor Documentation

LocationPageCoordinates::LocationPageCoordinates ( wxWindow *  parent  ) 


Member Function Documentation

bool LocationPageCoordinates::GetAddress ( Address &  address  ) 

Parse the entered addresses.

This function parses the address that was entered into it and returns a Address pointer. Multiple calls to GetAddress will return the same pointer since FindAddress is used.

The address returned may not be a valid address, but will always have valid coordinates stored in them.

Definition at line 109 of file LocationPageCoordinates.cpp.

void LocationPageCoordinates::SetAddress ( Address  cAddress  ) 

Update the address in the dialog with the address provided in the cAddress argument.

Definition at line 123 of file LocationPageCoordinates.cpp.

bool LocationPageCoordinates::MayClose ( bool  bRoadsOnly  ) 

Indicates if the location dialog may close.

Definition at line 134 of file LocationPageCoordinates.cpp.


Member Data Documentation

Contains the entered coordinates in string form.

Definition at line 50 of file LocationPageCoordinates.h.

Text control containing the coordinates.

Definition at line 53 of file LocationPageCoordinates.h.

Definition at line 55 of file LocationPageCoordinates.h.

Definition at line 56 of file LocationPageCoordinates.h.


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

Generated on Sun Jul 27 17:26:14 2008 for Roadnav by  doxygen 1.5.5