iterator for a BSONObj  
 More...
#include <bsonobjiterator.h>
iterator for a BSONObj 
Note each BSONObj ends with an EOO element: so you will get more() on an empty object, although next().eoo() will be true.
todo: we may want to make a more stl-like iterator interface for this with things like begin() and end() 
  
  | 
        
          | bool bson::BSONObjIterator::more | ( |  | ) |  |  | inline | 
 
- Returns
- true if more elements exist to be enumerated. 
 
 
  
  | 
        
          | bool bson::BSONObjIterator::moreWithEOO | ( |  | ) |  |  | inline | 
 
- Returns
- true if more elements exist to be enumerated INCLUDING the EOO element which is always at the end. 
 
 
  
  | 
        
          | BSONElement bson::BSONObjIterator::next | ( | bool | checkEnd | ) |  |  | inline | 
 
- Returns
- the next element in the object. For the final element, element.eoo() will be true. 
 
 
The documentation for this class was generated from the following file: