Loading...
Searching...
No Matches
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"
32#include "CoverageDataSetInfo.h"
33
34//Forward declarations
35namespace te { namespace dt { class DateTime; } }
36
37namespace 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 //@{
65
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. */
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
This file contains an abstract class called CoverageDataSetInfo.
This file contains a class called ObservationDataSetInfo.
CoverageDataSetInfo()
Constructor.
A class that contains infos about a DataSet that contains observations.
const std::vector< std::string > & getValuePropNames() const
It returns the property names that contains the values of the coverage.
virtual ~PointCoverageDataSetInfo()
Virtual destructor.
PointCoverageDataSetInfo(const ObservationDataSetInfo &info, const std::vector< std::string > &vlPropNames)
Constructor.
te::st::CoverageType getCoverageType() const
It returns the type of the coverage.
const ObservationDataSetInfo & getObservationDataSetInfo() const
It returns information about the DataSet that contains the coverage observations.
ObservationDataSetInfo m_obsDsInfo
Infos about the DataSource and DataSet that contains the point coverage observations.
std::vector< std::string > m_vlPropNames
The names of the properties that contain the point coverage values.
Namespace for the Data Type module of TerraLib.
Definition Transactor.h:42
Namespace for the TerraLib ST module.
CoverageType
An enum for the types of coverage.
Definition Enums.h:44
TerraLib.
Teste git! Configuration flags for the st (spatiotemporal) module of TerraLib.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition Config.h:88