MongoDB C++ Driver
legacy-1.1.2
|
DBClientCursorShim provides an abstract interface for providing polymorphic cursors. More...
#include <dbclientcursorshim.h>
DBClientCursorShim provides an abstract interface for providing polymorphic cursors.
When a shim is attached to a DBClientCursor, the shim intercepts next() and more() calls. These methods may call through to the underlying cursor object via rawNext() and rawMore(), or handle them entirely themselves.