MongoDB C++ Driver
4.1.0
Toggle main menu visibility
Main Page
Files
File List
File Members
All
Macros
Namespaces
Namespace List
Namespace Members
All
b
c
e
f
k
l
m
o
r
s
t
v
w
Functions
c
e
f
k
m
o
s
t
v
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
Typedefs
b
c
d
e
f
i
k
n
p
r
v
w
Enumerations
Related Symbols
o
Topics
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
bsoncxx
v_noabi
bsoncxx
vector
formats.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/vector/formats-fwd.hpp
>
18
19
//
20
21
#include <array>
22
23
#include <
bsoncxx/types-fwd.hpp
>
24
#include <
bsoncxx/vector/accessor-fwd.hpp
>
25
26
#include <
bsoncxx/config/prelude.hpp
>
27
28
namespace
bsoncxx
{
29
namespace
v_noabi
{
30
namespace
vector
{
31
namespace
formats
{
32
34
struct
f_float32
{
35
static
BSONCXX_ABI_EXPORT_CDECL
(std::uint32_t) length_for_append(std::size_t element_count);
36
static
BSONCXX_ABI_EXPORT_CDECL
(
void
)
37
write_frame(std::uint8_t* binary_data, std::uint32_t binary_data_length, std::size_t element_count);
38
static
BSONCXX_ABI_EXPORT_CDECL
(
void
) validate(
types::b_binary
const
& binary);
39
};
34
struct
f_float32
{
…
};
40
42
struct
f_int8
{
43
static
BSONCXX_ABI_EXPORT_CDECL
(std::uint32_t) length_for_append(std::size_t element_count);
44
static
BSONCXX_ABI_EXPORT_CDECL
(
void
)
45
write_frame(std::uint8_t* binary_data, std::uint32_t binary_data_length, std::size_t element_count);
46
static
BSONCXX_ABI_EXPORT_CDECL
(
void
) validate(
types::b_binary
const
& binary);
47
};
42
struct
f_int8
{
…
};
48
50
struct
f_packed_bit
{
51
static
BSONCXX_ABI_EXPORT_CDECL
(std::uint32_t) length_for_append(std::size_t element_count);
52
static
BSONCXX_ABI_EXPORT_CDECL
(
void
)
53
write_frame(std::uint8_t* binary_data, std::uint32_t binary_data_length, std::size_t element_count);
54
static
BSONCXX_ABI_EXPORT_CDECL
(
void
) validate(
types::b_binary
const
& binary);
55
};
50
struct
f_packed_bit
{
…
};
56
57
}
// namespace formats
58
}
// namespace vector
59
}
// namespace v_noabi
60
}
// namespace bsoncxx
61
62
#include <
bsoncxx/config/postlude.hpp
>
63
accessor-fwd.hpp
Declares bsoncxx::v_noabi::vector::accessor.
BSONCXX_ABI_EXPORT_CDECL
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition
export.hpp:52
postlude.hpp
The bsoncxx v_noabi macro guard postlude header.
prelude.hpp
The bsoncxx v_noabi macro guard prelude header.
formats-fwd.hpp
Declares entities in bsoncxx::v_noabi::vector::formats.
bsoncxx::v_noabi::vector::formats
Declares supported BSON Binary Vector formats.
bsoncxx::v_noabi::vector
Declarations related to the BSON Binary Vector subtype.
bsoncxx::v_noabi
Declares entities whose ABI stability is NOT guaranteed.
bsoncxx
The top-level namespace within which all bsoncxx library entities are declared.
bsoncxx::v_noabi::types::b_binary
A BSON binary data value.
Definition
types.hpp:227
bsoncxx::v_noabi::vector::formats::f_float32
Vector format for 32-bit floating point elements, packed least significant byte first.
Definition
formats.hpp:34
bsoncxx::v_noabi::vector::formats::f_int8
Vector format for signed 8-bit integer elements.
Definition
formats.hpp:42
bsoncxx::v_noabi::vector::formats::f_packed_bit
Vector format for single bit elements, packed most significant bit first.
Definition
formats.hpp:50
types-fwd.hpp
Declares entities used to represent BSON types.
Generated by
1.13.2