#include <FeedersRaster.h>
|
| 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;.
|
|
te::rst::Raster const * | getCurrentObj () const |
| Return the current sequence object.
|
|
unsigned int | getCurrentOffset () const |
| Return the index of the current object.
|
|
unsigned int | getObjsCount () const |
| Return the total number of feeder objects.
|
|
void | getRasterNames (std::vector< std::string > &rasterNames) |
| Returns a vector of all rasters names.
|
|
bool | moveNext () |
| Advances to the next sequence obeject.
|
|
bool | moveTo (const unsigned int index) |
| Jump to the given object index.
|
|
void | reset () |
| Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct).
|
|
| ~FeederConstRasterInfoAndVector () |
|
Definition at line 146 of file FeedersRaster.h.
◆ FeederConstRasterInfoAndVector() [1/2]
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.
◆ ~FeederConstRasterInfoAndVector()
te::rp::FeederConstRasterInfoAndVector::~FeederConstRasterInfoAndVector |
( |
| ) |
|
◆ FeederConstRasterInfoAndVector() [2/2]
te::rp::FeederConstRasterInfoAndVector::FeederConstRasterInfoAndVector |
( |
| ) |
|
|
protected |
◆ getCurrentObj()
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.
◆ getCurrentOffset()
unsigned int te::rp::FeederConstRasterInfoAndVector::getCurrentOffset |
( |
| ) |
const |
|
virtual |
◆ getObjsCount()
unsigned int te::rp::FeederConstRasterInfoAndVector::getObjsCount |
( |
| ) |
const |
|
virtual |
◆ getRasterNames()
void te::rp::FeederConstRaster::getRasterNames |
( |
std::vector< std::string > & |
rasterNames | ) |
|
|
inherited |
Returns a vector of all rasters names.
- Parameters
-
uriStrings | A vector of all rasters names. |
◆ moveNext()
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.
◆ moveTo()
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.
◆ reset()
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.
◆ m_currentRasterHandler
std::unique_ptr< te::rst::Raster > te::rp::FeederConstRasterInfoAndVector::m_currentRasterHandler |
|
protected |
◆ m_currentRasterNakedPtr
te::rst::Raster const* te::rp::FeederConstRasterInfoAndVector::m_currentRasterNakedPtr |
|
protected |
◆ m_CurrentRasterOffset
std::vector<constte::rst::Raster*>::size_type te::rp::FeederConstRasterInfoAndVector::m_CurrentRasterOffset |
|
protected |
◆ m_rasters
std::vector< const te::rst::Raster* > te::rp::FeederConstRasterInfoAndVector::m_rasters |
|
protected |
◆ m_rInfos
std::vector< std::map< std::string, std::string > > te::rp::FeederConstRasterInfoAndVector::m_rInfos |
|
protected |
◆ m_rTypes
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_release/src/terralib/rp/FeedersRaster.h