void ossimElevManager::accept(ossimVisitor& visitor) { for(ossim_uint32 idx = 0; ((idx < m_elevationDatabaseList.size())&&!visitor.stopTraversal()); ++idx) { m_elevationDatabaseList[idx]->accept(visitor); } }
void ossimElevManager::accept(ossimVisitor& visitor) { std::vector<ElevationDatabaseListType>::iterator rri = m_dbRoundRobin.begin(); while ( rri != m_dbRoundRobin.end() ) { ElevationDatabaseListType& elevDbList = *rri; ossimElevManager::ElevationDatabaseListType::iterator i = elevDbList.begin(); while ( i != elevDbList.end() ) { if ( (*i).valid() ) { (*i)->accept( visitor ); if ( visitor.stopTraversal() ) { break; } } ++i; } ++rri; } }