Loading...
Searching...
No Matches
InputParams.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/vp/InputParams.h
22
23 \brief A structure to hold the input parameters of vector processing.
24*/
25
26#ifndef __TERRALIB_VP_CORE_INTERNAL_INPUTPARAMS_H
27#define __TERRALIB_VP_CORE_INTERNAL_INPUTPARAMS_H
28
29// TerraLib
30#include "../dataaccess/dataset/DataSet.h"
31#include "../dataaccess/dataset/DataSetType.h"
32#include "../dataaccess/datasource/DataSource.h"
33#include "../dataaccess/query/Select.h"
34#include "Config.h"
35
36// STL
37#include <complex>
38#include <map>
39#include <vector>
40
41namespace te
42{
43 namespace vp
44 {
45 /*!
46 \struct InputParams
47
48 \brief A structure to hold the input parameters of vector processing.
49 */
51 {
52 public:
53
54 /*! \brief Constructor. */
56
57 /*!
58 \brief Copy constructor.
59
60 \param rhs The right-hand-side copy used to copy from.
61 */
63
64 /*! \brief Destructor. */
66
67 /*!
68 \brief Assignment operator.
69
70 \param rhs The right-hand-side copy used to copy from.
71
72 \return A reference to this object.
73 */
75
76 /*! \brief Clear the structure. */
77 void clear();
78
79 public:
80
83
84 te::da::DataSet* m_inputDataSet; //!< Is required for operations in memory.
85 te::da::Select* m_inputQuery; //!< Is required for operations in spatial database.
86
87 std::string m_inputDataSetName; //!< Deprecated.
88 };
89
90 } // end namespace vp
91} // end namespace te
92
93#endif // __TERRALIB_VP_CORE_INTERNAL_INPUTPARAMS_H
A class that models the description of a dataset.
Definition: DataSetType.h:73
A dataset is the unit of information manipulated by the data access module of TerraLib.
Definition: DataSet.h:114
A Select models a query to be used when retrieving data from a DataSource.
Definition: Select.h:67
A structure to hold the input parameters of vector processing.
Definition: InputParams.h:51
std::string m_inputDataSetName
Deprecated.
Definition: InputParams.h:87
InputParams(const InputParams &rhs)
Copy constructor.
te::da::DataSet * m_inputDataSet
Is required for operations in memory.
Definition: InputParams.h:84
void clear()
Clear the structure.
te::da::DataSourcePtr m_inputDataSource
Is Required.
Definition: InputParams.h:81
~InputParams()
Destructor.
InputParams & operator=(const InputParams &rhs)
Assignment operator.
InputParams()
Constructor.
te::da::Select * m_inputQuery
Is required for operations in spatial database.
Definition: InputParams.h:85
te::da::DataSetType * m_inputDataSetType
Is required.
Definition: InputParams.h:82
boost::shared_ptr< DataSource > DataSourcePtr
Definition: DataSource.h:1449
TerraLib.
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:61
Proxy configuration file for TerraView (see terraview_config.h).