281 value(std::uint8_t const* raw, std::uint32_t length, std::uint32_t offset, std::uint32_t keylen);
287 friend
value make_owning_bson(
void* internal_value);
290 std::unique_ptr<impl> _impl;
300 return (lhs.view() == rhs.view());
305 return !(lhs == rhs);
318 return (lhs.
view() == rhs);
328 return !(lhs == rhs);
333 return !(lhs == rhs);
346namespace bson_value {
348using ::bsoncxx::v_noabi::types::bson_value::operator==;
349using ::bsoncxx::v_noabi::types::bson_value::operator!=;
Provides bsoncxx::v_noabi::array::view_or_value.
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition export.hpp:52
The bsoncxx v_noabi macro guard postlude header.
The bsoncxx v_noabi macro guard prelude header.
value(b_double v)
Construct a bson_value::value from the provided BSON type.
Represents a MongoDB BSON Decimal128.
Definition decimal128.hpp:40
Represents a MongoDB BSON ObjectId.
Definition oid.hpp:36
bool operator!=(value const &lhs, view const &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:327
bson_value::view view() const noexcept
Get a view over the bson_value owned by this object.
bool operator!=(view const &lhs, value const &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:332
bool operator==(value const &lhs, view const &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:317
bool operator==(view const &lhs, value const &rhs)
Compares a value with a view for (in)equality.
Definition value.hpp:322
value(b_double v)
Construct a bson_value::value from the provided BSON type.
bool operator!=(value const &lhs, value const &rhs)
Compares values for (in)-equality.
Definition value.hpp:304
Declares bsoncxx::v_noabi::document::element.
Provides bsoncxx::v_noabi::document::view_or_value.
Declares entities representing a BSON array.
Declares entities representing a BSON document.
Declares C++17 standard library polyfills.
Declares entities representing any BSON value type.
bsoncxx::v_noabi::view_or_value< view, value > view_or_value
Equivalent to v_noabi::view_or_value<view, value>.
Definition view_or_value.hpp:31
Declares entities representing BSON value types.
Declarations related to the BSON Binary Vector subtype.
Declares entities whose ABI stability is NOT guaranteed.
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.
A BSON array value.
Definition types.hpp:202
A BSON binary data value.
Definition types.hpp:227
A BSON boolean value.
Definition types.hpp:284
A BSON JavaScript code value.
Definition types.hpp:434
A BSON JavaScript code with scope value.
Definition types.hpp:504
A BSON date value.
Definition types.hpp:309
A BSON DBPointer (aka DBRef) value.
Definition types.hpp:415
A BSON Decimal128 value.
Definition types.hpp:604
A BSON document value.
Definition types.hpp:170
A BSON double value.
Definition types.hpp:111
A BSON signed 32-bit integer value.
Definition types.hpp:535
A BSON 64-bit signed integer value.
Definition types.hpp:579
A BSON max-key value.
Definition types.hpp:647
A BSON min-key value.
Definition types.hpp:631
A BSON null value.
Definition types.hpp:366
A BSON ObjectId value.
Definition types.hpp:266
A BSON regex value.
Definition types.hpp:382
A BSON UTF-8 encoded string value.
Definition types.hpp:136
A BSON Symbol value.
Definition types.hpp:470
A BSON replication timestamp value.
Definition types.hpp:560
A BSON undefined value.
Definition types.hpp:250
Declares bsoncxx::v_noabi::types::bson_value::value.
Provides bsoncxx::v_noabi::types::bson_value::view.