30 : m_phTimePropIdx(2,-1),
31 m_geomPropIdx(geomPropIdx),
32 m_validTimePropIdx(2,-1),
33 m_resultTimePropIdx(-1)
40 : m_phTimePropIdx(2,-1),
41 m_observedPropIdx(obsPropIdx),
42 m_geomPropIdx(geomPropIdx),
43 m_validTimePropIdx(2,-1),
44 m_resultTimePropIdx(-1)
50 const std::vector<int>& obsPropIdx,
int geomPropIdx)
51 : m_phTimePropIdx(2,-1),
52 m_observedPropIdx(obsPropIdx),
53 m_geomPropIdx(geomPropIdx),
54 m_validTimePropIdx(2,-1),
55 m_resultTimePropIdx(-1)
57 for(std::size_t i=0; i<phTimeIdx.size(); i++)
62 int geomPropIdx,
const std::vector<int>& valTimeIdx,
int resTimeIdx)
63 : m_phTimePropIdx(2,-1),
64 m_observedPropIdx(obsPropIdx),
65 m_geomPropIdx(geomPropIdx),
66 m_validTimePropIdx(2,-1),
67 m_resultTimePropIdx(resTimeIdx)
69 for(std::size_t i=0; i<phTimeIdx.size(); i++)
72 for(std::size_t i=0; i<valTimeIdx.size(); i++)
78 return m_phTimePropIdx;
83 return m_phTimePropIdx[0];
88 return m_phTimePropIdx[1];
93 for(std::size_t i=0; i<idxs.size(); i++)
94 m_phTimePropIdx[i]=idxs[i];
99 m_phTimePropIdx[0]=idx;
104 m_phTimePropIdx[1]=idx;
109 return m_observedPropIdx;
114 m_observedPropIdx = props;
119 return m_geomPropIdx;
129 return m_validTimePropIdx[0];
134 return m_validTimePropIdx[1];
139 return m_validTimePropIdx;
144 m_validTimePropIdx[0]=idx;
149 m_validTimePropIdx[1]=idx;
154 for(std::size_t i=0; i<idxs.size(); i++)
155 m_validTimePropIdx[i]=idxs[i];
160 return m_resultTimePropIdx;
165 m_resultTimePropIdx = idx;
std::vector< int > m_phTimePropIdx
The indexes of DataSet properties that contain the phenomenon time.
void setVlTimePropIdxs(const std::vector< int > &idxs)
It sets the indexes of the DataSet properties that contains the valid time.
int getGeomPropIdx() const
It returns the index of the observed property that is a geometry property.
int getVlEndTimePropIdx() const
It returns the index of the DataSet property that contains the valid end time.
const std::vector< int > & getVlTimePropIdxs() const
It returns the indexes of the DataSet properties that contains the valid time.
const std::vector< int > & getTimePropIdxs() const
It returns the indexes of the DataSetType properties that contains the phenomenon time...
virtual ~ObservationDataSetType()
Virtual destructor.
void setRsTimePropIdx(int idx)
It sets the index of the DataSet property that contains the result time.
void setBeginTimePropIdx(int idx)
It sets the index of the DataSet property that contains the phenomenon beginning time.
int getVlBeginTimePropIdx() const
It returns the index of the DataSet property that contains the valid beginning time.
void setGeomPropIdx(int idx)
It sets the index of the observed property that is a geometry property.
void setEndTimePropIdx(int idx)
It sets the index of the DataSet property that contains the phenomenon end time.
This file contains a class called ObservationDataSetType.
void setVlEndTimePropIdx(int idx)
It sets the index of the DataSet property that contains the valid end time.
void setTimePropIdxs(const std::vector< int > &idxs)
It sets the indexes of the DataSet properties that contains the phenomenon time.
int getEndTimePropIdx() const
It returns the index of the DataSet property that contains the phenomenon end time.
ObservationDataSetType(int phTimeIdx, int obsPropIdx, int geomPropIdx=-1)
Constructor.
std::vector< int > m_observedPropIdx
The indexes of DataSet properties that are observed.
int getRsTimePropIdx() const
It returns the index of the DataSet property that contains the result time.
void setVlBeginTimePropIdx(int idx)
It sets the index of the DataSet property that contains the valid beginning time. ...
const std::vector< int > & getObsPropIdxs() const
It returns the indexes of the DataSetType properties that are observed over time. ...
void setObsPropIdxs(const std::vector< int > &props)
It sets the indexes of the DataSetType properties that are observed over time.
std::vector< int > m_validTimePropIdx
The indexes of DataSet properties that contain the valid time.
int getBeginTimePropIdx() const
It returns the index of the DataSet property that contains the phenomenon beginning time...