MongoDB C++ Driver
4.2.0
Loading...
Searching...
No Matches
upload_result.hpp
Go to the documentation of this file.
1
// Copyright 2009-present MongoDB, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#pragma once
16
17
#include <
mongocxx/v1/gridfs/upload_result-fwd.hpp
>
// IWYU pragma: export
18
19
//
20
21
#include <
mongocxx/v1/detail/prelude.hpp
>
22
23
#include <
bsoncxx/v1/types/view-fwd.hpp
>
24
25
#include <
mongocxx/v1/config/export.hpp
>
26
27
namespace
mongocxx
{
28
namespace
v1
{
29
namespace
gridfs
{
30
42
class
upload_result
{
43
private
:
44
class
impl;
45
void
* _impl;
46
47
public
:
53
MONGOCXX_ABI_EXPORT_CDECL
()
~upload_result
();
54
61
MONGOCXX_ABI_EXPORT_CDECL
()
upload_result
(
upload_result
&& other) noexcept;
62
69
MONGOCXX_ABI_EXPORT_CDECL
(
upload_result
&) operator=(
upload_result
&& other) noexcept;
70
74
MONGOCXX_ABI_EXPORT_CDECL
()
upload_result
(
upload_result
const& other);
75
79
MONGOCXX_ABI_EXPORT_CDECL
(
upload_result
&) operator=(
upload_result
const& other);
80
84
MONGOCXX_ABI_EXPORT_CDECL
(
bsoncxx
::
v1
::types::view)
id
() const;
85
90
friend
MONGOCXX_ABI_EXPORT_CDECL
(
bool
) operator==(
upload_result
const& lhs,
upload_result
const& rhs);
91
92
friend
bool
operator!=(
upload_result
const& lhs,
upload_result
const& rhs) {
93
return
!(lhs == rhs);
94
}
95
97
98
class
internal;
99
100
private
:
101
/* explicit(false) */
upload_result
(
void
* impl);
102
};
103
104
}
// namespace gridfs
105
}
// namespace v1
106
}
// namespace mongocxx
107
108
#include <
mongocxx/v1/detail/postlude.hpp
>
109
mongocxx::v1::gridfs::upload_result::upload_result
upload_result(upload_result &&other) noexcept
Move constructor.
mongocxx::v1::gridfs::upload_result::~upload_result
~upload_result()
Destroy this object.
export.hpp
Provides macros to control the set of symbols exported in the ABI.
MONGOCXX_ABI_EXPORT_CDECL
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition
export.hpp:52
postlude.hpp
The mongocxx v1 macro guard postlude header.
prelude.hpp
The mongocxx v1 macro guard prelude header.
bsoncxx
The top-level namespace within which all bsoncxx library entities are declared.
mongocxx::v1::gridfs
Declares entities related to GridFS.
mongocxx::v1
Declares entities whose ABI stability is guaranteed for documented symbols.
mongocxx
The top-level namespace within which all mongocxx library entities are declared.
upload_result-fwd.hpp
Declares mongocxx::v1::gridfs::upload_result.
view-fwd.hpp
Declares non-owning, read-only entities representing a BSON type value.
mongocxx
v1
gridfs
upload_result.hpp
Generated by
1.15.0