Skip to content

Commit c3130ec

Browse files
authored
CXX-3235 add mongocxx::v1 forward headers and component files (#1462)
1 parent 8815c87 commit c3130ec

File tree

223 files changed

+7148
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+7148
-0
lines changed

src/mongocxx/include/mongocxx/docs/v1.hpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,27 @@
4040
/// @warning For internal use only!
4141
///
4242

43+
///
44+
/// @dir mongocxx/v1/events
45+
/// Provide headers related to APM events.
46+
///
47+
48+
///
49+
/// @dir mongocxx/v1/gridfs
50+
/// Provide headers related to GridFS.
51+
///
52+
4353
///
4454
/// @namespace mongocxx::v1
4555
/// Declares entities whose ABI stability is guaranteed for documented symbols.
4656
///
57+
58+
///
59+
/// @namespace mongocxx::v1::gridfs
60+
/// @copydoc mongocxx::gridfs
61+
///
62+
63+
///
64+
/// @namespace mongocxx::v1::events
65+
/// @copydoc mongocxx::events
66+
///
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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/detail/prelude.hpp>
18+
19+
namespace mongocxx {
20+
namespace v1 {
21+
22+
class aggregate_options;
23+
24+
} // namespace v1
25+
} // namespace mongocxx
26+
27+
#include <mongocxx/v1/detail/postlude.hpp>
28+
29+
///
30+
/// @file
31+
/// Declares @ref mongocxx::v1::aggregate_options.
32+
///
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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/aggregate_options-fwd.hpp>
18+
19+
//
20+
21+
#include <mongocxx/v1/detail/prelude.hpp>
22+
23+
namespace mongocxx {
24+
namespace v1 {
25+
26+
///
27+
/// Options for an "aggregate" command.
28+
///
29+
/// @see
30+
/// - [`aggregate` (database command) (MongoDB Manual)](https://www.mongodb.com/docs/manual/aggregation/)
31+
///
32+
/// @attention This feature is experimental! It is not ready for use!
33+
///
34+
class aggregate_options {};
35+
36+
} // namespace v1
37+
} // namespace mongocxx
38+
39+
#include <mongocxx/v1/detail/postlude.hpp>
40+
41+
///
42+
/// @file
43+
/// Provides @ref mongocxx::v1::aggregate_options.
44+
///
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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/detail/prelude.hpp>
18+
19+
namespace mongocxx {
20+
namespace v1 {
21+
22+
class apm;
23+
24+
} // namespace v1
25+
} // namespace mongocxx
26+
27+
#include <mongocxx/v1/detail/postlude.hpp>
28+
29+
///
30+
/// @file
31+
/// Declares @ref mongocxx::v1::apm.
32+
///
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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/apm-fwd.hpp>
18+
19+
//
20+
21+
#include <mongocxx/v1/detail/prelude.hpp>
22+
23+
namespace mongocxx {
24+
namespace v1 {
25+
26+
///
27+
/// Options related to Application Performance Monitoring (APM) configuration.
28+
///
29+
/// @see
30+
/// - [Application Performance Monitoring (mongoc)](https://mongoc.org/libmongoc/current/application-performance-monitoring.html)
31+
/// - [Command Logging and Monitoring (MongoDB Specifications)](https://specifications.readthedocs.io/en/latest/command-logging-and-monitoring/command-logging-and-monitoring/)
32+
/// - [SDAM Logging and Monitoring Specification (MongoDB Specifications)](https://specifications.readthedocs.io/en/latest/server-discovery-and-monitoring/server-discovery-and-monitoring-logging-and-monitoring/)
33+
///
34+
class apm {};
35+
36+
} // namespace v1
37+
} // namespace mongocxx
38+
39+
#include <mongocxx/v1/detail/postlude.hpp>
40+
41+
///
42+
/// @file
43+
/// Provides @ref mongocxx::v1::apm.
44+
///
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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/detail/prelude.hpp>
18+
19+
namespace mongocxx {
20+
namespace v1 {
21+
22+
class auto_encryption;
23+
24+
} // namespace v1
25+
} // namespace mongocxx
26+
27+
#include <mongocxx/v1/detail/postlude.hpp>
28+
29+
///
30+
/// @file
31+
/// Declares @ref mongocxx::v1::auto_encryption.
32+
///
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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/auto_encryption-fwd.hpp>
18+
19+
//
20+
21+
#include <mongocxx/v1/detail/prelude.hpp>
22+
23+
namespace mongocxx {
24+
namespace v1 {
25+
26+
///
27+
/// Options related In-Use Encryption configuration.
28+
///
29+
/// @see
30+
/// - [MongoClient Options for Queryable Encryption (MongoDB Manual)](https://www.mongodb.com/docs/manual/core/queryable-encryption/reference/qe-options-clients/)
31+
/// - [MongoClient Options for CSFLE](https://www.mongodb.com/docs/manual/core/csfle/reference/csfle-options-clients/)
32+
///
33+
class auto_encryption {};
34+
35+
} // namespace v1
36+
} // namespace mongocxx
37+
38+
#include <mongocxx/v1/detail/postlude.hpp>
39+
40+
///
41+
/// @file
42+
/// Provides @ref mongocxx::v1::auto_encryption.
43+
///
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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/detail/prelude.hpp>
18+
19+
namespace mongocxx {
20+
namespace v1 {
21+
22+
class bulk_write;
23+
24+
} // namespace v1
25+
} // namespace mongocxx
26+
27+
#include <mongocxx/v1/detail/postlude.hpp>
28+
29+
///
30+
/// @file
31+
/// Declares entities related to bulk write operations.
32+
///

0 commit comments

Comments
 (0)