MongoDB C++ Driver 4.1.0
Loading...
Searching...
No Matches
bsoncxx::v_noabi::document Namespace Reference

Description

Declares entities representing a BSON document.

Classes

class  element
 A variant view type that accesses values in serialized BSON documents. More...
 
class  value
 A read-only BSON document that owns its underlying buffer. More...
 
class  view
 A read-only, non-owning view of a BSON document. More...
 

Typedefs

using view_or_value = v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value>
 Equivalent to v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value>.
 
bool operator== (element const &elem, types::bson_value::view const &v)
 Convenience methods to compare for equality against a bson_value.
 
bool operator== (types::bson_value::view const &v, element const &elem)
 Convenience methods to compare for equality against a bson_value.
 
bool operator!= (element const &elem, types::bson_value::view const &v)
 Convenience methods to compare for equality against a bson_value.
 
bool operator!= (types::bson_value::view const &v, element const &elem)
 Convenience methods to compare for equality against a bson_value.
 
bool operator== (element const &elem, types::bson_value::view const &v)
 Convenience methods to compare for equality against a bson_value.
 
bool operator== (types::bson_value::view const &v, element const &elem)
 Convenience methods to compare for equality against a bson_value.
 
bool operator!= (element const &elem, types::bson_value::view const &v)
 Convenience methods to compare for equality against a bson_value.
 
bool operator!= (types::bson_value::view const &v, element const &elem)
 Convenience methods to compare for equality against a bson_value.
 
bool operator== (value const &lhs, value const &rhs)
 Compares two document values for (in)-equality.
 
bool operator!= (value const &lhs, value const &rhs)
 Compares two document values for (in)-equality.
 
bool operator== (value const &lhs, value const &rhs)
 Compares two document values for (in)-equality.
 
bool operator!= (value const &lhs, value const &rhs)
 Compares two document values for (in)-equality.
 

Typedef Documentation

◆ view_or_value

Function Documentation

◆ operator!=() [1/6]

bool operator!= ( element const & elem,
types::bson_value::view const & v )

Convenience methods to compare for equality against a bson_value.

Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.

◆ operator!=() [2/6]

bool operator!= ( types::bson_value::view const & v,
element const & elem )

Convenience methods to compare for equality against a bson_value.

Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.

◆ operator!=() [3/6]

bool operator!= ( value const & lhs,
value const & rhs )
inline

Compares two document values for (in)-equality.

◆ operator==() [1/6]

bool operator== ( element const & elem,
types::bson_value::view const & v )

Convenience methods to compare for equality against a bson_value.

Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.

◆ operator==() [2/6]

bool operator== ( types::bson_value::view const & v,
element const & elem )

Convenience methods to compare for equality against a bson_value.

Compares equal if the element contains a matching bson_value. Otherwise, compares unequal.

◆ operator==() [3/6]

bool operator== ( value const & lhs,
value const & rhs )
inline

Compares two document values for (in)-equality.