268 return !(lhs == rhs);
A non-owning, read-only BSON document.
Definition view.hpp:54
An iterator over the results of an associated cursor.
Definition cursor.hpp:151
friend bool operator!=(iterator const &lhs, iterator const &rhs)
Equivalent to !(lhs == rhs).
Definition cursor.hpp:267
iterator & operator++()
Increment this iterator.
iterator(iterator &&other) noexcept
Move construction.
value_type const * pointer
Provide std::iterator_traits<T>::pointer.
Definition cursor.hpp:174
~iterator()
Destroy this object.
bsoncxx::v1::document::view value_type
Provide std::iterator_traits<T>::value_type.
Definition cursor.hpp:164
std::ptrdiff_t difference_type
Provide std::iterator_traits<T>::difference_type.
Definition cursor.hpp:169
std::input_iterator_tag iterator_category
Provide std::iterator_traits<T>::iterator_category.
Definition cursor.hpp:159
friend bool operator==(iterator const &lhs, iterator const &rhs)
Equality comparison.
value_type reference
Provide std::iterator_traits<T>::reference.
Definition cursor.hpp:179
cursor(cursor &&other) noexcept
Move constructor.
type
Enumeration identifying the type of the cursor.
Definition cursor.hpp:50
@ k_tailable_await
A tailable "awaitData" cursor.
Definition cursor.hpp:67
@ k_non_tailable
A non-tailable cursor.
Definition cursor.hpp:55
@ k_tailable
A tailable cursor.
Definition cursor.hpp:61
iterator end() const
Return an end iterator.
Definition cursor.hpp:277
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.