| 
    MongoDB C++ Driver
    mongocxx-3.7.0
    
   | 
 
 
 
 
   20 #include <bsoncxx/stdx/string_view.hpp> 
   22 #include <bsoncxx/config/prelude.hpp> 
   25 BSONCXX_INLINE_NAMESPACE_BEGIN
 
   27 enum class type : std::uint8_t;
 
   54 namespace bson_value {
 
   90     explicit operator bool() 
const;
 
   97     const std::uint8_t* raw() 
const;
 
  104     std::uint32_t length() 
const;
 
  111     std::uint32_t offset() 
const;
 
  129     stdx::string_view key() 
const;
 
  136     std::uint32_t keylen() 
const;
 
  368     element operator[](stdx::string_view key) 
const;
 
  399     BSONCXX_PRIVATE 
explicit element(
const std::uint8_t* raw,
 
  400                                      std::uint32_t length,
 
  401                                      std::uint32_t offset,
 
  402                                      std::uint32_t keylen);
 
  407     const std::uint8_t* _raw;
 
  408     std::uint32_t _length;
 
  409     std::uint32_t _offset;
 
  410     std::uint32_t _keylen;
 
  445 BSONCXX_INLINE_NAMESPACE_END
 
  448 #include <bsoncxx/config/postlude.hpp> 
  
A BSON array value.
Definition: types.hpp:197
 
A BSON ObjectId value.
Definition: types.hpp:262
 
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
 
A BSON document value.
Definition: types.hpp:165
 
A BSON null value.
Definition: types.hpp:364
 
A BSON JavaScript code with scope value.
Definition: types.hpp:512
 
A BSON UTF-8 encoded string value.
Definition: types.hpp:122
 
A BSON 64-bit signed integer value.
Definition: types.hpp:596
 
binary_sub_type
An enumeration of each BSON binary sub type.
Definition: types.hpp:66
 
A BSON binary data value.
Definition: types.hpp:222
 
A BSON Symbol value.
Definition: types.hpp:476
 
A BSON DBPointer value.
Definition: types.hpp:418
 
A BSON regex value.
Definition: types.hpp:380
 
A BSON max-key value.
Definition: types.hpp:667
 
A BSON replication timestamp value.
Definition: types.hpp:577
 
A BSON date value.
Definition: types.hpp:305
 
A BSON signed 32-bit integer value.
Definition: types.hpp:548
 
A BSON min-key value.
Definition: types.hpp:651
 
A variant view type that accesses values in serialized BSON documents.
Definition: element.hpp:76
 
A BSON JavaScript code value.
Definition: types.hpp:437
 
A BSON Decimal128 value.
Definition: types.hpp:621
 
type
An enumeration of each BSON type.
Definition: types.hpp:46
 
A BSON undefined value.
Definition: types.hpp:246
 
A variant owning type that represents any BSON type.
Definition: value.hpp:44
 
A BSON boolean value.
Definition: types.hpp:280
 
A BSON double value.
Definition: types.hpp:97
 
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
 
A variant view type that accesses values in serialized BSON arrays.
Definition: element.hpp:42
 
A view-only variant that can contain any BSON type.
Definition: view.hpp:44