src/terralib/ado/Globals.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/ado/Globals.h
22 
23  \brief An static class with global definitions.
24 */
25 
26 #ifndef __TERRALIB_ADO_INTERNAL_GLOBALS_H
27 #define __TERRALIB_ADO_INTERNAL_GLOBALS_H
28 
29 // TerraLib
30 #include "../common/Static.h"
31 #include "Config.h"
32 
33 // STL
34 #include <string>
35 
36 namespace te
37 {
38  // Forward declaration
39  namespace da
40  {
41  class DataSourceCapabilities;
42  class SQLDialect;
43  }
44 
45  namespace ado
46  {
47  /*!
48  \class Globals
49 
50  \brief An static class with global definitions.
51  */
53  {
54  public:
55 
56  static const std::string sm_driverIdentifier; //!< The ADO driver identifier.
57 
58  static te::da::SQLDialect* sm_queryDialect; //!< The query dialect supported by ADO driver.
59  static te::da::DataSourceCapabilities* sm_capabilities; //!< The query dialect supported by ADO driver.
60 
61  static const std::string sm_geometryTypeName;
62  static const std::string sm_pointTypeName;
63  static const std::string sm_lineStringTypeName;
64  static const std::string sm_polygonTypeName;
65  static const std::string sm_multiPointTypeName;
66  static const std::string sm_multiLineStringTypeName;
67  static const std::string sm_multiPolygonTypeName;
68  static const std::string sm_curvePolygonTypeName;
69  static const std::string sm_polyhedralSurfaceTypeName;
70  static const std::string sm_geometryZTypeName;
71  static const std::string sm_pointZTypeName;
72  static const std::string sm_lineStringZTypeName;
73  static const std::string sm_polygonZTypeName;
74  static const std::string sm_multiPointZTypeName;
75  static const std::string sm_multiLineStringZTypeName;
76  static const std::string sm_multiPolygonZTypeName;
77  static const std::string sm_curvePolygonZTypeName;
78  static const std::string sm_polyhedralSurfaceZTypeName;
79  static const std::string sm_geometryMTypeName;
80  static const std::string sm_pointMTypeName;
81  static const std::string sm_lineStringMTypeName;
82  static const std::string sm_polygonMTypeName;
83  static const std::string sm_multiPointMTypeName;
84  static const std::string sm_multiLineStringMTypeName;
85  static const std::string sm_multiPolygonMTypeName;
86  static const std::string sm_curvePolygonMTypeName;
87  static const std::string sm_polyhedralSurfaceMTypeName;
88  static const std::string sm_geometryZMTypeName;
89  static const std::string sm_pointZMTypeName;
90  static const std::string sm_lineStringZMTypeName;
91  static const std::string sm_polygonZMTypeName;
92  static const std::string sm_multiPointZMTypeName;
93  static const std::string sm_multiLineStringZMTypeName;
94  static const std::string sm_multiPolygonZMTypeName;
95  static const std::string sm_curvePolygonZMTypeName;
96  static const std::string sm_polyhedralSurfaceZMTypeName;
97 
98  };
99 
100  } // end namespace ado
101 } // end namespace te
102 
103 #endif // __TERRALIB_ADO_INTERNAL_GLOBALS_H
104 
static const std::string sm_multiPointZTypeName
static te::da::DataSourceCapabilities * sm_capabilities
The query dialect supported by ADO driver.
static const std::string sm_multiPolygonZMTypeName
static const std::string sm_lineStringZMTypeName
static const std::string sm_polyhedralSurfaceTypeName
static const std::string sm_polyhedralSurfaceZTypeName
static const std::string sm_geometryZTypeName
An static class with global definitions.
Configuration flags for the TerraLib ADO Data Access driver.
static const std::string sm_polygonZTypeName
static const std::string sm_polygonTypeName
It represents the SQL query dialect accepted by a given data source.
Definition: SQLDialect.h:55
static const std::string sm_multiPointZMTypeName
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
static const std::string sm_curvePolygonZMTypeName
static const std::string sm_pointTypeName
static const std::string sm_polyhedralSurfaceMTypeName
static const std::string sm_polygonZMTypeName
static const std::string sm_geometryZMTypeName
static const std::string sm_multiLineStringTypeName
static const std::string sm_pointMTypeName
URI C++ Library.
Definition: Attributes.h:37
static te::da::SQLDialect * sm_queryDialect
The query dialect supported by ADO driver.
static const std::string sm_pointZTypeName
#define TEADOEXPORT
You can use this macro in order to export/import classes and functions from this module.
static const std::string sm_multiPointTypeName
static const std::string sm_lineStringMTypeName
static const std::string sm_multiLineStringZTypeName
static const std::string sm_geometryTypeName
static const std::string sm_geometryMTypeName
static const std::string sm_lineStringZTypeName
static const std::string sm_multiPolygonTypeName
static const std::string sm_multiLineStringZMTypeName
static const std::string sm_multiPointMTypeName
static const std::string sm_driverIdentifier
The ADO driver identifier.
static const std::string sm_multiPolygonZTypeName
static const std::string sm_polygonMTypeName
static const std::string sm_polyhedralSurfaceZMTypeName
static const std::string sm_pointZMTypeName
static const std::string sm_multiLineStringMTypeName
static const std::string sm_curvePolygonMTypeName
static const std::string sm_lineStringTypeName
static const std::string sm_multiPolygonMTypeName
A base type for static classes.
Definition: Static.h:43
static const std::string sm_curvePolygonZTypeName
static const std::string sm_curvePolygonTypeName