42 std::int32_t chunks_offset = 0;
43 std::int32_t bytes_offset = 0;
161 std::int64_t file_len,
162 bsoncxx::v_noabi::document::value files_doc);
169 const impl& _get_impl() const;
171 std::unique_ptr<impl> _impl;
179#if defined(MONGOCXX_TEST_MACRO_GUARDS_FIX_MISSING_POSTLUDE)
Class representing a pointer to the result set of a query on a MongoDB server.
Definition cursor.hpp:42
Class representing a GridFS bucket.
Definition bucket.hpp:67
Class used to download a GridFS file.
Definition downloader.hpp:49
bsoncxx::v_noabi::document::view files_document() const
Gets the files collection document of the file being downloaded.
std::int32_t chunk_size() const
Gets the chunk size of the file being downloaded.
void close()
Closes the downloader stream.
std::size_t read(std::uint8_t *buffer, std::size_t length)
Reads a specified number of bytes from the GridFS file being downloaded.
std::int64_t file_length() const
Gets the length of the file being downloaded.
Provides mongocxx::v_noabi::cursor.
Provides bsoncxx::v_noabi::document::value.
Provides bsoncxx::v_noabi::document::view.
Declares utilities to download GridFS files.
Declares mongocxx::v_noabi::gridfs::bucket.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
The mongocxx macro guard postlude header.
The mongocxx macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Class used to specify the offset from which to start reading the chunks of the file.
Definition downloader.hpp:41
Provides bsoncxx::v_noabi::types::bson_value::view.