Version: 0.6.0
gpshapetotexttool.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Toolbox)
3  * Purpose: write shape cordinates to text file
4  * Author: Baryshnikov Dmitriy (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2011 Bishop
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 
22 #pragma once
23 
24 #include "wxgis/geoprocessing/gptool.h"
25 #include "wxgis/core/format.h"
26 
27 
31 class WXDLLIMPEXP_GIS_GP wxGISGPShapeToTextTool :
32  public wxGISGPTool
33 {
34  DECLARE_DYNAMIC_CLASS(wxGISGPShapeToTextTool)
35 
36 public:
38  virtual ~wxGISGPShapeToTextTool(void);
39  //IGPTool
40  virtual const wxString GetDisplayName(void);
41  virtual const wxString GetName(void);
42  virtual const wxString GetCategory(void);
43  virtual bool Execute(ITrackCancel* pTrackCancel);
44  virtual bool Validate(void);
45  virtual GPParameters GetParameterInfo(void);
46 protected:
47  wxArrayString m_asCoordsMask;
48  bool m_bEmptyCoordsMask;
49  wxGISCoordinatesFormat m_CFormat;
50 };
51 
virtual const wxString GetName(void)=0
virtual const wxString GetDisplayName(void)=0
virtual GPParameters GetParameterInfo(void)=0
Definition: gptool.h:40
virtual bool Execute(ITrackCancel *pTrackCancel)=0
A TrackCancel interface class.
Definition: core.h:144
virtual const wxString GetCategory(void)=0
virtual bool Validate(void)=0
The geoprocessing tool write shape cordinates to text file.
Definition: gpshapetotexttool.h:31
The class to format coordinates according different masks.
Definition: format.h:69