21 #include <bsoncxx/document/view_or_value.hpp> 22 #include <bsoncxx/stdx/string_view.hpp> 23 #include <bsoncxx/types/value.hpp> 24 #include <mongocxx/cursor.hpp> 25 #include <mongocxx/gridfs/downloader.hpp> 26 #include <mongocxx/gridfs/uploader.hpp> 27 #include <mongocxx/options/find.hpp> 28 #include <mongocxx/options/gridfs/bucket.hpp> 29 #include <mongocxx/options/gridfs/upload.hpp> 30 #include <mongocxx/result/gridfs/upload.hpp> 31 #include <mongocxx/stdx.hpp> 33 #include <mongocxx/config/prelude.hpp> 36 MONGOCXX_INLINE_NAMESPACE_BEGIN
99 explicit operator bool()
const noexcept;
126 uploader open_upload_stream(stdx::string_view filename,
157 stdx::string_view filename,
201 std::istream* source,
245 stdx::string_view filename,
246 std::istream* source,
327 stdx::string_view bucket_name()
const;
335 MONGOCXX_PRIVATE
void create_indexes_if_nonexistent();
337 class MONGOCXX_PRIVATE impl;
339 MONGOCXX_PRIVATE impl& _get_impl();
340 MONGOCXX_PRIVATE
const impl& _get_impl()
const;
342 std::unique_ptr<impl> _impl;
346 MONGOCXX_INLINE_NAMESPACE_END
349 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:22
Class used to upload a GridFS file.
Definition: uploader.hpp:39
Class representing the optional arguments to a MongoDB query.
Definition: find.hpp:36
Class representing a pointer to the result set of a query on a MongoDB server.
Definition: cursor.hpp:36
Class used to download a GridFS file.
Definition: downloader.hpp:37
Class representing a GridFS bucket.
Definition: bucket.hpp:62
Class representing the result of a GridFS upload operation.
Definition: upload.hpp:28
Class representing a MongoDB database.
Definition: database.hpp:46
Class representing the optional arguments to a MongoDB GridFS bucket creation operation.
Definition: bucket.hpp:35
Class representing the optional arguments to a MongoDB GridFS upload operation.
Definition: upload.hpp:31
A variant that can contain any BSON type.
Definition: value.hpp:37