MongoDB  2.7.0
Public Member Functions | List of all members
mongo::BSONArrayIteratorSorted Class Reference

Provides iteration of a BSONArray's BSONElements in numeric field order. More...

#include <bsonobjiterator.h>

Inheritance diagram for mongo::BSONArrayIteratorSorted:
mongo::BSONIteratorSorted

Public Member Functions

 BSONArrayIteratorSorted (const BSONArray &array)
 
- Public Member Functions inherited from mongo::BSONIteratorSorted
bool more ()
 
BSONElement next ()
 

Additional Inherited Members

- Protected Member Functions inherited from mongo::BSONIteratorSorted
 BSONIteratorSorted (const BSONObj &o, const ElementFieldCmp &cmp)
 

Detailed Description

Provides iteration of a BSONArray's BSONElements in numeric field order.

The elements of a bson array should always be numerically ordered by field name, but this implementation re-sorts them anyway.


The documentation for this class was generated from the following file: