21 #include <bsoncxx/document/value.hpp>
22 #include <bsoncxx/document/view.hpp>
23 #include <bsoncxx/stdx/optional.hpp>
24 #include <bsoncxx/types/bson_value/view.hpp>
25 #include <mongocxx/cursor.hpp>
26 #include <mongocxx/stdx.hpp>
28 #include <mongocxx/config/prelude.hpp>
31 MONGOCXX_INLINE_NAMESPACE_BEGIN
69 explicit operator bool()
const noexcept;
91 std::size_t read(std::uint8_t* buffer, std::size_t length);
106 std::int32_t chunk_size()
const;
114 std::int64_t file_length()
const;
139 MONGOCXX_PRIVATE
void fetch_chunk();
141 class MONGOCXX_PRIVATE impl;
143 MONGOCXX_PRIVATE impl& _get_impl();
144 MONGOCXX_PRIVATE
const impl& _get_impl()
const;
146 std::unique_ptr<impl> _impl;
150 MONGOCXX_INLINE_NAMESPACE_END