Include files for C++ BSON module. More...
Classes | |
| class | BSONElementCmpWithoutField |
| class | BSONObjCmp |
| struct | GENOIDLabeler |
| Utility class to auto assign object IDs. More... | |
| struct | DateNowLabeler |
| struct | MinKeyLabeler |
| struct | MaxKeyLabeler |
| class | Labeler |
| class | BSONObjBuilderValueStream |
| class | BSONSizeTracker |
| used in conjuction with BSONObjBuilder, allows for proper buffer size to prevent crazy memory usage More... | |
| class | BSONObj |
| C++ representation of a "BSON" object – that is, an extended JSON-style object in a binary representation. More... | |
| struct | BSONArray |
| class | BSONElement |
| BSONElement represents an "element" in a BSONObj. More... | |
| class | BSONFieldValue |
| class | BSONField |
| class | BSONObjBuilderOption |
| class | BSONObjBuilder |
| Utility for creating a BSONObj. More... | |
| class | BSONArrayBuilder |
| class | BSONObjIterator |
| iterator for a BSONObj More... | |
| class | BSONObjIteratorSorted |
| class | OpTime |
| struct | Date_t |
Typedefs | |
| typedef set< BSONObj, BSONObjCmp > | BSONObjSet |
|
typedef set< BSONElement, BSONElementCmpWithoutField > | BSONElementSet |
|
typedef multiset< BSONElement, BSONElementCmpWithoutField > | BSONElementMSet |
| typedef bson::BSONElement | be |
| typedef bson::BSONObj | bo |
| typedef bson::BSONObjBuilder | bob |
| typedef unsigned long long | ReplTime |
Enumerations | |
| enum | FieldCompareResult { LEFT_SUBFIELD = -2, LEFT_BEFORE = -1, SAME = 0, RIGHT_BEFORE = 1, RIGHT_SUBFIELD = 2 } |
Functions | |
| SDB_EXPORT INT32 | fromjson (const string &str, BSONObj &out, BOOLEAN isBatch=TRUE) |
| SDB_EXPORT INT32 | fromjson (const CHAR *pStr, BSONObj &out, BOOLEAN isBatch=TRUE) |
| int | getGtLtOp (const BSONElement &e) |
| FieldCompareResult | compareDottedFieldNames (const char *l, const char *r) |
| BSONObj | OR (const BSONObj &a, const BSONObj &b) |
| BSONObj | OR (const BSONObj &a, const BSONObj &b, const BSONObj &c) |
| BSONObj | OR (const BSONObj &a, const BSONObj &b, const BSONObj &c, const BSONObj &d) |
| BSONObj | OR (const BSONObj &a, const BSONObj &b, const BSONObj &c, const BSONObj &d, const BSONObj &e) |
| BSONObj | OR (const BSONObj &a, const BSONObj &b, const BSONObj &c, const BSONObj &d, const BSONObj &e, const BSONObj &f) |
| ostream & | operator<< (ostream &s, const BSONObj &o) |
| ostream & | operator<< (ostream &s, const BSONElement &e) |
| StringBuilder & | operator<< (StringBuilder &s, const BSONObj &o) |
| StringBuilder & | operator<< (StringBuilder &s, const BSONElement &e) |
| int | compareElementValues (const BSONElement &l, const BSONElement &r) |
| int | getBSONCanonicalType (BSONType t) |
| template<class L > | |
| BSONObjBuilder & | _appendIt (BSONObjBuilder &_this, const StringData &fieldName, const L &vals) |
| void | time_t_to_String (time_t t, char *buf) |
| string | time_t_to_String (time_t t=time(0)) |
| string | time_t_to_String_no_year (time_t t) |
| string | time_t_to_String_short (time_t t) |
| int | strnlen (const char *s, int n) |
Variables | |
| struct bson::GENOIDLabeler | GENOID |
| struct bson::DateNowLabeler | DATENOW |
| struct bson::MinKeyLabeler | MINKEY |
| struct bson::MaxKeyLabeler | MAXKEY |
| Labeler::Label | GT |
| Labeler::Label | GTE |
| Labeler::Label | LT |
| Labeler::Label | LTE |
| Labeler::Label | NE |
| Labeler::Label | SIZE |
Include files for C++ BSON module.
1.8.2