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/terralib4/Globals.h
22 
23  \brief An static class with global definitions.
24 */
25 
26 #ifndef __TERRALIB_TERRALIB4_INTERNAL_GLOBALS_H
27 #define __TERRALIB_TERRALIB4_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 } // end namespace te
45 
46 namespace terralib4
47 {
48  /*!
49  \class Globals
50 
51  \brief An static class with global definitions.
52  */
54  {
55  public:
56 
57  static const std::string sm_driverIdentifier; //!< The Terralib 4 driver identifier.
58 
59  static te::da::SQLDialect* sm_queryDialect; //!< The query dialect supported by Terralib 4 driver.
60  static te::da::DataSourceCapabilities* sm_capabilities; //!< The query dialect supported by Terralib 4 driver.
61 
62  };
63 } // end namespace terralib4
64 
65 #endif // __TERRALIB_TERRALIB4_INTERNAL_GLOBALS_H
66 
It represents the SQL query dialect accepted by a given data source.
Definition: SQLDialect.h:55
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
Configuration flags for the TerraLib 4 driver.
static const std::string sm_driverIdentifier
The Terralib 4 driver identifier.
Definition: Globals.h:57
Definition: Band.h:34
An static class with global definitions.
Definition: Globals.h:53
URI C++ Library.
#define TETERRALIB4EXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:123
static te::da::DataSourceCapabilities * sm_capabilities
The query dialect supported by Terralib 4 driver.
Definition: Globals.h:60
A base type for static classes.
Definition: Static.h:43
static te::da::SQLDialect * sm_queryDialect
The query dialect supported by Terralib 4 driver.
Definition: Globals.h:59