Version: 0.6.0
gpexporttool.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Toolbox)
3  * Purpose: export geoprocessing tools.
4  * Author: Baryshnikov Dmitriy (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2010-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 
29 class WXDLLIMPEXP_GIS_GP wxGISGPExportTool :
30  public wxGISGPTool
31 {
32  DECLARE_DYNAMIC_CLASS(wxGISGPExportTool)
33 
34 public:
35  wxGISGPExportTool(void);
36  virtual ~wxGISGPExportTool(void);
37  //IGPTool
38  virtual const wxString GetDisplayName(void);
39  virtual const wxString GetName(void);
40  virtual const wxString GetCategory(void);
41  virtual bool Execute(ITrackCancel* pTrackCancel);
42  virtual bool Validate(void);
43  virtual GPParameters GetParameterInfo(void);
44  //virtual bool OnExport(wxGISFeatureDatasetSPtr pDSet, CPLString sPath, wxString sName, wxString sExt, wxString sDriver, OGRFeatureDefn *pDef, OGRSpatialReference* pNewSpaRef, wxGISEnumVectorDatasetType nNewSubType, ITrackCancel* pTrackCancel);
45 };
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 export vector data to various formats.
Definition: gpexporttool.h:29