#include <bsoncxx/v1/types/view.hpp>
BSON type value "JavaScript Code With Scope".
Public Member Functions | |
| b_codewscope ()=default | |
| Zero-initialize the represented value. | |
| b_codewscope (v1::stdx::string_view code, v1::document::view scope) | |
| Initialize with code and scope. | |
Public Attributes | |
| v1::stdx::string_view | code |
| The represented value's "$code" component. | |
| v1::document::view | scope |
| The represented value's "$scope" component. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_codewscope |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_codewscope const &lhs, b_codewscope const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_codewscope const &lhs, b_codewscope const &rhs) |
| Equivalent to lhs.code == rhs.code && lhs.scope == rhs.scope. | |
|
default |
Zero-initialize the represented value.
|
inline |
|
friend |
Equivalent to !(lhs == rhs).
|
friend |
Equivalent to lhs.code == rhs.code && lhs.scope == rhs.scope.
| v1::stdx::string_view bsoncxx::v1::types::b_codewscope::code |
The represented value's "$code" component.
| v1::document::view bsoncxx::v1::types::b_codewscope::scope |
The represented value's "$scope" component.
|
staticconstexpr |
The type represented by this BSON type value.