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( aType == SingleAccessType )
64 if( it->second.first == SingleAccessType )
71 ++( it->second.second );
86 UrisInfoT::iterator it = m_openURIS.find( uri );
88 if( it != m_openURIS.end() )
90 if( it->second.second == 1 )
92 m_openURIS.erase( uri );
96 --( it->second.second );
void decrementUseCounter(const std::string &uri)
Decrement the use counter for the given raster URI.
bool incrementUseCounter(const std::string &uri, const AccessType aType)
Try to increment the use counter for the given raster URI.