All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Config.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/sa/Config.h
22 
23  \brief Configuration flags for the Terrralib Spatial Analysis module.
24  */
25 
26 #ifndef __TERRALIB_SA_CORE_INTERNAL_CONFIG_H
27 #define __TERRALIB_SA_CORE_INTERNAL_CONFIG_H
28 
29 // TerraLib
30 #include "../Config.h"
31 
32 #define TE_SA_MODULE_NAME "te.sa"
33 
34 /*! Defines the primary key name pk_id used in Generalized Proximity Matrix operation*/
35 #define TE_SA_GPM_ATTR_PK_NAME "pk_id"
36 
37 /*! Defines the attribute name used in gpm to identigy the distance information*/
38 #define TE_SA_DISTANCE_ATTR_NAME "distance"
39 
40 /*! Defines the attribute name used in gpm to identigy the distance information*/
41 #define TE_SA_WEIGHT_ATTR_NAME "weight"
42 
43 /*! Defines the attribute name used in gpm to identigy the distance information*/
44 #define TE_SA_GEOMETRY_ATTR_NAME "coord"
45 
46 /*! Defines the attribute name G used in GStatistics operation*/
47 #define TE_SA_G_ATTR_NAME "G"
48 
49 /*! Defines the attribute name G* used in GStatistics operation*/
50 #define TE_SA_GSTAR_ATTR_NAME "GStar"
51 
52 /*! Defines the attribute name LocalMean used in Local Mean operation*/
53 #define TE_SA_LOCALMEAN_ATTR_NAME "LocalMean"
54 
55 /*! Defines the attribute name NumNeighbors used in Local Mean operation*/
56 #define TE_SA_NUMNEIGHBORS_ATTR_NAME "NumNeighbors"
57 
58 /*! Defines the attribute name Standard Deviation Z used in ZAndWZ operation*/
59 #define TE_SA_STDDEVZ_ATTR_NAME "Z"
60 
61 /*! Defines the attribute name Local Mean of Z (WZ) used in ZAndWZ operation*/
62 #define TE_SA_LOCALMEANWZ_ATTR_NAME "WZ"
63 
64 /*! Defines the attribute name Moran Index used in MoranIndex operation*/
65 #define TE_SA_MORANINDEX_ATTR_NAME "MoranIndex"
66 
67 /*! Defines the attribute name LISA Significance used in LisaStatisticalSignificance operation*/
68 #define TE_SA_LISASIGNIFICANCE_ATTR_NAME "LISASig"
69 
70 /*! Defines the attribute name Box Map used in BoxMap operation*/
71 #define TE_SA_BOXMAP_ATTR_NAME "BoxMap"
72 
73 /*! Defines the attribute name Lisa Map used in LISAMap operation*/
74 #define TE_SA_LISAMAP_ATTR_NAME "LisaMap"
75 
76 /*! Defines the attribute name Moran Map used in MoranMap operation*/
77 #define TE_SA_MORANMAP_ATTR_NAME "MoranMap"
78 
79 /*! Defines the attribute name Bayes used in Bayes operation*/
80 #define TE_SA_BAYES_ATTR_NAME "Bayes"
81 
82 /*! Defines the attribute name NeighEvent used in Local Bayes operation*/
83 #define TE_SA_BAYESEVENT_ATTR_NAME "Neigh_Event"
84 
85 /*! Defines the attribute name NeighPop used in Local Bayes operation*/
86 #define TE_SA_BAYESPOP_ATTR_NAME "Neigh_Pop"
87 
88 /*! Defines the attribute name Id used in Sample Points Generator operation*/
89 #define TE_SA_SPG_ATTR_ID_NAME "id"
90 
91 /*! Defines the attribute name class used in Sample Points Generator operation*/
92 #define TE_SA_SPG_ATTR_CLASS_NAME "class"
93 
94 /*! Defines the attribute name Point used in Sample Points Generator operation*/
95 #define TE_SA_SPG_ATTR_GEOM_NAME "point"
96 
97 /*! Defines the primary key name pk_id used in Sample Points Generator operation*/
98 #define TE_SA_SPG_ATTR_PK_NAME "pk_id"
99 
100 /*! Defines the attribute name gpm_weight used in Skater operation*/
101 #define TE_SA_SKATER_ATTR_WEIGHT_NAME "gpm_weight"
102 
103 /*! Defines the attribute name SkaterClass used in Skater operation*/
104 #define TE_SA_SKATER_ATTR_CLASS_NAME "cluster"
105 
106 /** @name DLL/LIB Module
107  * Flags for building TerraLib as a DLL or as a Static Library
108  */
109 //@{
110 
111 /*!
112  \def TESAEXPORT
113 
114  \brief You can use this macro in order to export/import classes and functions from this module.
115 
116  \note If you want to compile TerraLib as DLL in Windows, remember to insert TESADLL into the project's list of defines.
117 
118  \note If you want to compile TerraLib as an Static Library under Windows, remember to insert the TESASTATIC flag into the project list of defines.
119  */
120 #ifdef WIN32
121 
122  #ifdef _MSC_VER
123  #pragma warning( disable : 4251 )
124  #pragma warning( disable : 4275 )
125  #endif
126 
127 
128  #ifdef TESASTATIC
129  #define TESAEXPORT // Don't need to export/import... it is a static library
130  #elif TESADLL
131  #define TESAEXPORT __declspec(dllexport) // export DLL information
132  #else
133  #define TESAEXPORT __declspec(dllimport) // import DLL information
134  #endif
135 #else
136  #define TESAEXPORT
137 #endif
138 
139 //@}
140 
141 #endif // __TERRALIB_SA_CORE_INTERNAL_CONFIG_H
142