|
MongoDB C++ Driver 4.1.4
|
#include <bsoncxx/v_noabi/bsoncxx/types/bson_value/view.hpp>
A non-owning variant that can contain any BSON type.
Public Member Functions | |
| view () noexcept | |
| Default constructs a bson_value::view. The resulting view will be initialized to point at a bson_value of type k_null. | |
| b_array const & | get_array () const |
| Returns the underlying BSON array value. | |
| b_binary const & | get_binary () const |
| Returns the underlying BSON binary data value. | |
| b_bool const & | get_bool () const |
| Returns the underlying BSON boolean value. | |
| b_code const & | get_code () const |
| Returns the underlying BSON JavaScript code value. | |
| b_codewscope const & | get_codewscope () const |
| Returns the underlying BSON JavaScript code with scope value. | |
| b_date const & | get_date () const |
| Returns the underlying BSON date value. | |
| b_dbpointer const & | get_dbpointer () const |
| Returns the underlying BSON DBPointer value. | |
| b_decimal128 const & | get_decimal128 () const |
| Returns the underlying BSON Decimal128 value. | |
| b_document const & | get_document () const |
| Returns the underlying BSON document value. | |
| b_double const & | get_double () const |
| Returns the underlying BSON double value. | |
| b_int32 const & | get_int32 () const |
| Returns the underlying BSON 32-bit signed integer value. | |
| b_int64 const & | get_int64 () const |
| Returns the underlying BSON 64-bit signed integer value. | |
| b_maxkey const & | get_maxkey () const |
| Returns the underlying BSON max-key value. | |
| b_minkey const & | get_minkey () const |
| Returns the underlying BSON min-key value. | |
| b_null const & | get_null () const |
| Returns the underlying BSON null value. | |
| b_oid const & | get_oid () const |
| Returns the underlying BSON ObjectId value. | |
| b_regex const & | get_regex () const |
| Returns the underlying BSON regex value. | |
| b_string const & | get_string () const |
| Returns the underlying BSON UTF-8 string value. | |
| b_symbol const & | get_symbol () const |
| Returns the underlying BSON symbol value. | |
| b_timestamp const & | get_timestamp () const |
| Returns the underlying BSON replication timestamp value. | |
| b_undefined const & | get_undefined () const |
| Returns the underlying BSON undefined value. | |
| bsoncxx::v_noabi::type | type () const |
| Returns the type of the underlying BSON value stored in this object. | |
| view (b_double v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_string v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_document v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_array v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_binary v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_undefined v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_oid v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_bool v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_date v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_null v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_regex v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_dbpointer v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_code v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_symbol v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_codewscope v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_int32 v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_timestamp v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_int64 v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_decimal128 v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_maxkey v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
| view (b_minkey v) noexcept | |
| Construct a bson_value::view from the provided BSON type. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| bool | operator== (bson_value::view const &, bson_value::view const &) |
| Compare two bson_value::views for equality. | |
| bool | operator!= (bson_value::view const &, bson_value::view const &) |
| Compare two bson_value::views for equality. | |
| template<typename T> | |
| detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator== (bson_value::view const &lhs, T &&rhs) |
| Compares a view with a type representable as a view. | |
| template<typename T> | |
| detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator== (T &&lhs, bson_value::view const &rhs) |
| Compares a view with a type representable as a view. | |
| template<typename T> | |
| detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator!= (bson_value::view const &lhs, T &&rhs) |
| Compares a view with a type representable as a view. | |
| template<typename T> | |
| detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator!= (T &&lhs, bson_value::view const &rhs) |
| Compares a view with a type representable as a view. | |
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
explicitnoexcept |
Construct a bson_value::view from the provided BSON type.
|
noexcept |
Default constructs a bson_value::view. The resulting view will be initialized to point at a bson_value of type k_null.
| b_array const & bsoncxx::v_noabi::types::bson_value::view::get_array | ( | ) | const |
Returns the underlying BSON array value.
| b_binary const & bsoncxx::v_noabi::types::bson_value::view::get_binary | ( | ) | const |
Returns the underlying BSON binary data value.
| b_bool const & bsoncxx::v_noabi::types::bson_value::view::get_bool | ( | ) | const |
Returns the underlying BSON boolean value.
| b_code const & bsoncxx::v_noabi::types::bson_value::view::get_code | ( | ) | const |
Returns the underlying BSON JavaScript code value.
| b_codewscope const & bsoncxx::v_noabi::types::bson_value::view::get_codewscope | ( | ) | const |
Returns the underlying BSON JavaScript code with scope value.
| b_date const & bsoncxx::v_noabi::types::bson_value::view::get_date | ( | ) | const |
Returns the underlying BSON date value.
| b_dbpointer const & bsoncxx::v_noabi::types::bson_value::view::get_dbpointer | ( | ) | const |
Returns the underlying BSON DBPointer value.
| b_decimal128 const & bsoncxx::v_noabi::types::bson_value::view::get_decimal128 | ( | ) | const |
Returns the underlying BSON Decimal128 value.
| b_document const & bsoncxx::v_noabi::types::bson_value::view::get_document | ( | ) | const |
Returns the underlying BSON document value.
| b_double const & bsoncxx::v_noabi::types::bson_value::view::get_double | ( | ) | const |
Returns the underlying BSON double value.
| b_int32 const & bsoncxx::v_noabi::types::bson_value::view::get_int32 | ( | ) | const |
Returns the underlying BSON 32-bit signed integer value.
| b_int64 const & bsoncxx::v_noabi::types::bson_value::view::get_int64 | ( | ) | const |
Returns the underlying BSON 64-bit signed integer value.
| b_maxkey const & bsoncxx::v_noabi::types::bson_value::view::get_maxkey | ( | ) | const |
Returns the underlying BSON max-key value.
| b_minkey const & bsoncxx::v_noabi::types::bson_value::view::get_minkey | ( | ) | const |
Returns the underlying BSON min-key value.
| b_null const & bsoncxx::v_noabi::types::bson_value::view::get_null | ( | ) | const |
Returns the underlying BSON null value.
| b_oid const & bsoncxx::v_noabi::types::bson_value::view::get_oid | ( | ) | const |
Returns the underlying BSON ObjectId value.
| b_regex const & bsoncxx::v_noabi::types::bson_value::view::get_regex | ( | ) | const |
Returns the underlying BSON regex value.
| b_string const & bsoncxx::v_noabi::types::bson_value::view::get_string | ( | ) | const |
Returns the underlying BSON UTF-8 string value.
| b_symbol const & bsoncxx::v_noabi::types::bson_value::view::get_symbol | ( | ) | const |
Returns the underlying BSON symbol value.
| b_timestamp const & bsoncxx::v_noabi::types::bson_value::view::get_timestamp | ( | ) | const |
Returns the underlying BSON replication timestamp value.
| b_undefined const & bsoncxx::v_noabi::types::bson_value::view::get_undefined | ( | ) | const |
Returns the underlying BSON undefined value.
| bsoncxx::v_noabi::type bsoncxx::v_noabi::types::bson_value::view::type | ( | ) | const |
Returns the type of the underlying BSON value stored in this object.
|
friend |
Compare two bson_value::views for equality.
|
Compares a view with a type representable as a view.
|
Compares a view with a type representable as a view.
|
friend |
Compare two bson_value::views for equality.
|
Compares a view with a type representable as a view.
|
Compares a view with a type representable as a view.