MongoDB C++ Driver  mongocxx-3.0.2
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 
19 BSONCXX_ENUM(binary, 0x00)
20 BSONCXX_ENUM(function, 0x01)
21 BSONCXX_ENUM(binary_deprecated, 0x02)
22 BSONCXX_ENUM(uuid_deprecated, 0x03)
23 BSONCXX_ENUM(uuid, 0x04)
24 BSONCXX_ENUM(md5, 0x05)
25 BSONCXX_ENUM(user, 0x80)