264 return !(lhs == rhs);
A non-owning, read-only BSON document.
Definition view.hpp:52
An iterator over the results of an associated cursor.
Definition cursor.hpp:147
friend bool operator!=(iterator const &lhs, iterator const &rhs)
Equivalent to !(lhs == rhs).
Definition cursor.hpp:263
iterator & operator++()
Increment this iterator.
iterator(iterator &&other) noexcept
Move construction.
value_type const * pointer
Provide std::iterator_traits<T>::pointer.
Definition cursor.hpp:170
~iterator()
Destroy this object.
bsoncxx::v1::document::view value_type
Provide std::iterator_traits<T>::value_type.
Definition cursor.hpp:160
std::ptrdiff_t difference_type
Provide std::iterator_traits<T>::difference_type.
Definition cursor.hpp:165
std::input_iterator_tag iterator_category
Provide std::iterator_traits<T>::iterator_category.
Definition cursor.hpp:155
friend bool operator==(iterator const &lhs, iterator const &rhs)
Equality comparison.
value_type reference
Provide std::iterator_traits<T>::reference.
Definition cursor.hpp:175
cursor(cursor &&other) noexcept
Move constructor.
type
Enumeration identifying the type of the cursor.
Definition cursor.hpp:48
@ k_tailable_await
A tailable "awaitData" cursor.
Definition cursor.hpp:65
@ k_non_tailable
A non-tailable cursor.
Definition cursor.hpp:53
@ k_tailable
A tailable cursor.
Definition cursor.hpp:59
iterator end() const
Return an end iterator.
Definition cursor.hpp:273
iterator begin()
Return an iterator over the results of the associated cursor.
~cursor()
Destroy this object.
Provides macros to control the set of symbols exported in the ABI.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v1 macro guard postlude header.
The mongocxx v1 macro guard prelude header.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v1::cursor.
Declares bsoncxx::v1::document::view.