21 #include <bsoncxx/document/value.hpp> 22 #include <bsoncxx/document/view.hpp> 23 #include <bsoncxx/stdx/optional.hpp> 24 #include <bsoncxx/types/value.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
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
A read-only BSON document that owns its underlying buffer.
Definition: value.hpp:33
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class used to download a GridFS file.
Definition: downloader.hpp:37
Class representing a GridFS bucket.
Definition: bucket.hpp:62