ToolMap
Loading...
Searching...
No Matches
queriesbuilder.h
1/***************************************************************************
2 queriesbuilder.h
3 -------------------
4 copyright : (C) 2009 CREALP Lucien Schreiber
5 ***************************************************************************/
6
7/***************************************************************************
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 ***************************************************************************/
15
16#ifndef _QUERIESBUILDER_H
17#define _QUERIESBUILDER_H
18
19// For compilers that support precompilation, includes "wx/wx.h".
20#include <wx/wxprec.h>
21// Include wxWidgets' headers
22#ifndef WX_PRECOMP
23#include <wx/wx.h>
24#endif
25
26#include "queriesdata.h"
27
28class DataBaseTM;
29
31 private:
32 QueriesData* m_QueryData;
33 bool m_IsCreated;
34
35 bool _IsQueryNull();
36
37 bool _IsCreated();
38
39 // private creating function
40 bool _CreateLayersQuery();
41
42 bool _CreateSelectionQuery();
43
44 bool _CreateObjectQuery();
45
46 bool _CreateGeomLineQuery();
47
48 bool _CreateGeomNodeQuery();
49
50 bool _CreateDuplicateQuery();
51
52 bool _CreateCrossingQuery();
53
54 public:
56
58
59 bool IsOk();
60
61 bool Save(DataBaseTM* database);
62
63 bool Create(DataBaseTM* database);
64};
65
66#endif
Definition database_tm.h:80
Definition queriesbuilder.h:30
Definition queriesdata.h:50