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;
122 bsoncxx::document::view files_document() 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
Class representing a pointer to the result set of a query on a MongoDB server.
Definition: cursor.hpp:36
Class representing a GridFS bucket.
Definition: bucket.hpp:62
Class used to download a GridFS file.
Definition: downloader.hpp:37
downloader() noexcept
Default constructs a downloader object.
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24