mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
Cleaning up code, add docs, add getMore sample ...
This commit is contained in:
@@ -44,10 +44,8 @@
|
||||
|
||||
#include <istream>
|
||||
|
||||
namespace Poco
|
||||
{
|
||||
namespace MongoDB
|
||||
{
|
||||
namespace Poco {
|
||||
namespace MongoDB {
|
||||
|
||||
|
||||
class MongoDB_API ResponseMessage : public Message
|
||||
@@ -56,7 +54,7 @@ class MongoDB_API ResponseMessage : public Message
|
||||
public:
|
||||
ResponseMessage();
|
||||
/// Constructor
|
||||
|
||||
|
||||
|
||||
virtual ~ResponseMessage();
|
||||
/// Destructor
|
||||
@@ -64,29 +62,30 @@ public:
|
||||
|
||||
void read(std::istream& istr);
|
||||
/// Reads the response from the stream
|
||||
|
||||
|
||||
|
||||
Document::Vector& documents();
|
||||
/// Returns the retrieved documents
|
||||
|
||||
|
||||
|
||||
Int64 cursorID() const;
|
||||
/// Returns the cursor id
|
||||
|
||||
|
||||
void clear();
|
||||
/// Clears the response
|
||||
|
||||
private:
|
||||
|
||||
Int32 _responseFlags;
|
||||
|
||||
|
||||
|
||||
|
||||
Int64 _cursorID;
|
||||
|
||||
|
||||
|
||||
|
||||
Int32 _startingFrom;
|
||||
|
||||
|
||||
|
||||
|
||||
Int32 _numberReturned;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user