All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::st::RasterCoverageDataSetInfo Class Reference

A class that contains infos about a DataSource and DataSet that contains observations of a raster coverage. More...

#include <RasterCoverageDataSetInfo.h>

Inheritance diagram for te::st::RasterCoverageDataSetInfo:
te::st::CoverageDataSetInfo

Public Member Functions

int getRasterPropIdx () const
 It returns the property index that contains the raster of the coverage. More...
 
std::auto_ptr< te::dt::DateTimegetTime () const
 It returns the date and time associated to the raster coverage, when this information is not in the DataSet. More...
 
RasterCoverageDataSetInfooperator= (const RasterCoverageDataSetInfo &other)
 Copy assignment operator. More...
 
 RasterCoverageDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, int rstPropIdx)
 Constructor. More...
 
 RasterCoverageDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int rstPropIdx, te::dt::DateTime *time)
 Constructor. More...
 
 RasterCoverageDataSetInfo (const ObservationDataSetInfo &info, int rstPropIdx)
 Constructor. More...
 
 RasterCoverageDataSetInfo (const ObservationDataSetInfo &info, int rstPropIdx, te::dt::DateTime *time)
 Constructor. More...
 
 RasterCoverageDataSetInfo (const RasterCoverageDataSetInfo &rcinfo)
 Copy constructor. More...
 
virtual ~RasterCoverageDataSetInfo ()
 Virtual destructor. More...
 
Inhered methods
te::st::CoverageType getCoverageType () const
 It returns the type of the coverage. More...
 
const ObservationDataSetInfogetObservationDataSetInfo () const
 It returns information about the DataSet that contains the coverage observations. More...
 
const te::da::DataSourceInfogetDataSourceInfo () const
 It returns information about the DataSource from which the DataSet comes. More...
 
const std::vector< int > & getTimePropIdxs () const
 It returns the indexes of the DataSet properties that contains the times associated to the coverage. More...
 

Protected Attributes

ObservationDataSetInfo m_obsDsInfo
 Infos about the DataSource and DataSet that contains the point coverage observations. More...
 
int m_rstPropIdx
 The property index that contains the raster. More...
 
std::auto_ptr< te::dt::DateTimem_time
 

Detailed Description

A class that contains infos about a DataSource and DataSet that contains observations of a raster coverage.

See Also
ObservationDataSetInfo

Definition at line 50 of file RasterCoverageDataSetInfo.h.

Constructor & Destructor Documentation

te::st::RasterCoverageDataSetInfo::RasterCoverageDataSetInfo ( const te::da::DataSourceInfo dsinfo,
const std::string &  dsName,
int  tPropIdx,
int  rstPropIdx 
)

Constructor.

Parameters
dsinfoInfos about the DataSource.
dsNameThe DataSet name.
tPropIdxThe property index that contains the times associated to the coverage.
rstPropIdxThe property index that contains the raster associated to the coverage.

Definition at line 31 of file RasterCoverageDataSetInfo.cpp.

te::st::RasterCoverageDataSetInfo::RasterCoverageDataSetInfo ( const te::da::DataSourceInfo dsinfo,
const std::string &  dsName,
int  rstPropIdx,
te::dt::DateTime time 
)

Constructor.

Parameters
dsinfoInfos about the DataSource.
dsNameThe DataSet name.
rstPropIdxThe property index that contains the raster associated to the coverage.
timeThe date and time associated to this raster coverage, when this information is not in the DataSet.
Note
It will take the ownership of the given pointers.

Definition at line 39 of file RasterCoverageDataSetInfo.cpp.

te::st::RasterCoverageDataSetInfo::RasterCoverageDataSetInfo ( const ObservationDataSetInfo info,
int  rstPropIdx 
)

Constructor.

Parameters
infoInfos about the DataSource and DataSet that contains the coverage observations
rstPropIdxThe property index that contains the raster associated to the coverage.

Definition at line 47 of file RasterCoverageDataSetInfo.cpp.

te::st::RasterCoverageDataSetInfo::RasterCoverageDataSetInfo ( const ObservationDataSetInfo info,
int  rstPropIdx,
te::dt::DateTime time 
)

Constructor.

