Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/BSONReader.h
Class for reading BSON from a Poco::BinaryReader
Member Functions: read, readCString
BSONReader(
const Poco::BinaryReader & reader
);
Constructor
virtual ~BSONReader();
Destructor
template < typename T > void read(
T & t
);
Reads the value from the reader. The default implementation uses the >> operator to the given argument. Special types can write their own version.
std::string readCString();
Reads a cstring from the reader. A cstring is a string terminated with a 0x00.