MongoDB C++ Driver mongocxx-3.11.0
Loading...
Searching...
No Matches
bsoncxx::v_noabi::array::element Class Reference

#include <bsoncxx/v_noabi/bsoncxx/array/element.hpp>

Description

A variant view type that accesses values in serialized BSON arrays.

Element functions as a variant type, where the kind of the element can be interrogated by calling type() and a specific value can be extracted through get_X() accessors.

Related Symbols

(Note that these are not member symbols.)

bool operator== (const element &elem, const types::bson_value::view &v)
 Convenience methods to compare for equality against a bson_value.
 
bool operator== (const types::bson_value::view &v, const element &elem)
 Convenience methods to compare for equality against a bson_value.
 
bool operator!= (const element &elem, const types::bson_value::view &v)
 Convenience methods to compare for equality against a bson_value.
 
bool operator!= (const types::bson_value::view &v, const element &elem)
 Convenience methods to compare for equality against a bson_value.
 

Friends And Related Symbol Documentation

◆ operator!=() [1/2]

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

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!= ( const types::bson_value::view & v,
const element & elem )
related

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== ( const element & elem,
const types::bson_value::view & v )
related

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== ( const types::bson_value::view & v,
const element & elem )
related

Convenience methods to compare for equality against a bson_value.

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


The documentation for this class was generated from the following file: