MongoDB C++ Driver 4.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
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
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.
Declares entities whose ABI stability is NOT guaranteed.
binary_sub_type
An enumeration of each BSON binary sub type.
Definition types.hpp:72
type
An enumeration of each BSON type.
Definition types.hpp:43
The top-level namespace within which all bsoncxx library entities are declared.
A BSON array value.
Definition types.hpp:202
A BSON binary data value.
Definition types.hpp:227
A BSON boolean value.
Definition types.hpp:284
A BSON JavaScript code value.
Definition types.hpp:434
A BSON JavaScript code with scope value.
Definition types.hpp:504
A BSON date value.
Definition types.hpp:309
A BSON DBPointer (aka DBRef) value.
Definition types.hpp:415
A BSON Decimal128 value.
Definition types.hpp:604
A BSON document value.
Definition types.hpp:170
A BSON double value.
Definition types.hpp:111
A BSON signed 32-bit integer value.
Definition types.hpp:535
A BSON 64-bit signed integer value.
Definition types.hpp:579
A BSON max-key value.
Definition types.hpp:647
A BSON min-key value.
Definition types.hpp:631
A BSON null value.
Definition types.hpp:366
A BSON ObjectId value.
Definition types.hpp:266
A BSON regex value.
Definition types.hpp:382
A BSON UTF-8 encoded string value.
Definition types.hpp:136
A BSON Symbol value.
Definition types.hpp:470
A BSON replication timestamp value.
Definition types.hpp:560
A BSON undefined value.
Definition types.hpp:250