278 friend ::
bsoncxx::v_noabi::document::element;
281 std::uint32_t length,
282 std::uint32_t offset,
283 std::uint32_t keylen);
289 friend
value make_owning_bson(
void* internal_value);
292 std::unique_ptr<impl> _impl;
302 return (lhs.view() == rhs.view());
307 return !(lhs == rhs);
320 return (lhs.
view() == rhs);
330 return !(lhs == rhs);
335 return !(lhs == rhs);
348namespace bson_value {
350using ::bsoncxx::v_noabi::types::bson_value::operator==;
351using ::bsoncxx::v_noabi::types::bson_value::operator!=;
364#if defined(BSONCXX_PRIVATE_DOXYGEN_PREPROCESSOR)
368namespace bson_value {
Provides bsoncxx::v_noabi::array::view_or_value.
The bsoncxx macro guard postlude header.
The bsoncxx macro guard prelude header.
Represents an IEEE 754-2008 BSON Decimal128 value in a platform-independent way.
Definition decimal128.hpp:32
Represents a MongoDB ObjectId. As this BSON type is used within the MongoDB server as a primary key f...
Definition oid.hpp:41
A variant owning type that represents any BSON type. Owns its underlying buffer. When a bson_value::v...
Definition value.hpp:47
bool operator==(const view &lhs, const value &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:324
bool operator!=(const view &lhs, const value &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:334
bool operator!=(const value &lhs, const value &rhs)
Compares values for (in)-equality.
Definition value.hpp:306
bson_value::view view() const noexcept
Get a view over the bson_value owned by this object.
bool operator==(const value &lhs, const view &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:319
bool operator!=(const value &lhs, const view &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:329
A view-only variant that can contain any BSON type.
Definition view.hpp:54
Declares bsoncxx::v_noabi::document::element.
Provides bsoncxx::v_noabi::document::view_or_value.
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition fwd.hpp:177
bool operator==(const v_noabi::types::bson_value::value &lhs, const v_noabi::types::bson_value::value &rhs)
bsoncxx::v_noabi::types::bson_value::operator==(const v_noabi::types::bson_value::value& lhs,...
bool operator!=(const v_noabi::types::bson_value::value &lhs, const v_noabi::types::bson_value::value &rhs)
bsoncxx::v_noabi::types::bson_value::operator!=(const v_noabi::types::bson_value::value& lhs,...
binary_sub_type
An enumeration of each BSON binary sub type.
Definition types.hpp:72
type
An enumeration of each BSON type.
Definition types.hpp:43
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
A BSON array value.
Definition types.hpp:201
A BSON binary data value.
Definition types.hpp:226
A BSON boolean value.
Definition types.hpp:283
A BSON JavaScript code value.
Definition types.hpp:436
A BSON JavaScript code with scope value.
Definition types.hpp:506
A BSON date value.
Definition types.hpp:308
A BSON DBPointer (aka DBRef) value.
Definition types.hpp:417
A BSON Decimal128 value.
Definition types.hpp:609
A BSON document value.
Definition types.hpp:169
A BSON double value.
Definition types.hpp:110
A BSON signed 32-bit integer value.
Definition types.hpp:540
A BSON 64-bit signed integer value.
Definition types.hpp:584
A BSON max-key value.
Definition types.hpp:652
A BSON min-key value.
Definition types.hpp:636
A BSON null value.
Definition types.hpp:365
A BSON ObjectId value.
Definition types.hpp:265
A BSON regex value.
Definition types.hpp:381
A BSON UTF-8 encoded string value.
Definition types.hpp:135
A BSON Symbol value.
Definition types.hpp:472
A BSON replication timestamp value.
Definition types.hpp:565
A BSON undefined value.
Definition types.hpp:249
Declares bsoncxx::v_noabi::types::bson_value::value.
Provides bsoncxx::v_noabi::types::bson_value::view.