Version: 0.6.0
gxmlfactory.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: wxGxMLFactory class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2009-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/gxobjectfactory.h"
24 #include "wxgis/datasource/datasource.h"
25 
30 class WXDLLIMPEXP_GIS_CLT wxGxMLFactory :
31  public wxGxObjectFactory
32 {
33  DECLARE_DYNAMIC_CLASS(wxGxMLFactory)
34 public:
35  wxGxMLFactory(void);
36  virtual ~wxGxMLFactory(void);
37  //wxGxObjectFactory
38  virtual bool GetChildren(wxGxObject* pParent, char** &pFileNames, wxArrayLong & pChildrenIds);
39  virtual wxString GetName(void) const {return wxString(_("Markup Languages files"));};
40  virtual wxGxObject* GetGxObject(wxGxObject* pParent, const wxString &soName, const CPLString &szPath, wxGISEnumVectorDatasetType type, bool bCheckNames);
41 protected:
42  bool m_bHasKMLDriver;
43  bool m_bHasLIBKMLDriver;
44  bool m_bHasDXFDriver;
45  bool m_bHasGMLDriver;
46  bool m_bHasJsonDriver;
47  bool m_bHasSXFDriver;
48 };
A markup lang GxObject factory.
Definition: gxmlfactory.h:30
A base class for GxObject factory.
Definition: gxobjectfactory.h:32
Definition: gxobject.h:37