MongoDB C++ Driver
4.2.0
Loading...
Searching...
No Matches
view-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/detail/prelude.hpp
>
18
19
#include <
bsoncxx/v1/types/id-fwd.hpp
>
20
21
namespace
bsoncxx
{
22
namespace
v1
{
23
namespace
types
{
24
25
#pragma push_macro("X")
26
#undef X
27
#define X(_name, _value) struct b_##_name;
28
BSONCXX_V1_TYPES_XMACRO
(X)
29
#pragma pop_macro("X")
30
31
class
view
;
32
33
}
// namespace types
34
}
// namespace v1
35
}
// namespace bsoncxx
36
37
#include <
bsoncxx/v1/detail/postlude.hpp
>
38
postlude.hpp
The bsoncxx v1 macro guard postlude header.
prelude.hpp
The bsoncxx v1 macro guard prelude header.
bsoncxx::v1::types::view
A non-owning, read-only union of BSON type values.
Definition
view.hpp:1023
bsoncxx::v1::types
Declares entities representing a BSON type value.
bsoncxx::v1
Declares entities whose ABI stability is guaranteed for documented symbols.
bsoncxx
The top-level namespace within which all bsoncxx library entities are declared.
id-fwd.hpp
Declares enumerations identifying the type of a BSON element.
BSONCXX_V1_TYPES_XMACRO
#define BSONCXX_V1_TYPES_XMACRO(X)
X-macro over the name and value of BSON types.
Definition
id-fwd.hpp:44
bsoncxx
v1
types
view-fwd.hpp
Generated by
1.15.0