TrajectoryDataSetInfo.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 TrajectoryDataSetInfo.h
22 
23  \brief This file contains a class called TrajectoryDataSetInfo
24 */
25 
26 #ifndef __TERRALIB_ST_INTERNAL_TRAJECTORYDATASETINFO_H
27 #define __TERRALIB_ST_INTERNAL_TRAJECTORYDATASETINFO_H
28 
29 //ST
30 #include "../../Config.h"
31 #include "../observation/ObservationDataSetInfo.h"
32 
33 //STL
34 #include <vector>
35 
36 namespace te { namespace da { class DataSourceInfo; } }
37 
38 namespace te
39 {
40  namespace st
41  {
42 
43  /*!
44  \class TrajectoryDataSetInfo
45 
46  \brief A class that contains infos about a DataSet that contains
47  observations of one or more trajectories.
48 
49  This class contains information about a DataSet that
50  contains observations of one or more trajectories.
51  This information includes:
52  (1) the DataSource which it is from
53  (2) the DataSet name
54  (3) the DataSet properties that contains the phenomenon time,
55  the result time, the observed geometries and the identity of each trajectory.
56 
57  \sa ObservationDataSetInfo
58  */
60  {
61  public:
62 
63  /*!
64  \brief Constructor.
65 
66  \param dsinfo Infos about the DataSource.
67  \param dsName The DataSet name.
68  \param tPropName The property name that contains the times associated to the trajectory.
69  \param gPropName The property name that contains the geometries associated to the trajectory.
70  \param idPropName The property name that contains the identification of each trajectory.
71  \param id The identification of the trajectory that this DataSet contains.
72  */
73  TrajectoryDataSetInfo(const te::da::DataSourceInfo& dsinfo, const std::string& dsName,
74  const std::string& tPropName, const std::string& gPropName,
75  const std::string& idPropName, const std::string& id);
76 
77  /*!
78  \brief Constructor.
79 
80  \param info Infos about the DataSource and DataSet that contains the trajectory observations
81  */
83 
84  /*!
85  \brief It returns information about the DataSet that contains the trajectory observations
86 
87  \return A reference to the internal ObservationDataSetInfo.
88  */
89  const ObservationDataSetInfo& getObservationDataSetInfo() const;
90 
91  /*! \brief Virtual destructor. */
92  virtual ~TrajectoryDataSetInfo();
93 
94  protected:
95 
96  ObservationDataSetInfo m_obsDsInfo; //!< Infos about the DataSource and DataSet that contains the trajectory observations
97  };
98  } // end namespace st
99 } // end namespace te
100 
101 #endif // __TERRALIB_ST_INTERNAL_TRAJECTORYDATASETINFO_H
102 
#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.
ObservationDataSetInfo m_obsDsInfo
Infos about the DataSource and DataSet that contains the trajectory observations. ...
URI C++ Library.
A class that contains infos about a DataSet that contains observations of one or more trajectories...
A class that represents a data source component.