#include <bsoncxx/v1/types/view.hpp>
BSON type value "Timestamp".
Public Member Functions | |
| b_timestamp ()=default | |
| Zero-initialize the represented value. | |
| b_timestamp (std::uint32_t increment, std::uint32_t timestamp) | |
| Initialize with increment and timestamp. | |
Public Attributes | |
| std::uint32_t | increment = {} |
| The represented value's "i" component. | |
| std::uint32_t | timestamp = {} |
| The represented value's "t" component. | |
Static Public Attributes | |
| static constexpr id | type_id = id::k_timestamp |
| The type represented by this BSON type value. | |
Friends | |
| bool | operator!= (b_timestamp const &lhs, b_timestamp const &rhs) |
| Equivalent to !(lhs == rhs). | |
| bool | operator== (b_timestamp const &lhs, b_timestamp const &rhs) |
| Equivalent to lhs.timestamp == rhs.timestamp. | |
|
default |
Zero-initialize the represented value.
|
inline |
|
friend |
Equivalent to !(lhs == rhs).
|
friend |
Equivalent to lhs.timestamp == rhs.timestamp.
| std::uint32_t bsoncxx::v1::types::b_timestamp::increment = {} |
The represented value's "i" component.
| std::uint32_t bsoncxx::v1::types::b_timestamp::timestamp = {} |
The represented value's "t" component.
|
staticconstexpr |
The type represented by this BSON type value.