47 UrisInfoT::iterator it = m_openURIS.find( uri );
49 if( it == m_openURIS.end() )
51 m_openURIS[ uri ] = std::pair< AccessType, unsigned long int >( aType, 1 ) ;
57 if( it->second.first & SingleAccessType )
64 ++( it->second.second );
78 UrisInfoT::iterator it = m_openURIS.find( uri );
80 if( it != m_openURIS.end() )
82 if( it->second.second == 1 )
84 m_openURIS.erase( uri );
88 --( it->second.second );
bool incrementUseCounter(const std::string &uri, const AccessType aType)
Try to increment the use counter for the given raster URI.
void decrementUseCounter(const std::string &uri)
Decrement the use counter for the given raster URI.