27 #include "../../../common/StringUtils.h" 
   30 #include "../observation/ObservationDataSetType.h" 
   34                                 int phTimePropIdx, 
int obsPropIdx, 
int gPropIdx)
 
   37     m_phTimePropIdx(2,-1),
 
   38     m_geomPropIdx(gPropIdx)
 
   45                                 const std::string& dsName, 
 
   46                                 const std::vector<int>& phTimeIdx, 
 
   47                                 const std::vector<int>& obsPropIdx, 
int gPropIdx)
 
   50     m_phTimePropIdx(2,-1),
 
   51     m_observedPropIdx(obsPropIdx),
 
   52     m_geomPropIdx(gPropIdx)
 
   54   for(std::size_t i=0; i<phTimeIdx.size(); i++)
 
   59                                 const std::vector<int>& phTimeIdx, 
const std::vector<int>& obsPropIdx, 
 
   60                                 const std::vector<int>& valTimeIdx, 
int resTimeIdx, 
int gPropIdx)
 
   63     m_phTimePropIdx(2,-1),
 
   64     m_observedPropIdx(obsPropIdx),
 
   65     m_geomPropIdx(gPropIdx),
 
   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++)
 
   93   return m_phTimePropIdx;
 
   98   return m_phTimePropIdx[0];
 
  103   return m_phTimePropIdx[1];
 
  108   for(std::size_t i=0; i<idxs.size(); i++)
 
  109     m_phTimePropIdx[i]=idxs[i];
 
  114   m_phTimePropIdx[0]=idx;
 
  119   m_phTimePropIdx[1]=idx;
 
  124   return m_observedPropIdx;
 
  129   m_observedPropIdx = props;
 
  130   m_geomPropIdx = gPropIdx;
 
  135   return m_geomPropIdx;
 
  140   return m_validTimePropIdx[0];
 
  145   return m_validTimePropIdx[1];
 
  150   return m_validTimePropIdx;
 
  155   m_validTimePropIdx[0]=idx;
 
  160   m_validTimePropIdx[1]=idx;
 
  165   for(std::size_t i=0; i<idxs.size(); i++)
 
  166     m_validTimePropIdx[i]=idxs[i];
 
  171   return m_resultTimePropIdx;
 
  176   m_resultTimePropIdx = idx;
 
const te::da::DataSourceInfo & getDataSourceInfo() const 
It returns the information about the DataSource. 
std::string getId() const 
It returns an id (as a string) that identifies the DataSet. 
std::vector< int > m_validTimePropIdx
The indexes of DataSet properties that contain the valid time. 
This file contains a class called ObservationDataSetInfo. 
int getVlBeginTimePropIdx() const 
It returns the index of the DataSet property that contains the valid beginning time. 
void setTimePropIdxs(const std::vector< int > &idxs)
It sets the indexes of the DataSet properties that contains the phenomenon time. 
std::string getDataSetName() const 
It returns the DataSet name. 
A class that represents a data source component. 
void setEndTimePropIdx(int idx)
It sets the index of the DataSet property that contains the phenomenon end time. 
std::string Convert2UCase(const std::string &value)
It converts a string to upper case. 
int getBeginTimePropIdx() const 
It returns the index of the DataSet property that contains the phenomenon beginning time...
std::vector< int > m_phTimePropIdx
The indexes of DataSet properties that contain the phenomenon time. 
ObservationDataSetInfo(const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int phTimePropIdx, int obsPropIdx, int gPropIdx=-1)
Constructor. 
int getVlEndTimePropIdx() const 
It returns the index of the DataSet property that contains the valid end time. 
void setVlTimePropIdxs(const std::vector< int > &idxs)
It sets the indexes of the DataSet properties that contains the valid time. 
std::vector< int > m_observedPropIdx
The indexes of DataSet properties that are observed. 
void setVlBeginTimePropIdx(int idx)
It sets the index of the DataSet property that contains the valid beginning time. ...
int getRsTimePropIdx() const 
It returns the index of the DataSet property that contains the result time. 
int getGeomPropIdx() const 
It returns the index of the property that is a geometry property. 
void setBeginTimePropIdx(int idx)
It sets the index of the DataSet property that contains the phenomenon beginning time. 
int getEndTimePropIdx() const 
It returns the index of the DataSet property that contains the phenomenon end time. 
const std::vector< int > & getTimePropIdxs() const 
It returns the indexes of the DataSetType properties that contains the phenomenon time...
void setRsTimePropIdx(int idx)
It sets the index of the DataSet property that contains the result time. 
void setObsPropIdxs(const std::vector< int > &props, int gPropIdx=-1)
It sets the indexes of the DataSetType properties that are observed over time. 
const std::vector< int > & getVlTimePropIdxs() const 
It returns the indexes of the DataSet properties that contains the valid time. 
const std::vector< int > & getObsPropIdxs() const 
It returns the indexes of the DataSetType properties that are observed over time. ...
void setVlEndTimePropIdx(int idx)
It sets the index of the DataSet property that contains the valid end time. 
void setDataSetName(const std::string &name)
It sets the DataSet name. 
virtual ~ObservationDataSetInfo()
Virtual destructor.