MongoDB C++ Driver current
Loading...
Searching...
No Matches
Classes | Typedefs
bsoncxx::v_noabi::array Namespace Reference

Description

Declares entities representing a BSON array.

Classes

class  element
 A variant view type that accesses values in serialized BSON arrays. More...
 
class  value
 A read-only BSON array 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< view, value >
 Equivalent to v_noabi::view_or_value<v_noabi::array::view, v_noabi::array::value>.
 

Typedef Documentation

◆ view_or_value

Function Documentation

◆ operator!=() [1/2]

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

Convenience methods to compare for equality against a bson_value.

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

◆ operator!=() [2/2]

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

Convenience methods to compare for equality against a bson_value.

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

◆ operator==() [1/2]

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

Convenience methods to compare for equality against a bson_value.

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

◆ operator==() [2/2]

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

Convenience methods to compare for equality against a bson_value.

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