moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()

added _more temporarily
SERVER-101
This commit is contained in:
Eliot Horowitz
2009-06-09 11:43:04 -04:00
parent a525339af5
commit 00df88c21d
18 changed files with 74 additions and 80 deletions

View File

@@ -42,10 +42,8 @@ namespace mongo {
BSONFieldIterator( BSONHolder * holder ){
BSONObjIterator it( holder->_obj );
while ( it.more() ){
while ( it._more() ){
BSONElement e = it.next();
if ( e.eoo() )
break;
_names.push_back( e.fieldName() );
}
@@ -813,11 +811,8 @@ namespace mongo {
return;
BSONObjIterator i( *data );
while ( i.more() ){
while ( i._more() ){
BSONElement e = i.next();
if ( e.eoo() )
break;
_convertor->setProperty( _global , e.fieldName() , _convertor->toval( e ) );
}