#include <bsoncxx/v1/types/view.hpp>
BSON type value "DBPointer".
Public Member Functions | |
| b_dbpointer ()=default | |
| Zero-initialize the represented value. | |
| b_dbpointer (v1::stdx::string_view collection, v1::oid value) | |
| Initialize with collection and value. | |
Public Attributes | |
| v1::stdx::string_view | collection |
| The represented value's "$ref" (namespace) component. | |
| v1::oid | value |
| The represented value's "$id" (ObjectID) component. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_dbpointer |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_dbpointer const &lhs, b_dbpointer const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_dbpointer const &lhs, b_dbpointer const &rhs) |
| Equivalent to lhs.collection == rhs.collection && lhs.value == rhs.value. | |
|
default |
Zero-initialize the represented value.
|
inline |
Initialize with collection and value.
|
friend |
Equivalent to !(lhs == rhs).
|
friend |
Equivalent to lhs.collection == rhs.collection && lhs.value == rhs.value.
| v1::stdx::string_view bsoncxx::v1::types::b_dbpointer::collection |
The represented value's "$ref" (namespace) component.
|
staticconstexpr |
The type represented by this BSON type value.
| v1::oid bsoncxx::v1::types::b_dbpointer::value |
The represented value's "$id" (ObjectID) component.