#include <bsoncxx/v1/types/view.hpp>
BSON type value "JavaScript Code".
Public Member Functions | |
| b_code ()=default | |
| Zero-initialize the represented value. | |
| b_code (v1::stdx::string_view code) | |
| Initialize with code. | |
| operator v1::stdx::string_view () const | |
| Implicitly convert to code. | |
Public Attributes | |
| v1::stdx::string_view | code |
| The represented value. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_code |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_code const &lhs, b_code const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_code const &lhs, b_code const &rhs) |
| Equivalent to lhs.code == rhs.code. | |
|
default |
Zero-initialize the represented value.
|
inlineexplicit |
Initialize with code.
|
inline |
Implicitly convert to code.
Equivalent to lhs.code == rhs.code.
| v1::stdx::string_view bsoncxx::v1::types::b_code::code |
The represented value.
|
staticconstexpr |
The type represented by this BSON type value.