Parameters
infoInfos about the DataSource and DataSet that contains the coverage observations
rstPropIdxThe property index that contains the raster associated to the coverage.
timeThe date and time associated to this raster coverage, when this information is not in the DataSet.
Note
It will take the ownership of the given pointers.

Definition at line 54 of file RasterCoverageDataSetInfo.cpp.

te::st::RasterCoverageDataSetInfo::RasterCoverageDataSetInfo ( const RasterCoverageDataSetInfo rcinfo)

Copy constructor.

Definition at line 62 of file RasterCoverageDataSetInfo.cpp.

te::st::RasterCoverageDataSetInfo::~RasterCoverageDataSetInfo ( )
virtual

Virtual destructor.

Definition at line 111 of file RasterCoverageDataSetInfo.cpp.

Member Function Documentation

te::st::CoverageType te::st::RasterCoverageDataSetInfo::getCoverageType ( ) const
virtual

It returns the type of the coverage.

Returns
the type of the coverage.

Implements te::st::CoverageDataSetInfo.

Definition at line 81 of file RasterCoverageDataSetInfo.cpp.

References te::st::RASTER_COVERAGE.

const te::da::DataSourceInfo & te::st::RasterCoverageDataSetInfo::getDataSourceInfo ( ) const
virtual

It returns information about the DataSource from which the DataSet comes.

Returns
A reference to the internal DataSourceInfo.

Implements te::st::CoverageDataSetInfo.

Definition at line 91 of file RasterCoverageDataSetInfo.cpp.

Referenced by te::st::STDataLoader::getCoverage().

const te::st::ObservationDataSetInfo & te::st::RasterCoverageDataSetInfo::getObservationDataSetInfo ( ) const
virtual

It returns information about the DataSet that contains the coverage observations.

Returns
A reference to the internal ObservationDataSetInfo.

Implements te::st::CoverageDataSetInfo.

Definition at line 86 of file RasterCoverageDataSetInfo.cpp.

Referenced by te::st::STDataLoader::getCoverage().

int te::st::RasterCoverageDataSetInfo::getRasterPropIdx ( ) const

It returns the property index that contains the raster of the coverage.

Returns
The property index that contains the raster of the coverage.

Definition at line 101 of file RasterCoverageDataSetInfo.cpp.

Referenced by te::st::STDataLoader::getCoverage().

std::auto_ptr< te::dt::DateTime > te::st::RasterCoverageDataSetInfo::getTime ( ) const

It returns the date and time associated to the raster coverage, when this information is not in the DataSet.

Returns
The date and time associated to the raster coverage.

Definition at line 106 of file RasterCoverageDataSetInfo.cpp.

Referenced by te::st::STDataLoader::getCoverage().

const std::vector< int > & te::st::RasterCoverageDataSetInfo::getTimePropIdxs ( ) const
virtual

It returns the indexes of the DataSet properties that contains the times associated to the coverage.

Returns
The indexes of the DataSet properties that contains the time.

Implements te::st::CoverageDataSetInfo.

Definition at line 96 of file RasterCoverageDataSetInfo.cpp.

Referenced by te::st::STDataLoader::getCoverage().

te::st::RasterCoverageDataSetInfo & te::st::RasterCoverageDataSetInfo::operator= ( const RasterCoverageDataSetInfo other)

Copy assignment operator.

Definition at line 70 of file RasterCoverageDataSetInfo.cpp.

References m_obsDsInfo, m_rstPropIdx, and m_time.

Member Data Documentation

ObservationDataSetInfo te::st::RasterCoverageDataSetInfo::m_obsDsInfo
protected

Infos about the DataSource and DataSet that contains the point coverage observations.

Definition at line 137 of file RasterCoverageDataSetInfo.h.

Referenced by operator=().

int te::st::RasterCoverageDataSetInfo::m_rstPropIdx
protected

The property index that contains the raster.

Definition at line 138 of file RasterCoverageDataSetInfo.h.

Referenced by operator=().

std::auto_ptr<te::dt::DateTime> te::st::RasterCoverageDataSetInfo::m_time
protected

Definition at line 139 of file RasterCoverageDataSetInfo.h.

Referenced by operator=().


The documentation for this class was generated from the following files: