MongoDB C++ Driver mongocxx-3.11.0
Loading...
Searching...
No Matches
types.hpp File Reference

Description

Provides entities used to represent BSON types.

Go to the source code of this file.

Classes

struct  bsoncxx::types::b_utf8
 bsoncxx::v_noabi::types::b_utf8 More...
 
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!= (const v_noabi::types::b_array &lhs, const v_noabi::types::b_array &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_array& lhs, const v_noabi::types::b_array& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_binary &lhs, const v_noabi::types::b_binary &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_binary& lhs, const v_noabi::types::b_binary& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_bool &lhs, const v_noabi::types::b_bool &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_bool& lhs, const v_noabi::types::b_bool& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_code &lhs, const v_noabi::types::b_code &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_code& lhs, const v_noabi::types::b_code& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_codewscope &lhs, const v_noabi::types::b_codewscope &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_codewscope& lhs, const v_noabi::types::b_codewscope& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_date &lhs, const v_noabi::types::b_date &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_date& lhs, const v_noabi::types::b_date& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_dbpointer &lhs, const v_noabi::types::b_dbpointer &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_dbpointer& lhs, const v_noabi::types::b_dbpointer& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_decimal128 &lhs, const v_noabi::types::b_decimal128 &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_decimal128& lhs, const v_noabi::types::b_decimal128& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_document &lhs, const v_noabi::types::b_document &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_document& lhs, const v_noabi::types::b_document& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_double &lhs, const v_noabi::types::b_double &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_double& lhs, const v_noabi::types::b_double& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_int32 &lhs, const v_noabi::types::b_int32 &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_int32& lhs, const v_noabi::types::b_int32& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_int64 &lhs, const v_noabi::types::b_int64 &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_int64& lhs, const v_noabi::types::b_int64& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_maxkey &lhs, const v_noabi::types::b_maxkey &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_maxkey& lhs, const v_noabi::types::b_maxkey& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_minkey &lhs, const v_noabi::types::b_minkey &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_minkey& lhs, const v_noabi::types::b_minkey& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_null &lhs, const v_noabi::types::b_null &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_null& lhs, const v_noabi::types::b_null& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_oid &lhs, const v_noabi::types::b_oid &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_oid& lhs, const v_noabi::types::b_oid& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_regex &lhs, const v_noabi::types::b_regex &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_regex& lhs, const v_noabi::types::b_regex& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_string &lhs, const v_noabi::types::b_string &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_string& lhs, const v_noabi::types::b_string& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_symbol &lhs, const v_noabi::types::b_symbol &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_symbol& lhs, const v_noabi::types::b_symbol& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_timestamp &lhs, const v_noabi::types::b_timestamp &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_timestamp& lhs, const v_noabi::types::b_timestamp& rhs)
 
bool bsoncxx::types::operator!= (const v_noabi::types::b_undefined &lhs, const v_noabi::types::b_undefined &rhs)
 bsoncxx::v_noabi::types::operator!=(const v_noabi::types::b_undefined& lhs, const v_noabi::types::b_undefined& rhs)
 
bool bsoncxx::v_noabi::types::operator!= (const b_array &lhs, const b_array &rhs)
 free function comparator for b_array
 
bool bsoncxx::v_noabi::types::operator!= (const b_binary &lhs, const b_binary &rhs)
 free function comparator for b_binary
 
bool bsoncxx::v_noabi::types::operator!= (const b_bool &lhs, const b_bool &rhs)
 free function comparator for b_bool
 
bool bsoncxx::v_noabi::types::operator!= (const b_code &lhs, const b_code &rhs)
 free function comparator for b_code
 
bool bsoncxx::v_noabi::types::operator!= (const b_codewscope &lhs, const b_codewscope &rhs)
 free function comparator for b_codewscope
 
bool bsoncxx::v_noabi::types::operator!= (const b_date &lhs, const b_date &rhs)
 free function comparator for b_date
 
bool bsoncxx::v_noabi::types::operator!= (const b_dbpointer &lhs, const b_dbpointer &rhs)
 free function comparator for b_dbpointer
 
