Mangrove
The C++ Object Document Mapper for MongoDB
List of all members
boson::UnderlyingBSONDataBase Class Reference

A base class that holds a shared_ptr to the binary data for a BSON document. More...

#include <bson_archiver.hpp>

Detailed Description

A base class that holds a shared_ptr to the binary data for a BSON document.

If a class you are serializing contains any of the bsoncxx view types (b_utf8, b_document, b_array, b_binary), you must have that class inherit this base so that the views don't point to deallocated memory.

When using the BSONInputArchive to deserialize a class that inherits from this base, the data will be automatically loaded into this class using setUnderlyingBSONData().


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