MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
types-fwd.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 <bsoncxx/v1/types/view-fwd.hpp> // IWYU pragma: export
18
19#include <cstdint>
20
22
23namespace bsoncxx {
24namespace v_noabi {
25
26enum class type : std::uint8_t;
27enum class binary_sub_type : std::uint8_t;
28
29} // namespace v_noabi
30} // namespace bsoncxx
31
32namespace bsoncxx {
33namespace v_noabi {
34namespace types {
35
42
49
50struct b_double;
51struct b_string;
52struct b_document;
53struct b_array;
54struct b_binary;
55struct b_undefined;
56struct b_oid;
57struct b_bool;
58struct b_date;
59struct b_null;
60struct b_regex;
61struct b_dbpointer;
62struct b_code;
63struct b_symbol;
64struct b_codewscope;
65struct b_int32;
66struct b_timestamp;
67struct b_int64;
68struct b_decimal128;
69struct b_maxkey;
70struct b_minkey;
71
72} // namespace types
73} // namespace v_noabi
74} // namespace bsoncxx
75
76namespace bsoncxx {
77
79using v_noabi::type;
80
81} // namespace bsoncxx
82
83namespace bsoncxx {
84namespace types {
85
88
89using v_noabi::types::b_array;
90using v_noabi::types::b_binary;
91using v_noabi::types::b_bool;
92using v_noabi::types::b_code;
93using v_noabi::types::b_codewscope;
94using v_noabi::types::b_date;
95using v_noabi::types::b_dbpointer;
96using v_noabi::types::b_decimal128;
97using v_noabi::types::b_document;
98using v_noabi::types::b_double;
99using v_noabi::types::b_int32;
100using v_noabi::types::b_int64;
101using v_noabi::types::b_maxkey;
102using v_noabi::types::b_minkey;
103using v_noabi::types::b_null;
104using v_noabi::types::b_oid;
105using v_noabi::types::b_regex;
106using v_noabi::types::b_string;
107using v_noabi::types::b_symbol;
108using v_noabi::types::b_timestamp;
109using v_noabi::types::b_undefined;
110
111} // namespace types
112} // namespace bsoncxx
113
115
The bsoncxx v_noabi macro guard postlude header.
The bsoncxx v_noabi macro guard prelude header.
Declares entities representing BSON value types.
Declares entities representing BSON value types.
v_noabi::type id
Equivalent to bsoncxx::v_noabi::type.
Definition types-fwd.hpp:41
v_noabi::binary_sub_type binary_subtype
Equivalent to bsoncxx::v_noabi::binary_sub_type.
Definition types-fwd.hpp:48
Declares entities whose ABI stability is NOT guaranteed.
binary_sub_type
An enumeration of each BSON binary sub type.
Definition types.hpp:78
type
An enumeration of each BSON type.
Definition types.hpp:47
The top-level namespace within which all bsoncxx library entities are declared.
A BSON array value.
Definition types.hpp:243
A BSON binary data value.
Definition types.hpp:268
A BSON boolean value.
Definition types.hpp:325
A BSON JavaScript code value.
Definition types.hpp:475
A BSON JavaScript code with scope value.
Definition types.hpp:545
A BSON date value.
Definition types.hpp:350
A BSON DBPointer (aka DBRef) value.
Definition types.hpp:456
A BSON Decimal128 value.
Definition types.hpp:645
A BSON document value.
Definition types.hpp:211
A BSON double value.
Definition types.hpp:149
A BSON signed 32-bit integer value.
Definition types.hpp:576
A BSON 64-bit signed integer value.
Definition types.hpp:620
A BSON max-key value.
Definition types.hpp:688
A BSON min-key value.
Definition types.hpp:672
A BSON null value.
Definition types.hpp:407
A BSON ObjectId value.
Definition types.hpp:307
A BSON regex value.
Definition types.hpp:423
A BSON UTF-8 encoded string value.
Definition types.hpp:177
A BSON Symbol value.
Definition types.hpp:511
A BSON replication timestamp value.
Definition types.hpp:601
A BSON undefined value.
Definition types.hpp:291
Declares non-owning, read-only entities representing a BSON type value.