21 #include <bsoncxx/array/element.hpp> 22 #include <bsoncxx/document/view.hpp> 24 #include <bsoncxx/config/prelude.hpp> 27 BSONCXX_INLINE_NAMESPACE_BEGIN
80 element operator[](std::uint32_t i)
const;
97 view(
const std::uint8_t* data, std::size_t length);
104 const std::uint8_t* data()
const;
114 std::size_t length()
const;
133 friend BSONCXX_API
bool BSONCXX_CALL operator==(
view,
view);
134 friend BSONCXX_API
bool BSONCXX_CALL operator!=(
view,
view);
158 reference operator*();
159 pointer operator->();
182 BSONCXX_INLINE_NAMESPACE_END
185 #include <bsoncxx/config/postlude.hpp> A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
A const iterator over the contents of an array view.
Definition: view.hpp:149
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
A variant view type that accesses values in serialized BSON arrays.
Definition: element.hpp:36
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24