Version: 0.6.0

The class to format coordinates according different masks. More...

#include <format.h>

Inheritance diagram for wxGISCoordinatesFormat:

Public Types

enum  coord_format {
  D, DM, DMS, M,
  MS, S
}
 
typedef enum
wxGISCoordinatesFormat::coord_format 
COORD_FORMAT
 

Public Member Functions

 wxGISCoordinatesFormat (const wxString &sMask, bool bSwap=false)
 
virtual wxString Format (double dX, double dY)
 
virtual bool IsOk (void)
 
virtual void Create (const wxString &sMask, bool bSwap=false)
 
virtual wxString GetMask () const
 

Protected Member Functions

wxString FormatToken (int nValHigh, int nValLow)
 
wxString FormatString (double dCoord, const wxString &sFormat, COORD_FORMAT nCoordFormat, bool bLat)
 
wxString ParseString (const wxString &sMask, COORD_FORMAT *pCoordFormat)
 

Protected Attributes

bool m_bIsOk
 
bool m_bSwaped
 
wxString m_sMask
 
wxString m_sFormatX
 
wxString m_sFormatY
 
wxString m_sDivider
 
COORD_FORMAT m_CoordFormatX
 
COORD_FORMAT m_CoordFormatY
 
bool m_bSign
 

Detailed Description

The class to format coordinates according different masks.


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/core/format.h
  • /home/bishop/work/projects/nextgismanager/src/core/format.cpp