19 #include <bsoncxx/document/view.hpp> 20 #include <bsoncxx/stdx/optional.hpp> 22 #include <mongocxx/config/prelude.hpp> 25 MONGOCXX_INLINE_NAMESPACE_BEGIN
33 class MONGOCXX_API iterator;
70 iterator begin()
const;
104 bsoncxx::stdx::optional<bsoncxx::document::view> get_resume_token()
const;
114 class MONGOCXX_PRIVATE impl;
115 std::unique_ptr<impl> _impl;
121 using difference_type = std::int64_t;
123 using pointer = std::add_pointer<value_type>::type;
124 using reference = std::add_lvalue_reference<value_type>::type;
125 using iterator_category = std::input_iterator_tag;
166 void operator++(
int);
170 enum class iter_type { k_tracking, k_default_constructed, k_end };
191 MONGOCXX_PRIVATE
bool is_exhausted()
const;
195 const change_stream* _change_stream;
198 MONGOCXX_INLINE_NAMESPACE_END
201 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class representing a client connection to MongoDB.
Definition: client.hpp:57
Class representing a MongoDB database.
Definition: database.hpp:43
Definition: change_stream.hpp:31
Definition: change_stream.hpp:118
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:85