#include <bsoncxx/v1/types/view.hpp>
BSON type value "Regular Expression".
Public Member Functions | |
| b_regex ()=default | |
| Zero-initialize the represented value. | |
| b_regex (v1::stdx::string_view regex) | |
| Initialize with regex and an empty options. | |
| b_regex (v1::stdx::string_view regex, v1::stdx::string_view options) | |
| Initialize with regex and options. | |
Public Attributes | |
| v1::stdx::string_view | options |
| The represented value's "options" component. | |
| v1::stdx::string_view | regex |
| The represented value's "pattern" component. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_regex |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_regex const &lhs, b_regex const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_regex const &lhs, b_regex const &rhs) |
| Equivalent to lhs.regex == rhs.regex && lhs.options == rhs.options. | |
|
default |
Zero-initialize the represented value.
|
inlineexplicit |
|
inline |
Equivalent to lhs.regex == rhs.regex && lhs.options == rhs.options.
| v1::stdx::string_view bsoncxx::v1::types::b_regex::options |
The represented value's "options" component.
| v1::stdx::string_view bsoncxx::v1::types::b_regex::regex |
The represented value's "pattern" component.
|
staticconstexpr |
The type represented by this BSON type value.