bool bsoncxx::v_noabi::types::operator!= (const b_decimal128 &lhs, const b_decimal128 &rhs)
 free function comparator for b_decimal128
 
bool bsoncxx::v_noabi::types::operator!= (const b_document &lhs, const b_document &rhs)
 free function comparator for b_document
 
bool bsoncxx::v_noabi::types::operator!= (const b_double &lhs, const b_double &rhs)
 free function comparator for b_double
 
bool bsoncxx::v_noabi::types::operator!= (const b_int32 &lhs, const b_int32 &rhs)
 free function comparator for b_int32
 
bool bsoncxx::v_noabi::types::operator!= (const b_int64 &lhs, const b_int64 &rhs)
 free function comparator for b_int64
 
bool bsoncxx::v_noabi::types::operator!= (const b_maxkey &lhs, const b_maxkey &rhs)
 free function comparator for b_maxkey
 
bool bsoncxx::v_noabi::types::operator!= (const b_minkey &lhs, const b_minkey &rhs)
 free function comparator for b_minkey
 
bool bsoncxx::v_noabi::types::operator!= (const b_null &lhs, const b_null &rhs)
 free function comparator for b_null
 
bool bsoncxx::v_noabi::types::operator!= (const b_oid &lhs, const b_oid &rhs)
 free function comparator for b_oid
 
bool bsoncxx::v_noabi::types::operator!= (const b_regex &lhs, const b_regex &rhs)
 free function comparator for b_regex
 
bool bsoncxx::v_noabi::types::operator!= (const b_string &lhs, const b_string &rhs)
 free function comparator for b_string
 
bool bsoncxx::v_noabi::types::operator!= (const b_symbol &lhs, const b_symbol &rhs)
 free function comparator for b_symbol
 
bool bsoncxx::v_noabi::types::operator!= (const b_timestamp &lhs, const b_timestamp &rhs)
 free function comparator for b_timestamp
 
bool bsoncxx::v_noabi::types::operator!= (const b_undefined &lhs, const b_undefined &rhs)
 free function comparator for b_undefined
 
bool bsoncxx::types::operator== (const v_noabi::types::b_array &lhs, const v_noabi::types::b_array &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_array& lhs, const v_noabi::types::b_array& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_binary &lhs, const v_noabi::types::b_binary &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_binary& lhs, const v_noabi::types::b_binary& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_bool &lhs, const v_noabi::types::b_bool &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_bool& lhs, const v_noabi::types::b_bool& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_code &lhs, const v_noabi::types::b_code &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_code& lhs, const v_noabi::types::b_code& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_codewscope &lhs, const v_noabi::types::b_codewscope &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_codewscope& lhs, const v_noabi::types::b_codewscope& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_date &lhs, const v_noabi::types::b_date &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_date& lhs, const v_noabi::types::b_date& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_dbpointer &lhs, const v_noabi::types::b_dbpointer &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_dbpointer& lhs, const v_noabi::types::b_dbpointer& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_decimal128 &lhs, const v_noabi::types::b_decimal128 &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_decimal128& lhs, const v_noabi::types::b_decimal128& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_document &lhs, const v_noabi::types::b_document &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_document& lhs, const v_noabi::types::b_document& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_double &lhs, const v_noabi::types::b_double &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_double& lhs, const v_noabi::types::b_double& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_int32 &lhs, const v_noabi::types::b_int32 &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_int32& lhs, const v_noabi::types::b_int32& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_int64 &lhs, const v_noabi::types::b_int64 &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_int64& lhs, const v_noabi::types::b_int64& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_maxkey &, const v_noabi::types::b_maxkey &)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_maxkey&, const v_noabi::types::b_maxkey&)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_minkey &, const v_noabi::types::b_minkey &)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_minkey&, const v_noabi::types::b_minkey&)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_null &, const v_noabi::types::b_null &)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_null&, const v_noabi::types::b_null&)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_oid &lhs, const v_noabi::types::b_oid &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_oid& lhs, const v_noabi::types::b_oid& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_regex &lhs, const v_noabi::types::b_regex &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_regex& lhs, const v_noabi::types::b_regex& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_string &lhs, const v_noabi::types::b_string &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_string& lhs, const v_noabi::types::b_string& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_symbol &lhs, const v_noabi::types::b_symbol &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_symbol& lhs, const v_noabi::types::b_symbol& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_timestamp &lhs, const v_noabi::types::b_timestamp &rhs)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_timestamp& lhs, const v_noabi::types::b_timestamp& rhs)
 
bool bsoncxx::types::operator== (const v_noabi::types::b_undefined &, const v_noabi::types::b_undefined &)
 bsoncxx::v_noabi::types::operator==(const v_noabi::types::b_undefined&, const v_noabi::types::b_undefined&)
 
bool bsoncxx::v_noabi::types::operator== (const b_array &lhs, const b_array &rhs)
 free function comparator for b_array
 
bool bsoncxx::v_noabi::types::operator== (const b_binary &lhs, const b_binary &rhs)
 free function comparator for b_binary
 
bool bsoncxx::v_noabi::types::operator== (const b_bool &lhs, const b_bool &rhs)
 free function comparator for b_bool
 
bool bsoncxx::v_noabi::types::operator== (const b_code &lhs, const b_code &rhs)
 free function comparator for b_code
 
bool bsoncxx::v_noabi::types::operator== (const b_codewscope &lhs, const b_codewscope &rhs)
 free function comparator for b_codewscope
 
bool bsoncxx::v_noabi::types::operator== (const b_date &lhs, const b_date &rhs)
 free function comparator for b_date
 
bool bsoncxx::v_noabi::types::operator== (const b_dbpointer &lhs, const b_dbpointer &rhs)
 free function comparator for b_dbpointer
 
bool bsoncxx::v_noabi::types::operator== (const b_decimal128 &lhs, const b_decimal128 &rhs)
 free function comparator for b_decimal128
 
bool bsoncxx::v_noabi::types::operator== (const b_document &lhs, const b_document &rhs)
 free function comparator for b_document
 
bool bsoncxx::v_noabi::types::operator== (const b_double &lhs, const b_double &rhs)
 free function comparator for b_double
 
bool bsoncxx::v_noabi::types::operator== (const b_int32 &lhs, const b_int32 &rhs)
 free function comparator for b_int32
 
bool bsoncxx::v_noabi::types::operator== (const b_int64 &lhs, const b_int64 &rhs)
 free function comparator for b_int64
 
bool bsoncxx::v_noabi::types::operator== (const b_maxkey &, const b_maxkey &)
 free function comparator for b_maxkey
 
bool bsoncxx::v_noabi::types::operator== (const b_minkey &, const b_minkey &)
 free function comparator for b_minkey
 
bool bsoncxx::v_noabi::types::operator== (const b_null &, const b_null &)
 free function comparator for b_null
 
bool bsoncxx::v_noabi::types::operator== (const b_oid &lhs, const b_oid &rhs)
 free function comparator for b_oid
 
bool bsoncxx::v_noabi::types::operator== (const b_regex &lhs, const b_regex &rhs)
 free function comparator for b_regex
 
bool bsoncxx::v_noabi::types::operator== (const b_string &lhs, const b_string &rhs)
 free function comparator for b_string
 
bool bsoncxx::v_noabi::types::operator== (const b_symbol &lhs, const b_symbol &rhs)
 free function comparator for b_symbol
 
bool bsoncxx::v_noabi::types::operator== (const b_timestamp &lhs, const b_timestamp &rhs)
 free function comparator for b_timestamp
 
bool bsoncxx::v_noabi::types::operator== (const b_undefined &, const b_undefined &)
 free function comparator for b_undefined
 
std::string bsoncxx::to_string (v_noabi::binary_sub_type rhs)
 bsoncxx::v_noabi::to_string(v_noabi::binary_sub_type rhs)
 
std::string bsoncxx::to_string (v_noabi::type rhs)
 bsoncxx::v_noabi::to_string(v_noabi::type rhs)
 
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.
 

Variables

BSONCXX_DEPRECATED typedef b_string bsoncxx::v_noabi::types::b_utf8
 Equivalent to b_string.