PointCoverageDataSetInfo.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 PointCoverageDataSetInfo.h
22 
23  \brief This file contains a class called PointCoverageDataSetInfo
24 */
25 
26 #ifndef __TERRALIB_ST_INTERNAL_POINTCOVERAGEDATASETINFO_H
27 #define __TERRALIB_ST_INTERNAL_POINTCOVERAGEDATASETINFO_H
28 
29 //ST
30 #include "../../Config.h"
31 #include "../observation/ObservationDataSetInfo.h"
32 #include "CoverageDataSetInfo.h"
33 
34 //Forward declarations
35 namespace te { namespace dt { class DateTime; } }
36 
37 namespace te
38 {
39  namespace st
40  {
41 
42  /*!
43  \class PointCoverageDataSetInfo
44 
45  \brief A class that contains infos about a DataSource and DataSet
46  that contains observations of a point coverage.
47 
48  \sa ObservationDataSetInfo
49  */
51  {
52  public:
53 
54  /*!
55  \brief Constructor.
56 
57  \param info Infos about the DataSource and DataSet that contains the coverage observations
58  \param vlPropNames The property names that contains the values of the coverage.
59  */
60  PointCoverageDataSetInfo(const ObservationDataSetInfo& info, const std::vector<std::string>& vlPropNames);
61 
62  /*! \name Inhered methods*/
63  //@{
64  te::st::CoverageType getCoverageType() const ;
65 
66  const ObservationDataSetInfo& getObservationDataSetInfo() const;
67  //@}
68 
69  /*!
70  \brief It returns the property names that contains the values of the coverage.
71 
72  \return The property names that contains the values of the coverage.
73  */
74  const std::vector<std::string>& getValuePropNames() const;
75 
76  /*! \brief Virtual destructor. */
77  virtual ~PointCoverageDataSetInfo();
78 
79  protected:
80 
81  ObservationDataSetInfo m_obsDsInfo; //!< Infos about the DataSource and DataSet that contains the point coverage observations
82  std::vector<std::string> m_vlPropNames; //!< The names of the properties that contain the point coverage values.
83  };
84  } // end namespace st
85 } // end namespace te
86 
87 #endif // __TERRALIB_ST_INTERNAL_POINTCOVERAGEDATASETINFO_H
88 
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:88
A class that contains infos about a DataSet that contains observations.
CoverageType
An enum for the types of coverage.
Definition: Enums.h:43
A class that contains infos about a DataSource and DataSet that contains observations of a point cove...
This file contains an abstract class called CoverageDataSetInfo.
URI C++ Library.
ObservationDataSetInfo m_obsDsInfo
Infos about the DataSource and DataSet that contains the point coverage observations.
An abstract class that contains infos about a DataSource and DataSet that contains observations of a ...
std::vector< std::string > m_vlPropNames
The names of the properties that contain the point coverage values.