19 #include <bsoncxx/document/view.hpp> 20 #include <bsoncxx/stdx/optional.hpp> 22 #include <mongocxx/config/prelude.hpp> 25 MONGOCXX_INLINE_NAMESPACE_BEGIN
31 class MONGOCXX_API iterator;
68 iterator begin()
const;
85 class MONGOCXX_PRIVATE impl;
86 std::unique_ptr<impl> _impl;
92 using difference_type = std::int64_t;
94 using pointer = std::add_pointer<value_type>::type;
95 using reference = std::add_lvalue_reference<value_type>::type;
96 using iterator_category = std::input_iterator_tag;
137 void operator++(
int);
141 enum class iter_type { k_tracking, k_default_constructed, k_end };
162 MONGOCXX_PRIVATE
bool is_exhausted()
const;
166 const change_stream* _change_stream;
169 MONGOCXX_INLINE_NAMESPACE_END
172 #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
Definition: change_stream.hpp:29
Definition: change_stream.hpp:89
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:87