MongoDB C++ Driver 4.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
types.hpp File Reference

Description

Provides entities used to represent BSON types.

Go to the source code of this file.

Classes

struct  bsoncxx::v_noabi::types::b_array
 A BSON array value. More...
 
struct  bsoncxx::v_noabi::types::b_binary
 A BSON binary data value. More...
 
struct  bsoncxx::v_noabi::types::b_bool
 A BSON boolean value. More...
 
struct  bsoncxx::v_noabi::types::b_code
 A BSON JavaScript code value. More...
 
struct  bsoncxx::v_noabi::types::b_codewscope
 A BSON JavaScript code with scope value. More...
 
struct  bsoncxx::v_noabi::types::b_date
 A BSON date value. More...
 
struct  bsoncxx::v_noabi::types::b_dbpointer
 A BSON DBPointer (aka DBRef) value. More...
 
struct  bsoncxx::v_noabi::types::b_decimal128
 A BSON Decimal128 value. More...
 
struct  bsoncxx::v_noabi::types::b_document
 A BSON document value. More...
 
struct  bsoncxx::v_noabi::types::b_double
 A BSON double value. More...
 
struct  bsoncxx::v_noabi::types::b_int32
 A BSON signed 32-bit integer value. More...
 
struct  bsoncxx::v_noabi::types::b_int64
 A BSON 64-bit signed integer value. More...
 
struct  bsoncxx::v_noabi::types::b_maxkey
 A BSON max-key value. More...
 
struct  bsoncxx::v_noabi::types::b_minkey
 A BSON min-key value. More...
 
struct  bsoncxx::v_noabi::types::b_null
 A BSON null value. More...
 
struct  bsoncxx::v_noabi::types::b_oid
 A BSON ObjectId value. More...
 
struct  bsoncxx::v_noabi::types::b_regex
 A BSON regex value. More...
 
struct  bsoncxx::v_noabi::types::b_string
 A BSON UTF-8 encoded string value. More...
 
struct  bsoncxx::v_noabi::types::b_symbol
 A BSON Symbol value. More...
 
struct  bsoncxx::v_noabi::types::b_timestamp
 A BSON replication timestamp value. More...
 
struct  bsoncxx::v_noabi::types::b_undefined
 A BSON undefined value. More...
 

Namespaces

namespace  bsoncxx
 The top-level namespace within which all bsoncxx library entities are declared.
 
namespace  bsoncxx::types
 Declares entities representing BSON value types.
 
namespace  bsoncxx::v_noabi
 Declares entities whose ABI stability is NOT guaranteed.
 
namespace  bsoncxx::v_noabi::types
 Declares entities representing BSON value types.
 

Enumerations

enum class  bsoncxx::v_noabi::binary_sub_type : std::uint8_t
 An enumeration of each BSON binary sub type. More...
 
enum class  bsoncxx::v_noabi::type : std::uint8_t
 An enumeration of each BSON type. More...
 

Functions

bool bsoncxx::types::operator!= (b_double const &lhs, b_double const &rhs)
 free function comparator for b_double
 
bool bsoncxx::v_noabi::types::operator!= (b_array const &lhs, b_array const &rhs)
 free function comparator for b_array
 
bool bsoncxx::v_noabi::types::operator!= (b_binary const &lhs, b_binary const &rhs)
 free function comparator for b_binary
 
bool bsoncxx::v_noabi::types::operator!= (b_bool const &lhs, b_bool const &rhs)
 free function comparator for b_bool
 
bool bsoncxx::v_noabi::types::operator!= (b_code const &lhs, b_code const &rhs)
 free function comparator for b_code
 
bool bsoncxx::v_noabi::types::operator!= (b_codewscope const &lhs, b_codewscope const &rhs)
 free function comparator for b_codewscope
 
bool bsoncxx::v_noabi::types::operator!= (b_date const &lhs, b_date const &rhs)
 free function comparator for b_date
 
bool bsoncxx::v_noabi::types::operator!= (b_dbpointer const &lhs, b_dbpointer const &rhs)
 free function comparator for b_dbpointer
 
bool bsoncxx::v_noabi::types::operator!= (b_decimal128 const &lhs, b_decimal128 const &rhs)
 free function comparator for b_decimal128
 
bool bsoncxx::v_noabi::types::operator!= (b_document const &lhs, b_document const &rhs)
 free function comparator for b_document
 
bool bsoncxx::v_noabi::types::operator!= (b_double const &lhs, b_double const &rhs)
 free function comparator for b_double
 
bool bsoncxx::v_noabi::types::operator!= (b_int32 const &lhs, b_int32 const &rhs)
 free function comparator for b_int32
 
bool bsoncxx::v_noabi::types::operator!= (b_int64 const &lhs, b_int64 const &rhs)
 free function comparator for b_int64
 
