Version: 0.6.0
processing.h
1 /******************************************************************************
2 * Project: wxGIS (GIS Catalog)
3 * Purpose: geoproessing vector datasets.
4 * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5 ******************************************************************************
6 * Copyright (C) 2011,2013 Dmitry Baryshnikov
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 #pragma once
22 
23 #include "wxgis/catalog/catalog.h"
24 
25 #ifdef wxGIS_HAVE_GEOPROCESSING
26 
27 #include "wxgis/geoprocessing/gpvector.h"
28 
29 typedef struct _exported_dataset
30 {
31  wxString sName;
32  IGxDataset* pDSet;
33 } EXPORTED_DATASET;
34 
35 WXDLLIMPEXP_GIS_CLU void ExportSingleDatasetSelect(wxWindow* pWnd, IGxDataset* const pGxDataset);
36 WXDLLIMPEXP_GIS_CLU void ExportSingleDatasetSelectWithParams(wxWindow* pWnd, IGxDataset* const pGxDataset);
37 WXDLLIMPEXP_GIS_CLU void ExportSingleDatasetAttributes(wxWindow* pWnd, IGxDataset* const pGxDataset);
38 WXDLLIMPEXP_GIS_CLU void ExportMultipleDatasetsSelect(wxWindow* pWnd, wxVector<IGxDataset*> &paDatasets);
39 WXDLLIMPEXP_GIS_CLU void ExportMultipleDatasetsSelectWithParams(wxWindow* pWnd, wxVector<IGxDataset*> &paDatasets);
40 WXDLLIMPEXP_GIS_CLU void ExportMultipleDatasetsAttributes(wxWindow* pWnd, wxVector<IGxDataset*> &paDatasets);
41 
42 WXDLLIMPEXP_GIS_CLU void ExportSingleVectorDataset(wxWindow* pWnd, const CPLString &sPath, const wxString &sName, wxGxObjectFilter* const pFilter, IGxDataset* const pGxDataset);
43 
44 WXDLLIMPEXP_GIS_CLU void ExportSingleRasterDataset(wxWindow* pWnd, const CPLString &sPath, const wxString &sName, wxGxObjectFilter* const pFilter, IGxDataset* const pGxDataset);
45 
46 WXDLLIMPEXP_GIS_CLU void ExportSingleTable(wxWindow* pWnd, const CPLString &sPath, const wxString &sName, wxGxObjectFilter* const pFilter, IGxDataset* const pGxDataset);
47 
48 WXDLLIMPEXP_GIS_CLU void ExportMultipleVectorDatasets(wxWindow* pWnd, const CPLString &sPath, wxGxObjectFilter* const pFilter, wxVector<EXPORTED_DATASET> &paDatasets);
49 WXDLLIMPEXP_GIS_CLU void ExportMultipleRasterDatasets(wxWindow* pWnd, const CPLString &sPath, wxGxObjectFilter* const pFilter, wxVector<EXPORTED_DATASET> &paDatasets);
50 WXDLLIMPEXP_GIS_CLU void ExportMultipleTable(wxWindow* pWnd, const CPLString &sPath, wxGxObjectFilter* const pFilter, wxVector<EXPORTED_DATASET> &paDatasets);
51 
52 void ShowMessageDialog(wxWindow* pWnd, const wxVector<MESSAGE>& msgs);
53 #endif // wxGIS_HAVE_GEOPROCESSING
Definition: catalog.h:103
Definition: gxfilters.h:33