A class that contains infos about a DataSet that contains observations. More...
#include <ObservationDataSetInfo.h>
Public Member Functions | |
| std::string | getDSId () const |
| It returns an id (as a string) that identifies the DataSet. More... | |
| ObservationDataSetInfo (const te::da::DataSourceInfo &dsInfo, const std::string &dsName) | |
| Constructor. More... | |
| ObservationDataSetInfo (const ObservationDataSetInfo &obs) | |
| Copy constructor. More... | |
| const ObservationDataSetInfo & | operator= (const ObservationDataSetInfo &rhs) |
| Assignment operator. More... | |
| virtual | ~ObservationDataSetInfo () |
| Virtual destructor. More... | |
Operations to set information | |
| void | setDataSourceInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName) |
| It sets the information about the DataSource and the DataSet name that contains the observations. More... | |
| void | setTimePropInfo (te::dt::DateTimeProperty *tpInfo) |
| It sets the property info that contains the phenomenon time. More... | |
| void | setTimePropInfo (te::dt::DateTimeProperty *tpInfo1, te::dt::DateTimeProperty *tpInfo2) |
| It sets the property info that contains the phenomenon time. More... | |
| void | setTime (te::dt::DateTime *t) |
| It sets the phenomenon time associated to all observations. More... | |
| void | setVlTimePropInfo (te::dt::DateTimeProperty *tpInfo) |
| It sets the property info that contains the valid time. More... | |
| void | setVlTimePropInfo (te::dt::DateTimeProperty *tpInfo1, te::dt::DateTimeProperty *tpInfo2) |
| It sets the property info that contains the valid time. More... | |
| void | setVlTime (te::dt::DateTimePeriod *t) |
| It sets the valid time associated to all observations. More... | |
| void | setRsTimePropInfo (te::dt::DateTimeProperty *tpInfo) |
| It sets the property info that contains the result time. More... | |
| void | setRsTime (te::dt::DateTimeInstant *t) |
| It sets the result time associated to all observations. More... | |
| void | setObsPropInfo (const std::vector< int > &props) |
| It sets the indexes of the DataSet properties that are observed over time. More... | |
| void | setObsPropInfo (const std::vector< std::string > &props) |
| It sets the names of the DataSet properties that are observed over time. More... | |
| void | setGeomPropInfo (te::gm::GeometryProperty *prop) |
| It sets the info about the property that contains the observation location. More... | |
| void | setGeometry (te::gm::Geometry *geom) |
| It sets the geometry associated to all observations. More... | |
| void | setIdPropInfo (int idProp) |
| It sets the index of the DataSet property that contains identifiers that groups the observations. More... | |
| void | setIdPropInfo (const std::string &idProp) |
| It sets the name of the DataSet property that contains identifiers that groups the observations. More... | |
| void | setId (const std::string &id) |
| It sets the identifier associated to all observations. More... | |
| void | setSpatialExtent (te::gm::Geometry *se) |
| It sets the spatial extent of all observations. More... | |
| void | setTemporalExtent (te::dt::DateTimePeriod *te) |
| It sets the temporal extent of all observations. More... | |
Operations to check information | |
| bool | hasTimeProp () const |
| bool | hasTwoTimeProp () const |
| bool | hasTime () const |
| bool | hasVlTimeProp () const |
| bool | hasTwoVlTimeProp () const |
| bool | hasVlTime () const |
| bool | hasRsTimeProp () const |
| bool | hasRsTime () const |
| bool | hasGeomProp () const |
| bool | hasGeometry () const |
| bool | hasIdProp () const |
| bool | hasId () const |
| bool | hasSpatialExtent () const |
| bool | hasTemporalExtent () const |
Operations to get information | |
| const te::da::DataSourceInfo & | getDataSourceInfo () const |
| It returns the information about the DataSource. More... | |
| std::string | getDataSetName () const |
| It returns the DataSet name. More... | |
| const te::dt::DateTimeProperty * | getBeginTimePropInfo () const |
| It returns the DataSet property information that contains the phenomenon beginning time. More... | |
| const te::dt::DateTimeProperty * | getEndTimePropInfo () const |
| It returns the DataSet property information that contains the phenomenon end time. More... | |
| const te::dt::DateTime * | getTime () const |
| It returns the phenomenon time. More... | |
| const te::dt::DateTimeProperty * | getVlBeginTimePropInfo () const |
| It returns the DataSet property information that contains the valid beginning time. More... | |
| const te::dt::DateTimeProperty * | getVlEndTimePropInfo () const |
| It returns the DataSet property information that contains the valid end time. More... | |
| const te::dt::DateTimePeriod * | getVlTime () const |
| It returns the valid time. More... | |
| const te::dt::DateTimeProperty * | getRsTimePropInfo () const |
| It returns the DataSet property information that contains the result time. More... | |
| const te::dt::DateTimeInstant * | getRsTime () const |
| It returns the result time. More... | |
| const std::vector< int > & | getObsPropIdxs () const |
| It returns the indexes of the DataSet properties that are observed over time. More... | |
| const std::vector< std::string > & | getObsPropNames () const |
| It returns the names of the DataSet properties that are observed over time. More... | |
| const te::gm::GeometryProperty * | getGeomPropInfo () const |
| It returns the DataSet property information that contains the geometry. More... | |
| const te::gm::Geometry * | getGeometry () const |
| It returns the geometry associated to all observations. More... | |
| int | getIdPropIdx () const |
| It returns the index of the property that contains identifiers that groups observations. More... | |
| std::string | getIdPropName () const |
| It returns the name of the property that contains identifiers that groups observations. More... | |
| std::string | getObsId () const |
| It returns the identifier associated to all observations. More... | |
| const te::dt::DateTimePeriod * | getTemporalExtent () const |
| It returns the temporal extent of the observations. More... | |
| const te::gm::Geometry * | getSpatialExtent () const |
| It returns the spatial extent of the observations. More... | |
| std::string | getBeginTimePropName () const |
| It returns the name of the DataSet property that contains the phenomenon beginning time. More... | |
| std::string | getEndTimePropName () const |
| It returns the name of the DataSet property that contains the phenomenon end time. More... | |
| std::string | getGeomPropName () const |
| It returns the name of the property that is a geometry property. More... | |
Protected Attributes | |
| te::da::DataSourceInfo | m_dsInfo |
| Information about the DataSource from which the DataSet come. More... | |
| std::string | m_dsName |
| The DataSet name. More... | |
| std::unique_ptr< te::gm::Geometry > | m_geom |
| Geometry: the geometry, when the spatial location of the observations are not in the DataSet. More... | |
| std::unique_ptr< te::gm::GeometryProperty > | m_geomPropInfo |
| Geometry: information about the property that has the observation spatial location. More... | |
| std::string | m_id |
| Id: the id associated to all observations. More... | |
| int | m_idPropIndex |
| Id: the index of DataSet property that contain the id of each group of observation. More... | |
| std::string | m_idPropName |
| Id: the name of DataSet property that contain the id of each group of observation. More... | |
| std::vector< int > | m_observedPropIdx |
| Observed properties: the indexes of DataSet properties that are observed. More... | |
| std::vector< std::string > | m_observedPropName |
| Observed properties: the names of DataSet properties that are observed. More... | |
| std::unique_ptr< te::dt::DateTime > | m_phTime |
| Phenomenon time: the phenomenon time, when the time is not inside a DataSet. More... | |
| boost::ptr_vector< te::dt::DateTimeProperty > | m_phTimePropInfo |
| Phenomenon time: information about the DataSet properties that contain the phenomenon time. More... | |
| std::unique_ptr< te::dt::DateTimeInstant > | m_resultTime |
| Result time: the result time, when the time is not inside a DataSet. More... | |
| std::unique_ptr< te::dt::DateTimeProperty > | m_resultTimePropInfo |
| Result time: information about the DataSet property that contains the result time. More... | |
| std::unique_ptr< te::gm::Geometry > | m_spatialExtent |
| Spatial extent. More... | |
| std::unique_ptr< te::dt::DateTimePeriod > | m_temporalExtent |
| Temporal extent. More... | |
| std::unique_ptr< te::dt::DateTimePeriod > | m_validTime |
| Valid time: the valid time, when the time is not inside a DataSet. More... | |
| boost::ptr_vector< te::dt::DateTimeProperty > | m_validTimePropInfo |
| Valid time: information about the DataSet properties that contain the valid time. More... | |
A class that contains infos about a DataSet that contains observations.
This class contains information about a DataSet that contains observations. This information includes: (1) the DataSource which it is from (2) the DataSet name (3) the DataSet properties that contains the phenomenon time, the result time, etc.
An observation is an act associated with a discrete position in time, in space or in space and time through which a number, term or other value is assigned to a phenomenon. So, given a DataSet that contains observations, we need to know some extra information about it, such as what columns contain the phenomenon time and the observed properties.
Definition at line 70 of file ObservationDataSetInfo.h.
| te::st::ObservationDataSetInfo::ObservationDataSetInfo | ( | const te::da::DataSourceInfo & | dsInfo, |
| const std::string & | dsName | ||
| ) |
Constructor.
| dsinfo | Infos about the DataSource. |
| dsName | The DataSet name. |
Definition at line 38 of file ObservationDataSetInfo.cpp.
| te::st::ObservationDataSetInfo::ObservationDataSetInfo | ( | const ObservationDataSetInfo & | obs | ) |
Copy constructor.
Definition at line 50 of file ObservationDataSetInfo.cpp.
|
virtualdefault |
Virtual destructor.
Referenced by getDSId().
| const te::dt::DateTimeProperty * te::st::ObservationDataSetInfo::getBeginTimePropInfo | ( | ) | const |
It returns the DataSet property information that contains the phenomenon beginning time.
Definition at line 311 of file ObservationDataSetInfo.cpp.
References hasTimeProp(), and m_phTimePropInfo.
Referenced by te::st::GetType().
| std::string te::st::ObservationDataSetInfo::getBeginTimePropName | ( | ) | const |
It returns the name of the DataSet property that contains the phenomenon beginning time.
Definition at line 415 of file ObservationDataSetInfo.cpp.
References hasTimeProp(), and m_phTimePropInfo.
Referenced by te::st::STDataLoader::getCoverage(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), and te::st::STDataLoaderFromMemDS::getTemporalExtent().
| std::string te::st::ObservationDataSetInfo::getDataSetName | ( | ) | const |
It returns the DataSet name.
Definition at line 305 of file ObservationDataSetInfo.cpp.
References m_dsName.
Referenced by te::st::STDataLoader::getCoverage(), te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoaderFromDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getTemporalExtent(), and te::st::GetType().
| const te::da::DataSourceInfo & te::st::ObservationDataSetInfo::getDataSourceInfo | ( | ) | const |
It returns the information about the DataSource.
Definition at line 299 of file ObservationDataSetInfo.cpp.
References m_dsInfo.
Referenced by te::st::STDataLoader::getCoverage(), te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoader::getDataSet(), te::st::STDataLoader::getInfo(), te::st::STDataLoaderFromDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), te::st::STDataLoader::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getTemporalExtent(), and te::st::STDataLoader::getTemporalExtent().
| std::string te::st::ObservationDataSetInfo::getDSId | ( | ) | const |
It returns an id (as a string) that identifies the DataSet.
The id is composed of : DataSourceId + DataSetName
Definition at line 471 of file ObservationDataSetInfo.cpp.
References te::common::Convert2UCase(), te::da::DataSourceInfo::getId(), m_dsInfo, m_dsName, and ~ObservationDataSetInfo().
| const te::dt::DateTimeProperty * te::st::ObservationDataSetInfo::getEndTimePropInfo | ( | ) | const |
It returns the DataSet property information that contains the phenomenon end time.
Definition at line 319 of file ObservationDataSetInfo.cpp.
References hasTwoTimeProp(), and m_phTimePropInfo.
Referenced by te::st::GetType().
| std::string te::st::ObservationDataSetInfo::getEndTimePropName | ( | ) | const |
It returns the name of the DataSet property that contains the phenomenon end time.
Definition at line 432 of file ObservationDataSetInfo.cpp.
References hasTwoTimeProp(), and m_phTimePropInfo.
Referenced by te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), and te::st::STDataLoaderFromMemDS::getTemporalExtent().
| const te::gm::Geometry * te::st::ObservationDataSetInfo::getGeometry | ( | ) | const |
It returns the geometry associated to all observations.
Definition at line 385 of file ObservationDataSetInfo.cpp.
References m_geom.
Referenced by te::st::GetType().
| const te::gm::GeometryProperty * te::st::ObservationDataSetInfo::getGeomPropInfo | ( | ) | const |
It returns the DataSet property information that contains the geometry.
Definition at line 379 of file ObservationDataSetInfo.cpp.
References m_geomPropInfo.
Referenced by te::st::GetType().
| std::string te::st::ObservationDataSetInfo::getGeomPropName | ( | ) | const |
It returns the name of the property that is a geometry property.
Definition at line 448 of file ObservationDataSetInfo.cpp.
References hasGeomProp(), and m_geomPropInfo.
Referenced by te::st::STDataLoaderFromMemDS::buildDataSet(), te::st::STDataLoader::getCoverage(), te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoaderFromDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), and te::st::STDataLoaderFromMemDS::getTemporalExtent().
| int te::st::ObservationDataSetInfo::getIdPropIdx | ( | ) | const |
It returns the index of the property that contains identifiers that groups observations.
Definition at line 390 of file ObservationDataSetInfo.cpp.
References m_idPropIndex.
Referenced by te::st::GetType().
| std::string te::st::ObservationDataSetInfo::getIdPropName | ( | ) | const |
It returns the name of the property that contains identifiers that groups observations.
Definition at line 395 of file ObservationDataSetInfo.cpp.
References m_idPropName.
Referenced by te::st::GetType(), and LoadTimeSeriesDataSetFromPGIS().
| std::string te::st::ObservationDataSetInfo::getObsId | ( | ) | const |
It returns the identifier associated to all observations.
Definition at line 400 of file ObservationDataSetInfo.cpp.
References m_id.
Referenced by te::st::GetType().
| const std::vector< int > & te::st::ObservationDataSetInfo::getObsPropIdxs | ( | ) | const |
It returns the indexes of the DataSet properties that are observed over time.
Definition at line 367 of file ObservationDataSetInfo.cpp.
References m_observedPropIdx.
Referenced by te::st::GetType().
| const std::vector< std::string > & te::st::ObservationDataSetInfo::getObsPropNames | ( | ) | const |
It returns the names of the DataSet properties that are observed over time.
Definition at line 373 of file ObservationDataSetInfo.cpp.
References m_observedPropName.
Referenced by te::st::GetType().
| const te::dt::DateTimeInstant * te::st::ObservationDataSetInfo::getRsTime | ( | ) | const |
It returns the result time.
Definition at line 361 of file ObservationDataSetInfo.cpp.
References m_resultTime.
Referenced by te::st::GetType().
| const te::dt::DateTimeProperty * te::st::ObservationDataSetInfo::getRsTimePropInfo | ( | ) | const |
It returns the DataSet property information that contains the result time.
Definition at line 355 of file ObservationDataSetInfo.cpp.
References m_resultTimePropInfo.
Referenced by te::st::GetType().
| const te::gm::Geometry * te::st::ObservationDataSetInfo::getSpatialExtent | ( | ) | const |
It returns the spatial extent of the observations.
Definition at line 464 of file ObservationDataSetInfo.cpp.
References hasSpatialExtent(), and m_spatialExtent.
Referenced by te::st::GetType().
| const te::dt::DateTimePeriod * te::st::ObservationDataSetInfo::getTemporalExtent | ( | ) | const |
It returns the temporal extent of the observations.
Definition at line 456 of file ObservationDataSetInfo.cpp.
References hasTemporalExtent(), and m_temporalExtent.
Referenced by te::st::GetType().
| const te::dt::DateTime * te::st::ObservationDataSetInfo::getTime | ( | ) | const |
It returns the phenomenon time.
Definition at line 327 of file ObservationDataSetInfo.cpp.
References m_phTime.
Referenced by te::st::STDataLoader::getCoverage(), and te::st::GetType().
| const te::dt::DateTimeProperty * te::st::ObservationDataSetInfo::getVlBeginTimePropInfo | ( | ) | const |
It returns the DataSet property information that contains the valid beginning time.
Definition at line 333 of file ObservationDataSetInfo.cpp.
References hasVlTimeProp(), and m_validTimePropInfo.
Referenced by te::st::GetType().
| const te::dt::DateTimeProperty * te::st::ObservationDataSetInfo::getVlEndTimePropInfo | ( | ) | const |
It returns the DataSet property information that contains the valid end time.
Definition at line 341 of file ObservationDataSetInfo.cpp.
References hasTwoVlTimeProp(), and m_validTimePropInfo.
Referenced by te::st::GetType().
| const te::dt::DateTimePeriod * te::st::ObservationDataSetInfo::getVlTime | ( | ) | const |
It returns the valid time.
Definition at line 349 of file ObservationDataSetInfo.cpp.
References m_validTime.
Referenced by te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasGeometry | ( | ) | const |
Definition at line 271 of file ObservationDataSetInfo.cpp.
References m_geom.
Referenced by te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasGeomProp | ( | ) | const |
Definition at line 266 of file ObservationDataSetInfo.cpp.
References m_geomPropInfo.
Referenced by te::st::STDataLoaderFromMemDS::buildDataSet(), te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), getGeomPropName(), te::st::STDataLoaderFromDS::getSpatialExtent(), and te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasId | ( | ) | const |
Definition at line 283 of file ObservationDataSetInfo.cpp.
References m_id.
| bool te::st::ObservationDataSetInfo::hasIdProp | ( | ) | const |
Definition at line 276 of file ObservationDataSetInfo.cpp.
References m_idPropIndex, and m_idPropName.
| bool te::st::ObservationDataSetInfo::hasRsTime | ( | ) | const |
Definition at line 261 of file ObservationDataSetInfo.cpp.
References m_resultTime.
Referenced by te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasRsTimeProp | ( | ) | const |
Definition at line 256 of file ObservationDataSetInfo.cpp.
References m_resultTimePropInfo.
Referenced by te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasSpatialExtent | ( | ) | const |
Definition at line 288 of file ObservationDataSetInfo.cpp.
References m_spatialExtent.
Referenced by getSpatialExtent(), and te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasTemporalExtent | ( | ) | const |
Definition at line 293 of file ObservationDataSetInfo.cpp.
References m_temporalExtent.
Referenced by getTemporalExtent(), and te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasTime | ( | ) | const |
Definition at line 236 of file ObservationDataSetInfo.cpp.
References m_phTime.
Referenced by te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasTimeProp | ( | ) | const |
Definition at line 226 of file ObservationDataSetInfo.cpp.
References m_phTimePropInfo.
Referenced by getBeginTimePropInfo(), getBeginTimePropName(), and te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasTwoTimeProp | ( | ) | const |
Definition at line 231 of file ObservationDataSetInfo.cpp.
References m_phTimePropInfo.
Referenced by getEndTimePropInfo(), getEndTimePropName(), and te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasTwoVlTimeProp | ( | ) | const |
Definition at line 246 of file ObservationDataSetInfo.cpp.
References m_validTimePropInfo.
Referenced by te::st::GetType(), and getVlEndTimePropInfo().
| bool te::st::ObservationDataSetInfo::hasVlTime | ( | ) | const |
Definition at line 251 of file ObservationDataSetInfo.cpp.
References m_validTime.
Referenced by te::st::GetType().
| bool te::st::ObservationDataSetInfo::hasVlTimeProp | ( | ) | const |
Definition at line 241 of file ObservationDataSetInfo.cpp.
References m_validTimePropInfo.
Referenced by te::st::GetType(), and getVlBeginTimePropInfo().
| const te::st::ObservationDataSetInfo & te::st::ObservationDataSetInfo::operator= | ( | const ObservationDataSetInfo & | rhs | ) |
Assignment operator.
Definition at line 56 of file ObservationDataSetInfo.cpp.
References m_dsInfo, m_dsName, m_geom, m_geomPropInfo, m_id, m_idPropIndex, m_idPropName, m_observedPropIdx, m_observedPropName, m_phTime, m_phTimePropInfo, m_resultTime, m_resultTimePropInfo, m_spatialExtent, m_temporalExtent, m_validTime, and m_validTimePropInfo.
| void te::st::ObservationDataSetInfo::setDataSourceInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
| const std::string & | dsName | ||
| ) |
It sets the information about the DataSource and the DataSet name that contains the observations.
| dsinfo | Infos about the DataSource. |
| dsName | The DataSet name. |
Definition at line 126 of file ObservationDataSetInfo.cpp.
| void te::st::ObservationDataSetInfo::setGeometry | ( | te::gm::Geometry * | geom | ) |
It sets the geometry associated to all observations.
In this case, the location of all observations is NOT stored in the DataSet as a geometry property. The observation location is informed by the user.
| geom | The geometry associated to all observations. |
Definition at line 196 of file ObservationDataSetInfo.cpp.
References m_geom.
| void te::st::ObservationDataSetInfo::setGeomPropInfo | ( | te::gm::GeometryProperty * | prop | ) |
It sets the info about the property that contains the observation location.
In this case, the location of each observation is stored in the DataSet as a geometry property. The geometry property can be observed over time or be the same for all observations.
| prop | The info about the property that contains the observation location. |
Definition at line 191 of file ObservationDataSetInfo.cpp.
References m_geomPropInfo.
Referenced by te::qt::widgets::ObservationPropertiesWizardPage::getInfo(), te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo(), and te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo().
| void te::st::ObservationDataSetInfo::setId | ( | const std::string & | id | ) |
It sets the identifier associated to all observations.
In this case, the identifier is NOT in the DataSet. It is informed by the user.
| id | The identifier associated to all observations. |
Definition at line 211 of file ObservationDataSetInfo.cpp.
References m_id.
Referenced by te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo(), and te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo().
| void te::st::ObservationDataSetInfo::setIdPropInfo | ( | int | idProp | ) |
It sets the index of the DataSet property that contains identifiers that groups the observations.
| idProp | The index of the DataSet property that contains identifiers that groups the observations. |
Definition at line 201 of file ObservationDataSetInfo.cpp.
References m_idPropIndex.
Referenced by te::qt::widgets::ObservationPropertiesWizardPage::getInfo(), te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo(), and te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo().
| void te::st::ObservationDataSetInfo::setIdPropInfo | ( | const std::string & | idProp | ) |
It sets the name of the DataSet property that contains identifiers that groups the observations.
| idProp | The name of the DataSet property that contains identifiers that groups the observations. |
Definition at line 206 of file ObservationDataSetInfo.cpp.
References m_idPropName.
| void te::st::ObservationDataSetInfo::setObsPropInfo | ( | const std::vector< int > & | props | ) |
It sets the indexes of the DataSet properties that are observed over time.
| props | The indexes of the DataSet properties that are observed over time. |
Definition at line 181 of file ObservationDataSetInfo.cpp.
References m_observedPropIdx.
Referenced by te::qt::widgets::ObservationPropertiesWizardPage::getInfo(), te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo(), and te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo().
| void te::st::ObservationDataSetInfo::setObsPropInfo | ( | const std::vector< std::string > & | props | ) |
It sets the names of the DataSet properties that are observed over time.
| props | The names of the DataSet properties that are observed over time. |
Definition at line 186 of file ObservationDataSetInfo.cpp.
References m_observedPropName.
| void te::st::ObservationDataSetInfo::setRsTime | ( | te::dt::DateTimeInstant * | t | ) |
It sets the result time associated to all observations.
In this case, the result time is not inside the DataSet but it is informed by the user.
| t | The result time. |
Definition at line 176 of file ObservationDataSetInfo.cpp.
References m_resultTime.
| void te::st::ObservationDataSetInfo::setRsTimePropInfo | ( | te::dt::DateTimeProperty * | tpInfo | ) |
It sets the property info that contains the result time.
| tpInfo | The property info that contains the result time. |
Definition at line 171 of file ObservationDataSetInfo.cpp.
References m_resultTimePropInfo.
Referenced by te::qt::widgets::ObservationPropertiesWizardPage::getInfo().
| void te::st::ObservationDataSetInfo::setSpatialExtent | ( | te::gm::Geometry * | se | ) |
It sets the spatial extent of all observations.
| se | The spatial extent of all observations. |
Definition at line 216 of file ObservationDataSetInfo.cpp.
References m_spatialExtent.
| void te::st::ObservationDataSetInfo::setTemporalExtent | ( | te::dt::DateTimePeriod * | te | ) |
It sets the temporal extent of all observations.
| te | The temporal extent of all observations. |
Definition at line 221 of file ObservationDataSetInfo.cpp.
References m_temporalExtent.
| void te::st::ObservationDataSetInfo::setTime | ( | te::dt::DateTime * | t | ) |
It sets the phenomenon time associated to all observations.
In this case, the phenomenon time is not inside the DataSet but it is informed by the user.
| t | The phenomenon time. |
Definition at line 147 of file ObservationDataSetInfo.cpp.
References m_phTime.
Referenced by te::st::RasterCoverageDataSetInfo::RasterCoverageDataSetInfo().
| void te::st::ObservationDataSetInfo::setTimePropInfo | ( | te::dt::DateTimeProperty * | tpInfo | ) |
It sets the property info that contains the phenomenon time.
| tpInfo | The property info that contains the phenomenon time. |
Definition at line 133 of file ObservationDataSetInfo.cpp.
References m_phTimePropInfo.
Referenced by te::qt::widgets::ObservationPropertiesWizardPage::getInfo(), te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo(), and te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo().
| void te::st::ObservationDataSetInfo::setTimePropInfo | ( | te::dt::DateTimeProperty * | tpInfo1, |
| te::dt::DateTimeProperty * | tpInfo2 | ||
| ) |
It sets the property info that contains the phenomenon time.
| tpInfo1 | The property info that contains the phenomenon beginning time. |
| tpInfo2 | The property info that contains the phenomenon beginning time. |
Definition at line 139 of file ObservationDataSetInfo.cpp.
References m_phTimePropInfo.
| void te::st::ObservationDataSetInfo::setVlTime | ( | te::dt::DateTimePeriod * | t | ) |
It sets the valid time associated to all observations.
In this case, the valid time is not inside the DataSet but it is informed by the user.
| t | The valid time. |
Definition at line 166 of file ObservationDataSetInfo.cpp.
References m_validTime.
| void te::st::ObservationDataSetInfo::setVlTimePropInfo | ( | te::dt::DateTimeProperty * | tpInfo | ) |
It sets the property info that contains the valid time.
| tpInfo | The property info that contains the valid time. |
Definition at line 152 of file ObservationDataSetInfo.cpp.
References m_validTimePropInfo.
Referenced by te::qt::widgets::ObservationPropertiesWizardPage::getInfo().
| void te::st::ObservationDataSetInfo::setVlTimePropInfo | ( | te::dt::DateTimeProperty * | tpInfo1, |
| te::dt::DateTimeProperty * | tpInfo2 | ||
| ) |
It sets the property info that contains the valid time.
| tpInfo1 | The property info that contains the phenomenon valid time. |
| tpInfo2 | The property info that contains the phenomenon valid time. |
Definition at line 158 of file ObservationDataSetInfo.cpp.
References m_validTimePropInfo.
|
protected |
Information about the DataSource from which the DataSet come.
Definition at line 498 of file ObservationDataSetInfo.h.
Referenced by getDataSourceInfo(), getDSId(), operator=(), and setDataSourceInfo().
|
protected |
The DataSet name.
Definition at line 499 of file ObservationDataSetInfo.h.
Referenced by getDataSetName(), getDSId(), operator=(), and setDataSourceInfo().
|
protected |
Geometry: the geometry, when the spatial location of the observations are not in the DataSet.
Definition at line 514 of file ObservationDataSetInfo.h.
Referenced by getGeometry(), hasGeometry(), operator=(), and setGeometry().
|
protected |
Geometry: information about the property that has the observation spatial location.
Definition at line 513 of file ObservationDataSetInfo.h.
Referenced by getGeomPropInfo(), getGeomPropName(), hasGeomProp(), operator=(), and setGeomPropInfo().
|
protected |
Id: the id associated to all observations.
Definition at line 518 of file ObservationDataSetInfo.h.
Referenced by getObsId(), hasId(), operator=(), and setId().
|
protected |
Id: the index of DataSet property that contain the id of each group of observation.
Definition at line 516 of file ObservationDataSetInfo.h.
Referenced by getIdPropIdx(), hasIdProp(), operator=(), and setIdPropInfo().
|
protected |
Id: the name of DataSet property that contain the id of each group of observation.
Definition at line 517 of file ObservationDataSetInfo.h.
Referenced by getIdPropName(), hasIdProp(), operator=(), and setIdPropInfo().
|
protected |
Observed properties: the indexes of DataSet properties that are observed.
Definition at line 510 of file ObservationDataSetInfo.h.
Referenced by getObsPropIdxs(), operator=(), and setObsPropInfo().
|
protected |
Observed properties: the names of DataSet properties that are observed.
Definition at line 511 of file ObservationDataSetInfo.h.
Referenced by getObsPropNames(), operator=(), and setObsPropInfo().
|
protected |
Phenomenon time: the phenomenon time, when the time is not inside a DataSet.
Definition at line 502 of file ObservationDataSetInfo.h.
Referenced by getTime(), hasTime(), operator=(), and setTime().
|
protected |
Phenomenon time: information about the DataSet properties that contain the phenomenon time.
Definition at line 501 of file ObservationDataSetInfo.h.
Referenced by getBeginTimePropInfo(), getBeginTimePropName(), getEndTimePropInfo(), getEndTimePropName(), hasTimeProp(), hasTwoTimeProp(), operator=(), and setTimePropInfo().
|
protected |
Result time: the result time, when the time is not inside a DataSet.
Definition at line 508 of file ObservationDataSetInfo.h.
Referenced by getRsTime(), hasRsTime(), operator=(), and setRsTime().
|
protected |
Result time: information about the DataSet property that contains the result time.
Definition at line 507 of file ObservationDataSetInfo.h.
Referenced by getRsTimePropInfo(), hasRsTimeProp(), operator=(), and setRsTimePropInfo().
|
protected |
Spatial extent.
Definition at line 520 of file ObservationDataSetInfo.h.
Referenced by getSpatialExtent(), hasSpatialExtent(), operator=(), and setSpatialExtent().
|
protected |
Temporal extent.
Definition at line 521 of file ObservationDataSetInfo.h.
Referenced by getTemporalExtent(), hasTemporalExtent(), operator=(), and setTemporalExtent().
|
protected |
Valid time: the valid time, when the time is not inside a DataSet.
Definition at line 505 of file ObservationDataSetInfo.h.
Referenced by getVlTime(), hasVlTime(), operator=(), and setVlTime().
|
protected |
Valid time: information about the DataSet properties that contain the valid time.
Definition at line 504 of file ObservationDataSetInfo.h.
Referenced by getVlBeginTimePropInfo(), getVlEndTimePropInfo(), hasTwoVlTimeProp(), hasVlTimeProp(), operator=(), and setVlTimePropInfo().