bool bsoncxx::v_noabi::types::operator!= (b_maxkey const &lhs, b_maxkey const &rhs)
 free function comparator for b_maxkey
 
bool bsoncxx::v_noabi::types::operator!= (b_minkey const &lhs, b_minkey const &rhs)
 free function comparator for b_minkey
 
bool bsoncxx::v_noabi::types::operator!= (b_null const &lhs, b_null const &rhs)
 free function comparator for b_null
 
bool bsoncxx::v_noabi::types::operator!= (b_oid const &lhs, b_oid const &rhs)
 free function comparator for b_oid
 
bool bsoncxx::v_noabi::types::operator!= (b_regex const &lhs, b_regex const &rhs)
 free function comparator for b_regex
 
bool bsoncxx::v_noabi::types::operator!= (b_string const &lhs, b_string const &rhs)
 free function comparator for b_string
 
bool bsoncxx::v_noabi::types::operator!= (b_symbol const &lhs, b_symbol const &rhs)
 free function comparator for b_symbol
 
bool bsoncxx::v_noabi::types::operator!= (b_timestamp const &lhs, b_timestamp const &rhs)
 free function comparator for b_timestamp
 
bool bsoncxx::v_noabi::types::operator!= (b_undefined const &lhs, b_undefined const &rhs)
 free function comparator for b_undefined
 
bool bsoncxx::types::operator== (b_double const &lhs, b_double const &rhs)
 free function comparator for b_double
 
bool bsoncxx::v_noabi::types::operator== (b_array const &lhs, b_array const &rhs)
 free function comparator for b_array
 
bool bsoncxx::v_noabi::types::operator== (b_binary const &lhs, b_binary const &rhs)
 free function comparator for b_binary
 
bool bsoncxx::v_noabi::types::operator== (b_bool const &lhs, b_bool const &rhs)
 free function comparator for b_bool
 
bool bsoncxx::v_noabi::types::operator== (b_code const &lhs, b_code const &rhs)
 free function comparator for b_code
 
bool bsoncxx::v_noabi::types::operator== (b_codewscope const &lhs, b_codewscope const &rhs)
 free function comparator for b_codewscope
 
bool bsoncxx::v_noabi::types::operator== (b_date const &lhs, b_date const &rhs)
 free function comparator for b_date
 
bool bsoncxx::v_noabi::types::operator== (b_dbpointer const &lhs, b_dbpointer const &rhs)
 free function comparator for b_dbpointer
 
bool bsoncxx::v_noabi::types::operator== (b_decimal128 const &lhs, b_decimal128 const &rhs)
 free function comparator for b_decimal128
 
bool bsoncxx::v_noabi::types::operator== (b_document const &lhs, b_document const &rhs)
 free function comparator for b_document
 
bool bsoncxx::v_noabi::types::operator== (b_double const &lhs, b_double const &rhs)
 free function comparator for b_double
 
bool bsoncxx::v_noabi::types::operator== (b_int32 const &lhs, b_int32 const &rhs)
 free function comparator for b_int32
 
bool bsoncxx::v_noabi::types::operator== (b_int64 const &lhs, b_int64 const &rhs)
 free function comparator for b_int64
 
bool bsoncxx::v_noabi::types::operator== (b_maxkey const &, b_maxkey const &)
 free function comparator for b_maxkey
 
bool bsoncxx::v_noabi::types::operator== (b_minkey const &, b_minkey const &)
 free function comparator for b_minkey
 
bool bsoncxx::v_noabi::types::operator== (b_null const &, b_null const &)
 free function comparator for b_null
 
bool bsoncxx::v_noabi::types::operator== (b_oid const &lhs, b_oid const &rhs)
 free function comparator for b_oid
 
bool bsoncxx::v_noabi::types::operator== (b_regex const &lhs, b_regex const &rhs)
 free function comparator for b_regex
 
bool bsoncxx::v_noabi::types::operator== (b_string const &lhs, b_string const &rhs)
 free function comparator for b_string
 
bool bsoncxx::v_noabi::types::operator== (b_symbol const &lhs, b_symbol const &rhs)
 free function comparator for b_symbol
 
bool bsoncxx::v_noabi::types::operator== (b_timestamp const &lhs, b_timestamp const &rhs)
 free function comparator for b_timestamp
 
bool bsoncxx::v_noabi::types::operator== (b_undefined const &, b_undefined const &)
 free function comparator for b_undefined
 
std::string bsoncxx::to_string (type rhs)
 Returns a stringification of the given type.
 
std::string bsoncxx::v_noabi::to_string (binary_sub_type rhs)
 Returns a stringification of the given binary sub type.
 
std::string bsoncxx::v_noabi::to_string (type rhs)
 Returns a stringification of the given type.