#include <FeedersRaster.h>
|
| FeederConstRasterInfo (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).
|
|
| ~FeederConstRasterInfo () |
|
Definition at line 109 of file FeedersRaster.h.
◆ FeederConstRasterInfo() [1/2]
te::rp::FeederConstRasterInfo::FeederConstRasterInfo |
( |
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. |
- Note
- The given rasters must always be avaliable.
◆ ~FeederConstRasterInfo()
te::rp::FeederConstRasterInfo::~FeederConstRasterInfo |
( |
| ) |
|
◆ FeederConstRasterInfo() [2/2]
te::rp::FeederConstRasterInfo::FeederConstRasterInfo |
( |
| ) |
|
|
protected |
◆ getCurrentObj()
te::rst::Raster const * te::rp::FeederConstRasterInfo::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::FeederConstRasterInfo::getCurrentOffset |
( |
| ) |
const |
|
virtual |
◆ getObjsCount()
unsigned int te::rp::FeederConstRasterInfo::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::FeederConstRasterInfo::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::FeederConstRasterInfo::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::FeederConstRasterInfo::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_currentOffset
std::vector<std::string>::size_type te::rp::FeederConstRasterInfo::m_currentOffset |
|
protected |
◆ m_currentRasterPtr
std::unique_ptr< te::rst::Raster > te::rp::FeederConstRasterInfo::m_currentRasterPtr |
|
protected |
◆ m_rInfos
std::vector< std::map< std::string, std::string > > te::rp::FeederConstRasterInfo::m_rInfos |
|
protected |
◆ m_rTypes
std::vector< std::string > te::rp::FeederConstRasterInfo::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