All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FunctionNames.h
Go to the documentation of this file.
1 /* Copyright (C) 2008-2013 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/dataaccess/query/FunctionNames.h
22 
23  \brief A static class with global function name definitions.
24 */
25 
26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_FUNCTIONNAMES_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_FUNCTIONNAMES_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  namespace da
39  {
40  /*!
41  \class FunctionNames
42 
43  \brief A static class with global function name definitions.
44  */
46  {
47  public:
48 
49 // logical operators
50  static const std::string sm_Not;
51  static const std::string sm_And;
52  static const std::string sm_Or;
53 
54 // relational operators
55  static const std::string sm_EqualTo;
56  static const std::string sm_NotEqualTo;
57  static const std::string sm_GreaterThan;
58  static const std::string sm_GreaterThanOrEqualTo;
59  static const std::string sm_LessThan;
60  static const std::string sm_LessThanOrEqualTo;
61 
62 // arithmetic operators
63  static const std::string sm_Add;
64  static const std::string sm_Sub;
65  static const std::string sm_Mul;
66  static const std::string sm_Div;
67 
68 // topological operators
69  static const std::string sm_ST_Equals;
70  static const std::string sm_ST_Disjoint;
71  static const std::string sm_ST_DWithin;
72  static const std::string sm_ST_Beyond;
73  static const std::string sm_ST_Touches;
74  static const std::string sm_ST_Within;
75  static const std::string sm_ST_Overlaps;
76  static const std::string sm_ST_Crosses;
77  static const std::string sm_ST_Contains;
78  static const std::string sm_ST_Difference;
79  static const std::string sm_ST_Intersection;
80  static const std::string sm_ST_Intersects;
81  static const std::string sm_ST_EnvelopeIntersects;
82  static const std::string sm_ST_Relate;
83  static const std::string sm_ST_Union;
84 
85 // srs operators
86  static const std::string sm_ST_Transform;
87 
88 // string functions
89  static const std::string sm_Substring;
90  static const std::string sm_Like;
91 
92 // aggregate
93  static const std::string sm_Sum;
94 
95 //statistical funcations
96  static const std::string sm_Avg;
97  static const std::string sm_Count;
98  static const std::string sm_Max;
99  static const std::string sm_Min;
100  static const std::string sm_StdDev;
101  static const std::string sm_Variance;
102 
103 // others
104  static const std::string sm_IsNull;
105  static const std::string sm_In;
106  };
107 
108  } // end namespace da
109 } // end namespace te
110 
111 #endif // __TERRALIB_DATAACCESS_INTERNAL_FUNCTIONNAMES_H
112 
static const std::string sm_Substring
Definition: FunctionNames.h:89
static const std::string sm_ST_Contains
Definition: FunctionNames.h:77
static const std::string sm_ST_Intersects
Definition: FunctionNames.h:80
static const std::string sm_ST_Disjoint
Definition: FunctionNames.h:70
static const std::string sm_Min
Definition: FunctionNames.h:99
static const std::string sm_ST_Crosses
Definition: FunctionNames.h:76
static const std::string sm_ST_Equals
Definition: FunctionNames.h:69
static const std::string sm_ST_Difference
Definition: FunctionNames.h:78
static const std::string sm_Div
Definition: FunctionNames.h:66
static const std::string sm_Variance
static const std::string sm_Like
Definition: FunctionNames.h:90
static const std::string sm_LessThan
Definition: FunctionNames.h:59
static const std::string sm_ST_Overlaps
Definition: FunctionNames.h:75
static const std::string sm_Sum
Definition: FunctionNames.h:93
static const std::string sm_ST_Intersection
Definition: FunctionNames.h:79
static const std::string sm_Mul
Definition: FunctionNames.h:65
A static class with global function name definitions.
Definition: FunctionNames.h:45
static const std::string sm_EqualTo
Definition: FunctionNames.h:55
static const std::string sm_IsNull
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:135
static const std::string sm_ST_Union
Definition: FunctionNames.h:83
static const std::string sm_LessThanOrEqualTo
Definition: FunctionNames.h:60
static const std::string sm_GreaterThanOrEqualTo
Definition: FunctionNames.h:58
static const std::string sm_ST_DWithin
Definition: FunctionNames.h:71
static const std::string sm_ST_Touches
Definition: FunctionNames.h:73
static const std::string sm_Not
Definition: FunctionNames.h:50
static const std::string sm_ST_Relate
Definition: FunctionNames.h:82
static const std::string sm_GreaterThan
Definition: FunctionNames.h:57
static const std::string sm_And
Definition: FunctionNames.h:51
static const std::string sm_NotEqualTo
Definition: FunctionNames.h:56
static const std::string sm_Add
Definition: FunctionNames.h:63
static const std::string sm_Avg
Definition: FunctionNames.h:96
static const std::string sm_StdDev
A base type for static classes.
Definition: Static.h:43
static const std::string sm_ST_Transform
Definition: FunctionNames.h:86
static const std::string sm_Count
Definition: FunctionNames.h:97
static const std::string sm_ST_EnvelopeIntersects
Definition: FunctionNames.h:81
static const std::string sm_Sub
Definition: FunctionNames.h:64
static const std::string sm_Max
Definition: FunctionNames.h:98
static const std::string sm_Or
Definition: FunctionNames.h:52
static const std::string sm_ST_Beyond
Definition: FunctionNames.h:72
static const std::string sm_ST_Within
Definition: FunctionNames.h:74
static const std::string sm_In