41 upload(upload&& other)
noexcept =
default;
42 upload& operator=(upload&& other)
noexcept =
default;
44 upload(upload
const& other) : _id_owner{other._id_owner}, _id{_id_owner} {}
46 upload& operator=(upload
const& other) {
48 _id_owner = other._id_owner;
80 return lhs._id == rhs._id;
83 friend bool operator!=(upload
const& lhs, upload
const& rhs) {
104 return {std::move(v)};
A non-owning variant that can contain any BSON type.
Definition view.hpp:62
Result of uploading a file to a GridFS bucket.
Definition upload_result.hpp:40
The result of a GridFS upload operation.
Definition upload.hpp:37
upload(bsoncxx::v_noabi::types::bson_value::view id)
Definition upload.hpp:58
operator v1::gridfs::upload_result() const
Convert to the mongocxx::v1 equivalent.
bsoncxx::v_noabi::types::view const & id() const
Gets the id of the uploaded GridFS file.
Definition upload.hpp:75
#define MONGOCXX_ABI_EXPORT_CDECL_UNSTABLE(...)
Equivalent to MONGOCXX_ABI_EXPORT_UNSTABLE with MONGOCXX_ABI_CDECL.
Definition config.hpp:28
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
v_noabi::types::bson_value::view view
Equivalent to bsoncxx::v_noabi::types::bson_value::view.
Definition view-fwd.hpp:35
bson_value::value value
Equivalent to bsoncxx::v_noabi::types::bson_value::value.
Definition value-fwd.hpp:35
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
Declares entities representing the result of GridFS commands.
Declares entities representing the result of various commands.
Declares entities whose ABI stability is NOT guaranteed.
bool operator==(std::string str, hint const &hint)
Convenience methods to compare against an index name.
Definition hint.hpp:138
bool operator!=(hint const &hint, std::string str)
Convenience methods to compare against an index name.
Definition hint.hpp:143
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::result::gridfs::upload.
Provides mongocxx::v1::gridfs::upload_result.
Provides bsoncxx::v_noabi::array::value.
Equivalent to bsoncxx/types/bson_value/value.hpp.
Equivalent to bsoncxx/types/bson_value/view.hpp.