All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
terralib.h
Go to the documentation of this file.
1 /* Copyright (C) 2001-2009 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 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 General Public License for more details.
14 
15  You should have received a copy of the GNU 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.h
22 
23  \brief This file contains include headers for all TerraLib modules.
24  */
25 
26 #ifndef __TERRALIB_INTERNAL_TERRALIB_H
27 #define __TERRALIB_INTERNAL_TERRALIB_H
28 
29 // TerraLib
30 #ifdef TE_COMPILE_COLOR_MODULE
31 #include "terralib/color.h"
32 #endif
33 
34 #ifdef TE_COMPILE_COMMON_MODULE
35 #include "terralib/common.h"
36 #endif
37 
38 #ifdef TE_COMPILE_DATAACCESS_MODULE
39 #include "terralib/dataaccess.h"
40 #endif
41 
42 #ifdef TE_COMPILE_FILTER_ENCODING_MODULE
43 #include "terralib/fe.h"
44 #endif
45 
46 #ifdef TE_COMPILE_GEOMETRY_MODULE
47 #include "terralib/geometry.h"
48 #endif
49 
50 #ifdef TE_COMPILE_RASTER_MODULE
51 #include "terralib/raster.h"
52 #endif
53 
54 #ifdef TE_COMPILE_GML_MODULE
55 #include "terralib/gml.h"
56 #endif
57 
58 #ifdef TE_COMPILE_LAYOUT_MODULE
59 #include "terralib/layout.h"
60 #endif
61 
62 #ifdef TE_COMPILE_MAPTOOLS_MODULE
63 #include "terralib/maptools.h"
64 #endif
65 
66 #ifdef TE_COMPILE_PLUGIN_MODULE
67 #include "terralib/plugin.h"
68 #endif
69 
70 #ifdef TE_COMPILE_POSTGIS_MODULE
71 #include "terralib/postgis.h"
72 #endif
73 
74 #ifdef TE_COMPILE_PROJ4_MODULE
75 #include "terralib/proj4.h"
76 #endif
77 
78 #ifdef TE_COMPILE_QT_MODULE
79 #include "terralib/qt.h"
80 #endif
81 
82 #ifdef TE_COMPILE_SYMBOLOGY_ENCODING_MODULE
83 #include "terralib/se.h"
84 #endif
85 
86 #ifdef TE_COMPILE_SQLITE_MODULE
87 #include "terralib/sqlite.h"
88 #endif
89 
90 #ifdef TE_COMPILE_SRS_MODULE
91 #include "terralib/srs.h"
92 #endif
93 
94 #ifdef TE_COMPILE_XLINK_MODULE
95 #include "terralib/xlink.h"
96 #endif
97 
98 #ifdef TE_COMPILE_GDAL_MODULE
99 #include "terralib/gdal.h"
100 #endif
101 
102 /*!
103  \brief All the TerraLib code is inside this namespace, and each modulo (or package) will add its own namespace.
104 
105  The use of namespace has several benefits, and we try to use it carefully.
106  The rule used in TerraLib is very simple:
107  <ul>
108  <li>Each module has its own namespace;</li>
109  <li>And all namespaces belong to the main namespace called <b>te</b>.</li>
110  </ul>
111  We recommend to avoid the C++ <i>using</i> keyword. For example, if you want to use
112  a class called Exception located in the Common module, you can write a code like this:
113  <br>
114  \code
115  te::common::Exception e("my exception text goes here...");
116  \endcode
117 
118  and if you want to call a function, like Convert2String:
119  <br>
120  \code
121  std::string mystring = te::common::Convert2String(67);
122  \endcode
123  */
124 namespace te
125 {
126 } // end namespace te
127 
128 #endif // __TERRALIB_INTERNAL_TERRALIB_H
129 
This file contains include headers for the Data Access module of TerraLib.
This file contains include headers for TerraLib XLink module.
This file contains include headers for the TerraLib GDAL driver.
This file contains include headers for the Vector Geometry model of TerraLib.
This file contains include headers for the Qt supportt in TerraLib.
This file contains include headers for TerraLib GML module.
This file contains include headers for the Color Model of TerraLib.
This file contains include headers for the Layout module.
This file contains include headers for the Map Tools module of TerraLib.
This file contains include headers for the Plugin module of TerraLib.
This file contains include headers for the TerraLib Common Runtime module.
This file contains include headers for the TerraLib PostGIS driver.
This file contains include headers for TerraLib Symbology Encoding module.
This file contains include headers for TerraLib Filter Encoding module.