Identity.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 Identity.h
22 
23  \brief Identity operation.
24 
25  \ingroup vp
26  */
27 
28 #ifndef __TERRALIB_VP_INTERNAL_IDENTITY_H
29 #define __TERRALIB_VP_INTERNAL_IDENTITY_H
30 
31 //Terralib
32 
33 #include "../dataaccess/dataset/DataSetType.h"
34 
35 #include "../geometry/Enums.h"
36 #include "../sam.h"
37 
38 #include "Algorithm.h"
39 #include "AlgorithmParams.h"
40 #include "Config.h"
41 
42 // STL
43 #include <map>
44 #include <vector>
45 
46 namespace te
47 {
48  namespace vp
49  {
50  class TEVPEXPORT Identity : public Algorithm
51  {
52  public:
53 
54  Identity();
55 
56  virtual ~Identity() {}
57 
58  bool executeMemory(te::vp::AlgorithmParams* mainParams);
59 
60  bool executeQuery(te::vp::AlgorithmParams* mainParams);
61 
62  protected:
63 
64  std::vector<std::string> getPropNames(
65  const std::map<std::string, te::dt::AbstractData*>& specificParams,
66  const std::string& dataSetName);
67 
68  te::da::DataSetType* getOutputDataSetType(
69  te::vp::AlgorithmParams* mainParams);
70 
71  private:
72 
74 
75  };
76  }
77 }
78 #endif // __TERRALIB_VP_INTERNAL_IDENTITY_H
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:61
A class that represents an R-tree.
Definition: Index.h:56
A class that models the description of a dataset.
Definition: DataSetType.h:72
Algorithm Parameters.
virtual ~Identity()
Definition: Identity.h:56
Define input/output parameters for an operation.
Definition: Algorithm.h:44
URI C++ Library.
te::sam::rtree::Index< size_t, 8 > * DataSetRTree
Definition: Identity.h:73
Configuration flags for the Terrralib Vector Processing module.