GeometricOpQuery.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 GeometricOpQuery.h
22 
23  \brief
24 
25  \ingroup vp
26 */
27 
28 #ifndef __TERRALIB_VP_INTERNAL_GEOGRAPHIC_QUERY_H
29 #define __TERRALIB_VP_INTERNAL_GEOGRAPHIC_QUERY_H
30 
31 //Terralib
32 #include "../dataaccess/dataset/DataSet.h"
33 #include "../memory/DataSet.h"
34 
35 #include "GeometricOp.h"
36 #include "Exception.h"
37 
38 // STL
39 #include <map>
40 
41 namespace te
42 {
43  namespace vp
44  {
46  {
47 
48  public:
49 
51 
53 
54  bool run() throw(te::common::Exception);
55 
56  protected:
57 
58  te::mem::DataSet* SetAllObjects(te::da::DataSetType* dsType,
59  std::vector<int> tabVec,
60  std::vector<int> geoVec);
61 
62  te::mem::DataSet* SetAggregObj( te::da::DataSetType* dsType,
63  std::vector<int> tabVec,
64  std::vector<int> geoVec);
65 
66  te::mem::DataSet* SetAggregByAttribute( te::da::DataSetType* dsType,
67  std::vector<int> tabVec,
68  std::vector<int> geoVec);
69 
70  void SetOutputDSet( te::da::DataSet* inDataSet,
71  te::mem::DataSet* outDataSet);
72 
73 
74  }; // end class
75  } // end namespace vp
76 } // end namespace te
77 
78 #endif // __TERRALIB_VP_INTERNAL_GEOGRAPHIC_QUERY_H
79 
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:61
An exception class for the Vector processing module.
A class that models the description of a dataset.
Definition: DataSetType.h:72
Implementation of a random-access dataset class for the TerraLib In-Memory Data Access driver...
Definition: DataSet.h:65
URI C++ Library.
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...
Definition: Exception.h:58
A dataset is the unit of information manipulated by the data access module of TerraLib.
Definition: DataSet.h:112
Geometric operation.