123 std::unique_ptr<impl> _impl;
132 using difference_type = std::int64_t;
134 using pointer = std::add_pointer<value_type>::type;
135 using reference = std::add_lvalue_reference<value_type>::type;
136 using iterator_category = std::input_iterator_tag;
213 enum class iter_type { k_tracking, k_default_constructed, k_end };
217 bool is_exhausted()
const;
Declares mongocxx::v_noabi::change_stream.
A read-only, non-owning view of a BSON document.
Definition view.hpp:35
A MongoDB change stream iterator.
Definition change_stream.hpp:129
iterator()
Default-construct an iterator. Default-constucted iterators can be compared (all default-constructed ...
change_stream(change_stream &&other) noexcept
Move constructs a change_stream.
A MongoDB change stream iterator.
Definition change_stream.hpp:129
iterator()
Default-construct an iterator. Default-constucted iterators can be compared (all default-constructed ...
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > get_resume_token() const
Returns a resume token for this change stream.
iterator end() const
A change_stream::iterator indicating stream exhaustion, meaning that no notifications are available f...
iterator begin() const
A change_stream::iterator points to the beginning of any available notifications. Each call to begin(...
change_stream(change_stream &&other) noexcept
Move constructs a change_stream.
A client connection to a MongoDB server.
Definition client.hpp:61
A MongoDB collection.
Definition collection.hpp:87
A MongoDB database.
Definition database.hpp:46
Declares mongocxx::v_noabi::client.
Declares mongocxx::v_noabi::collection.
Declares mongocxx::v_noabi::database.
Provides bsoncxx::v_noabi::document::view.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Provides std::optional-related polyfills for library API usage.