279 friend ::
bsoncxx::v_noabi::document::element;
282 std::uint32_t length,
283 std::uint32_t offset,
284 std::uint32_t keylen);
290 friend
value make_owning_bson(
void* internal_value);
293 std::unique_ptr<impl> _impl;
303 return (lhs.view() == rhs.view());
308 return !(lhs == rhs);
321 return (lhs.
view() == rhs);
331 return !(lhs == rhs);
336 return !(lhs == rhs);
349namespace bson_value {
351using ::bsoncxx::v_noabi::types::bson_value::operator==;
352using ::bsoncxx::v_noabi::types::bson_value::operator!=;
365#if defined(BSONCXX_PRIVATE_DOXYGEN_PREPROCESSOR)
369namespace 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:48
bool operator==(const view &lhs, const value &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:325
bool operator!=(const view &lhs, const value &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:335
bool operator!=(const value &lhs, const value &rhs)
Compares values for (in)-equality.
Definition value.hpp:307
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:320
bool operator!=(const value &lhs, const view &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:330
A view-only variant that can contain any BSON type.
Definition view.hpp:41
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:225
Provides std::make_unique-related polyfills for internal use.
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:73
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:209
A BSON binary data value.
Definition types.hpp:234
A BSON boolean value.
Definition types.hpp:291
A BSON JavaScript code value.
Definition types.hpp:444
A BSON JavaScript code with scope value.
Definition types.hpp:514
A BSON date value.
Definition types.hpp:316
A BSON DBPointer (aka DBRef) value.
Definition types.hpp:425
A BSON Decimal128 value.
Definition types.hpp:617
A BSON document value.
Definition types.hpp:177
A BSON double value.
Definition types.hpp:111
A BSON signed 32-bit integer value.
Definition types.hpp:548
A BSON 64-bit signed integer value.
Definition types.hpp:592
A BSON max-key value.
Definition types.hpp:660
A BSON min-key value.
Definition types.hpp:644
A BSON null value.
Definition types.hpp:373
A BSON ObjectId value.
Definition types.hpp:273
A BSON regex value.
Definition types.hpp:389
A BSON UTF-8 encoded string value.
Definition types.hpp:136
A BSON Symbol value.
Definition types.hpp:480
A BSON replication timestamp value.
Definition types.hpp:573
A BSON undefined value.
Definition types.hpp:257
Declares bsoncxx::v_noabi::types::bson_value::value.
Provides bsoncxx::v_noabi::types::bson_value::view.