MongoDB C++ Driver mongocxx-4.0.0
|
Declares entities representing a BSON document.
Classes | |
class | element |
A variant view type that accesses values in serialized BSON documents. More... | |
class | value |
A read-only BSON document that owns its underlying buffer. When a document::value goes out of scope, the underlying buffer is freed. Generally this class should be used sparingly; document::view should be used instead wherever possible. More... | |
class | view |
A read-only, non-owning view of a BSON document. More... | |
Typedefs | |
using | view_or_value = v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value> |
Equivalent to v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value> . | |
bool | operator== (const element &elem, const types::bson_value::view &v) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator== (const types::bson_value::view &v, const element &elem) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator!= (const element &elem, const types::bson_value::view &v) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator!= (const types::bson_value::view &v, const element &elem) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator== (const element &elem, const types::bson_value::view &v) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator== (const types::bson_value::view &v, const element &elem) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator!= (const element &elem, const types::bson_value::view &v) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator!= (const types::bson_value::view &v, const element &elem) |
Convenience methods to compare for equality against a bson_value. | |
bool | operator== (const value &lhs, const value &rhs) |
Compares two document values for (in)-equality. | |
bool | operator!= (const value &lhs, const value &rhs) |
Compares two document values for (in)-equality. | |
bool | operator== (const value &lhs, const value &rhs) |
Compares two document values for (in)-equality. | |
bool | operator!= (const value &lhs, const value &rhs) |
Compares two document values for (in)-equality. | |
using bsoncxx::v_noabi::document::view_or_value = v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value> |
Equivalent to v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value>
.
bool operator!= | ( | const element & | elem, |
const types::bson_value::view & | v ) |
Convenience methods to compare for equality against a bson_value.
Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.
bool operator!= | ( | const types::bson_value::view & | v, |
const element & | elem ) |
Convenience methods to compare for equality against a bson_value.
Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.
Compares two document values for (in)-equality.
bool operator== | ( | const element & | elem, |
const types::bson_value::view & | v ) |
Convenience methods to compare for equality against a bson_value.
Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.
bool operator== | ( | const types::bson_value::view & | v, |
const element & | elem ) |
Convenience methods to compare for equality against a bson_value.
Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.