uma::bson は、BSON データの読み取り/書き込み用の DOM スタイル C++ API です。読み取り専用インターフェイス BSON 表現を作成するためには、別のインターフェイスを公開します、MongoDB C++ API とは異なりこの API は、既存のデータに読み取り/書き込みできます。API は、直列 deserialising BSON データ ストリーム (ファイル、ソケット接続) からの主に設計されています。
Object::setValue is no longer purely virtual. The default implementation of Object::setValue is based on a reference returned by Object::getValue. This release fixes a bug in Document::remove and makes it return copy instead of reference. It updates Array::remove to return copy instead of reference. It adds an ObjectId::setBytes method to allow updating an ObjectId instance.
This release adds a Document::isEquivalentTo method to compare two documents for equivalence, where two documents have the same elements but in different order (in contrast to equality check, which requires the same element ordering). It fixes a bug in BinaryData::getSize implementation where it was not reporting the 5 extra bytes (4 for the length of the binary data and 1 for the binary data type) included in the BSON representation. It refactors BinaryData to use a PIMPL to allow for efficient pass-by-value semantics.
Windows 7 MSVC 2010 を使用して 32 ビット モードでほぼ独占的に開発されている再設計とリファクタリング後の API。API は、ほとんど以前の 1.3 リリースは、唯一のいくつかの変更と同じです。実装はいくつかのケースでは多くの異なるですが、ユーザーに対して透過的にする必要があります。現在のリリースは Mac OS X 10.8 LLVM 3.1 64 ビット モード、Solaris 11 GCC 4.7.2 32 ビットと 64 ビット モード、MSVC 2010 と 2012 32 と 64 ビット モードの Windows でテストされています。
タグ:
Major
A redesigned and refactored API that has been developed almost exclusively on Windows 7 using MSVC 2010 in 32-bit mode. The API is mostly the same as the previous 1.3 release, with only a few changes. The implementation is in some cases a lot different, but should be transparent to the user. The current release has been tested on Mac OS X 10.8, LLVM 3.1 64 bit mode, Solaris 11 GCC 4.7.2 32- and 64-bit mode, and Windows with MSVC 2010 and 2012 in 32- and 64-bit mode.