#include <FeedersRaster.h>
Definition at line 140 of file FeedersRaster.h.
te::rp::FeederConstRasterInfoAndVector::FeederConstRasterInfoAndVector |
( |
const std::vector< const te::rst::Raster * > |
rastersPtrsVec, |
|
|
const std::vector< std::string > & |
rTypes, |
|
|
const std::vector< std::map< std::string, std::string > > & |
rInfos |
|
) |
| |
Constructor from a vector of input rasters infos;.
- Parameters
-
rTypes | The name of the specific drivers to instantiate each raster. |
rInfos | The necessary information to instantiate each raster. |
rastersPtrsVec | Input vector of rasters pointers. |
- Note
- The given rasters must always be avaliable.
te::rp::FeederConstRasterInfoAndVector::~FeederConstRasterInfoAndVector |
( |
| ) |
|
te::rp::FeederConstRasterInfoAndVector::FeederConstRasterInfoAndVector |
( |
| ) |
|
|
protected |
te::rst::Raster const* te::rp::FeederConstRasterInfoAndVector::getCurrentObj |
( |
| ) |
const |
|
virtual |
Return the current sequence object.
- Returns
- A pointer to the current object or a null pointer if there are no object to return.
Implements te::rp::FeederConstRaster.
unsigned int te::rp::FeederConstRasterInfoAndVector::getCurrentOffset |
( |
| ) |
const |
|
virtual |
unsigned int te::rp::FeederConstRasterInfoAndVector::getObjsCount |
( |
| ) |
const |
|
virtual |
bool te::rp::FeederConstRasterInfoAndVector::moveNext |
( |
| ) |
|
|
virtual |
Advances to the next sequence obeject.
- Returns
- true if the advance was completed or false if the objects sequence end was reached.
- Note
- This method can invalidate any pointer returned by getCurrentObj.
Implements te::rp::FeederConstRaster.
bool te::rp::FeederConstRasterInfoAndVector::moveTo |
( |
const unsigned int |
index | ) |
|
|
virtual |
Jump to the given object index.
- Returns
- true if the jump was completed or false on errors.
- Note
- This method can invalidate any pointer returned by getCurrentObj.
Implements te::rp::FeederConstRaster.
void te::rp::FeederConstRasterInfoAndVector::reset |
( |
| ) |
|
|
virtual |
Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct).
- Note
- This method can invalidate any pointer returned by getCurrentObj.
Implements te::rp::FeederConstRaster.
std::auto_ptr< te::rst::Raster > te::rp::FeederConstRasterInfoAndVector::m_currentRasterHandler |
|
protected |
te::rst::Raster const* te::rp::FeederConstRasterInfoAndVector::m_currentRasterNakedPtr |
|
protected |
std::vector< const te::rst::Raster* >::size_type te::rp::FeederConstRasterInfoAndVector::m_CurrentRasterOffset |
|
protected |
std::vector< const te::rst::Raster* > te::rp::FeederConstRasterInfoAndVector::m_rasters |
|
protected |
std::vector< std::map< std::string, std::string > > te::rp::FeederConstRasterInfoAndVector::m_rInfos |
|
protected |
std::vector< std::string > te::rp::FeederConstRasterInfoAndVector::m_rTypes |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/rp/FeedersRaster.h