SequoiaDB
 All Classes Files Functions Variables Enumerations Enumerator
Public Attributes | List of all members
bson Struct Reference

Public Attributes

char * data
 Pointer to a block of data in this BSON object.
 
char * cur
 Pointer to the current position.
 
int dataSize
 The number of bytes allocated to char *data.
 
bson_bool_t finished
 When finished, the BSON object can no longer be modified.
 
int stack [BSON_MAX_STACK_SIZE]
 A stack used to keep track of nested BSON elements.
 
char stackType [BSON_MAX_STACK_SIZE]
 A stack used to keep track of nested BSON types.
 
int stackPos
 Index of current stack position.
 
int err
 Bitfield representing errors or warnings on this buffer.
 
char * errstr
 A string representation of the most recent error or warning.
 
int ownmem
 Own mem represent whether the data is pointing to a our own memory.
 

Member Data Documentation

char* bson::cur

Pointer to the current position.

char* bson::data

Pointer to a block of data in this BSON object.

int bson::dataSize

The number of bytes allocated to char *data.

char* bson::errstr

A string representation of the most recent error or warning.

bson_bool_t bson::finished

When finished, the BSON object can no longer be modified.

int bson::stack[BSON_MAX_STACK_SIZE]

A stack used to keep track of nested BSON elements.

int bson::stackPos

Index of current stack position.

char bson::stackType[BSON_MAX_STACK_SIZE]

A stack used to keep track of nested BSON types.


The documentation for this struct was generated from the following file: