27 #include "../../../dataaccess/datasource/DataSourceInfo.h"
28 #include "../../../common/StringUtils.h"
29 #include "../../../geometry/GeometryProperty.h"
30 #include "../../../datatype/DateTimeProperty.h"
37 const std::string& tPropName,
const std::string& vPropName,
38 const std::string& gPropName,
const std::string& idPropName,
39 const std::string&
id)
40 : m_obsDsInfo(dsinfo, dsName),
52 std::vector<std::string> aux;
53 aux.push_back(vPropName);
61 const std::string& tPropName,
const std::vector<std::string>& vPropNames,
62 const std::string& gPropName,
const std::string& idPropName,
63 const std::string&
id)
64 : m_obsDsInfo(dsinfo, dsName),
65 m_vlPropNames(vPropNames)
82 const std::vector<std::string>& valPropNames)
84 m_vlPropNames(valPropNames)
94 const std::vector<std::string>&
ObservationDataSetInfo m_obsDsInfo
Infos about the DataSource and DataSet that contains the time series observations.
A class that contains infos about a DataSet that contains observations.
TimeSeriesDataSetInfo(const te::da::DataSourceInfo &dsinfo, const std::string &dsName, const std::string &tPropName, const std::string &vPropName, const std::string &gPropName, const std::string &idPropName, const std::string &id)
Constructor.
const ObservationDataSetInfo & getObservationDataSetInfo() const
It returns information about the DataSet that contains the time series observations.
std::vector< std::string > m_vlPropNames
The names of the properties that contain the time series values.
const std::vector< std::string > & getValuePropNames() const
It returns the names of the DataSet properties that contains the values associated to the time series...
This file contains a class called TimeSeriesDataSetInfo.
void setIdPropInfo(int idProp)
It sets the index of the DataSet property that contains identifiers that groups the observations...
void setId(const std::string &id)
It sets the identifier associated to all observations.
virtual ~TimeSeriesDataSetInfo()
Virtual destructor.
void setTimePropInfo(te::dt::DateTimeProperty *tpInfo)
It sets the property info that contains the phenomenon time.
The type for date and time types: date, date period, date duration, time duration, time instant, time period, time instant with time zone or time period with time zone.
A class that represents a data source component.
void setGeomPropInfo(te::gm::GeometryProperty *prop)
It sets the info about the property that contains the observation location.
void setObsPropInfo(const std::vector< int > &props)
It sets the indexes of the DataSet properties that are observed over time.