MongoDB C++ Driver mongocxx-3.11.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 <cstdint>
18
20
21namespace bsoncxx {
22namespace v_noabi {
23
24enum class type : std::uint8_t;
25enum class binary_sub_type : std::uint8_t;
26
27} // namespace v_noabi
28} // namespace bsoncxx
29
30namespace bsoncxx {
31namespace v_noabi {
32namespace types {
33
34struct b_double;
35struct b_string;
36struct b_document;
37struct b_array;
38struct b_binary;
39struct b_undefined;
40struct b_oid;
41struct b_bool;
42struct b_date;
43struct b_null;
44struct b_regex;
45struct b_dbpointer;
46struct b_code;
47struct b_symbol;
48struct b_codewscope;
49struct b_int32;
50struct b_timestamp;
51struct b_int64;
52struct b_decimal128;
53struct b_maxkey;
54struct b_minkey;
55
56} // namespace types
57} // namespace v_noabi
58} // namespace bsoncxx
59
60namespace bsoncxx {
61
62using ::bsoncxx::v_noabi::binary_sub_type;
63using ::bsoncxx::v_noabi::type;
64
65} // namespace bsoncxx
66
67namespace bsoncxx {
68namespace types {
69
70using ::bsoncxx::v_noabi::types::b_array;
71using ::bsoncxx::v_noabi::types::b_binary;
72using ::bsoncxx::v_noabi::types::b_bool;
73using ::bsoncxx::v_noabi::types::b_code;
74using ::bsoncxx::v_noabi::types::b_codewscope;
75using ::bsoncxx::v_noabi::types::b_date;
76using ::bsoncxx::v_noabi::types::b_dbpointer;
77using ::bsoncxx::v_noabi::types::b_decimal128;
78using ::bsoncxx::v_noabi::types::b_document;
79using ::bsoncxx::v_noabi::types::b_double;
80using ::bsoncxx::v_noabi::types::b_int32;
81using ::bsoncxx::v_noabi::types::b_int64;
82using ::bsoncxx::v_noabi::types::b_maxkey;
83using ::bsoncxx::v_noabi::types::b_minkey;
84using ::bsoncxx::v_noabi::types::b_null;
85using ::bsoncxx::v_noabi::types::b_oid;
86using ::bsoncxx::v_noabi::types::b_regex;
87using ::bsoncxx::v_noabi::types::b_string;
88using ::bsoncxx::v_noabi::types::b_symbol;
89using ::bsoncxx::v_noabi::types::b_timestamp;
90using ::bsoncxx::v_noabi::types::b_undefined;
91
92} // namespace types
93} // namespace bsoncxx
94
96
101
102#if defined(BSONCXX_PRIVATE_DOXYGEN_PREPROCESSOR)
103
104namespace bsoncxx {
105namespace types {
106
108struct b_double {};
109
111struct b_string {};
112
114struct b_document {};
115
117struct b_array {};
118
120struct b_binary {};
121
123struct b_undefined {};
124
126struct b_oid {};
127
129struct b_bool {};
130
132struct b_date {};
133
135struct b_null {};
136
138struct b_regex {};
139
141struct b_dbpointer {};
142
144struct b_code {};
145
147struct b_symbol {};
148
150struct b_codewscope {};
151
153struct b_int32 {};
154
156struct b_timestamp {};
157
159struct b_int64 {};
160
162struct b_decimal128 {};
163
165struct b_maxkey {};
166
168struct b_minkey {};
169
170} // namespace types
171} // namespace bsoncxx
172
173#endif // defined(BSONCXX_PRIVATE_DOXYGEN_PREPROCESSOR)
The bsoncxx macro guard postlude header.
The bsoncxx macro guard prelude header.
binary_sub_type
An enumeration of each BSON binary sub type.
Definition types.hpp:73
type
An enumeration of each BSON type.
Definition types.hpp:43
The top-level namespace within which all bsoncxx library entities are declared.
bsoncxx::v_noabi::types::b_array
Definition types-fwd.hpp:117
bsoncxx::v_noabi::types::b_binary
Definition types-fwd.hpp:120
bsoncxx::v_noabi::types::b_bool
Definition types-fwd.hpp:129
bsoncxx::v_noabi::types::b_code
Definition types-fwd.hpp:144
bsoncxx::v_noabi::types::b_codewscope
Definition types-fwd.hpp:150
bsoncxx::v_noabi::types::b_date
Definition types-fwd.hpp:132
bsoncxx::v_noabi::types::b_dbpointer
Definition types-fwd.hpp:141
bsoncxx::v_noabi::types::b_decimal128
Definition types-fwd.hpp:162
bsoncxx::v_noabi::types::b_document
Definition types-fwd.hpp:114
bsoncxx::v_noabi::types::b_double
Definition types-fwd.hpp:108
bsoncxx::v_noabi::types::b_int32
Definition types-fwd.hpp:153
bsoncxx::v_noabi::types::b_int64
Definition types-fwd.hpp:159
bsoncxx::v_noabi::types::b_maxkey
Definition types-fwd.hpp:165
bsoncxx::v_noabi::types::b_minkey
Definition types-fwd.hpp:168
bsoncxx::v_noabi::types::b_null
Definition types-fwd.hpp:135
bsoncxx::v_noabi::types::b_oid
Definition types-fwd.hpp:126
bsoncxx::v_noabi::types::b_regex
Definition types-fwd.hpp:138
bsoncxx::v_noabi::types::b_string
Definition types-fwd.hpp:111
bsoncxx::v_noabi::types::b_symbol
Definition types-fwd.hpp:147
bsoncxx::v_noabi::types::b_timestamp
Definition types-fwd.hpp:156
bsoncxx::v_noabi::types::b_undefined
Definition types-fwd.hpp:123