MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
binary_sub_type.hpp
1// Copyright 2014 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#ifndef BSONCXX_ENUM
16#error "This header is only meant to be included as an X-macro over BSONCXX_ENUM"
17#endif
18
19BSONCXX_ENUM(binary, 0x00)
20BSONCXX_ENUM(function, 0x01)
21BSONCXX_ENUM(binary_deprecated, 0x02)
22BSONCXX_ENUM(uuid_deprecated, 0x03)
23BSONCXX_ENUM(uuid, 0x04)
24BSONCXX_ENUM(md5, 0x05)
25BSONCXX_ENUM(encrypted, 0x06)
26BSONCXX_ENUM(column, 0x07)
27BSONCXX_ENUM(sensitive, 0x08)
28BSONCXX_ENUM(user, 0x80)