#include <bsoncxx/v1/types/view.hpp>
BSON type value "32-bit Integer".
Public Member Functions | |
| b_int32 ()=default | |
| Zero-initialize the represented value. | |
| b_int32 (std::int32_t value) | |
| Initialize with value. | |
Public Attributes | |
| std::int32_t | value = {} |
| The represented value. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_int32 |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_int32 const &lhs, b_int32 const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_int32 const &lhs, b_int32 const &rhs) |
| Equivalent to lhs.value == rhs.value. | |
|
default |
Zero-initialize the represented value.
|
inlineexplicit |
Initialize with value.
Equivalent to lhs.value == rhs.value.
|
staticconstexpr |
The type represented by this BSON type value.
| std::int32_t bsoncxx::v1::types::b_int32::value = {} |
The represented value.