libmongo-client  0.1.6.1
 All Data Structures Functions Variables Enumerations Enumerator Groups Pages
Data Fields
bson_cursor Struct Reference

Opaque BSON cursor. More...

Data Fields

const bson * obj
 The BSON object this is a cursor for. More...
 
const gchar * key
 
     Pointer within the BSON object to the

current key. More...

 
size_t pos
 
      Position within the BSON object, pointing at the

element type. More...

 
size_t value_pos
 
      The start of the value within the BSON

object, pointing right after the end of the key. More...

 

Detailed Description

Opaque BSON cursor.

BSON cursor structure.

Cursors are used to represent a single entry within a BSON object, and to help iterating over said document.

Field Documentation

const gchar* bson_cursor::key

     Pointer within the BSON object to the

current key.

const bson* bson_cursor::obj

The BSON object this is a cursor for.

size_t bson_cursor::pos

      Position within the BSON object, pointing at the

element type.

size_t bson_cursor::value_pos

      The start of the value within the BSON

object, pointing right after the end of the key.