Télécharger la liste

Description du projet

uma::bson is a DOM-style C++ API for reading/writing BSON data. Unlike the MongoDB C++ API, which exposes a read-only interface with a separate interface for creating a BSON representation, this API allows reading/writing on the existing data. The API is designed primarily for serialising/deserialising BSON data to/from streams (files, socket connections, etc.).

Système requise

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2012-12-18 07:14 Retour à la liste release
2.1

Cette version ajoute une méthode de Document::isEquivalentTo pour comparer deux documents pour l'équivalence, où les deux documents ont les mêmes éléments, mais dans un ordre différent (par opposition à la vérification de l'égalité, qui exige le même élément de commande). Il corrige un bug dans la mise en œuvre de BinaryData::getSize où il ne signalait pas les 5 octets supplémentaires (4 pour la longueur des données binaires) et 1 pour le type de données binaires inclus dans la représentation BSON. Il refactorise BinaryData pour utiliser un PIMPL permettant efficace passés par valeur sémantique.
Tags: Minor
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.

Project Resources