Version: 0.6.0
gxlocaldbfactory.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: wxGxLocalDBFactory class. Create new local databases GxObjects
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2014 Dmitry Baryshnikov
7 * Copyright (C) 2014 NextGIS
8 *
9 * This program is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  ****************************************************************************/
22 #pragma once
23 
24 #include "wxgis/catalog/gxobjectfactory.h"
25 
32 class WXDLLIMPEXP_GIS_CLT wxGxLocalDBFactory :
33  public wxGxObjectFactory
34 {
35  DECLARE_DYNAMIC_CLASS(wxGxLocalDBFactory)
36 public:
37  wxGxLocalDBFactory(void);
38  virtual ~wxGxLocalDBFactory(void);
39  //wxGxObjectFactory
40  virtual bool GetChildren(wxGxObject* pParent, char** &pFileNames, wxArrayLong & pChildrenIds);
41  virtual wxString GetName(void) const {return wxString(_("File databases"));};
42  virtual wxGxObject* GetGxObject(wxGxObject* pParent, const wxString &soName, const CPLString &szPath, wxGISEnumContainerType eType, bool bCheckNames);
43 protected:
44  bool m_bHasOFGDBDriver;
45 };
Definition: gxlocaldbfactory.h:32
A base class for GxObject factory.
Definition: gxobjectfactory.h:32
Definition: gxobject.h:37