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_validTimePropIdx
The indexes of DataSet properties that contain the valid time.
int getVlBeginTimePropIdx() const
It returns the index of the DataSet property that contains the valid beginning time.
void setVlTimePropIdxs(const std::vector< int > &idxs)
It sets the indexes of the DataSet properties that contains the valid time.
const std::vector< int > & getVlTimePropIdxs() const
It returns the indexes of the DataSet properties that contains the valid time.
void setEndTimePropIdx(int idx)
It sets the index of the DataSet property that contains the phenomenon end time.
int getBeginTimePropIdx() const
It returns the index of the DataSet property that contains the phenomenon beginning time...
ObservationDataSetType(int phTimeIdx, int obsPropIdx, int geomPropIdx=-1)
Constructor.
void setVlEndTimePropIdx(int idx)
It sets the index of the DataSet property that contains the valid end time.
void setGeomPropIdx(int idx)
It sets the index of the observed property that is a geometry property.
virtual ~ObservationDataSetType()
Virtual destructor.
int getEndTimePropIdx() const
It returns the index of the DataSet property that contains the phenomenon end time.
This file contains a class called ObservationDataSetType.
int getGeomPropIdx() const
It returns the index of the observed property that is a geometry property.
std::vector< int > m_observedPropIdx
The indexes of DataSet properties that are observed.
const std::vector< int > & getTimePropIdxs() const
It returns the indexes of the DataSetType properties that contains the phenomenon time...
void setTimePropIdxs(const std::vector< int > &idxs)
It sets the indexes of the DataSet properties that contains the phenomenon time.
void setRsTimePropIdx(int idx)
It sets the index of the DataSet property that contains the result time.
int getVlEndTimePropIdx() const
It returns the index of the DataSet property that contains the valid end time.
void setVlBeginTimePropIdx(int idx)
It sets the index of the DataSet property that contains the valid beginning time. ...
std::vector< int > m_phTimePropIdx
The indexes of DataSet properties that contain the phenomenon 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.
int getRsTimePropIdx() const
It returns 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.