summaryrefslogtreecommitdiff
path: root/db/jsobj.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-05-28 15:22:24 -0400
committerAaron <aaron@10gen.com>2009-05-28 15:22:24 -0400
commit6a2a8d385f70db58e864b424aa43643822d04f84 (patch)
tree2485450b9225e05b9aaab3250bead43b549df4e4 /db/jsobj.h
parent0c2ab274ee2be1aadc0e616bb54a08545c3aa97e (diff)
downloadmongo-6a2a8d385f70db58e864b424aa43643822d04f84.tar.gz
comments MINOR
Diffstat (limited to 'db/jsobj.h')
-rw-r--r--db/jsobj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/jsobj.h b/db/jsobj.h
index f8bba08be0c..3a18456937b 100644
--- a/db/jsobj.h
+++ b/db/jsobj.h
@@ -798,6 +798,7 @@ namespace mongo {
*/
#define BSON(x) (( BSONObjBuilder() << x ).obj())
+ // Utility class to implement GT, GTE, etc as described above.
class Labeler {
public:
struct Label {
@@ -826,6 +827,7 @@ namespace mongo {
extern Labeler::Label NE;
extern Labeler::Label SIZE;
+ // Utility class to implement BSON( key << val ) as described above.
class BSONObjBuilderValueStream : public boost::noncopyable {
public:
friend class Labeler;