The constructor of the BsonGenerator class.
The structure model: the generated code will depend on it.
The config model: the generated code will not actually depend on it.
The generated code.
The template comment that this generator handles.
The config model: the generated code could depend on it.
The current depth of the structure model.
The current nested for depth.
The current indentation as number of tabs.
A stack of inspected keys.
The structure model: the generated code could depend on it.
The current key (0 if an array, the key if an object).
Returns the generated Code object.
The string of indentation tabs, dependent by the indentation field.
The string of indentation tabs.
The max depth of the structure model.
The current bson object name, dependent on the current depth.
The current for counter name, dependent of the structure model.
Given the current inspected keys, returns the string that in c access that property.
Given the structure model generates the C code that translates it to bson.
The structure model.
The function that generates the code and assigns it to the code field.
Returns the maximum depth of the given structure model.
The structure model to analyze.
The maximum depth of the given structure model.
Given the structure model generates the C code that translates it to bson.
The structure model or one of its nested property values.
Given an array vlaue, prints the code that translates it to bson.
The array value.
Parses a key to a string.
The key to parse to a string.
The key parsed to a string.
Given an object vlaue, prints the code that translates it to bson.
The object value.
Given a primitive vlaue, prints the code that translates it to bson.
The primitive value.
Prints a line of generated code, fomatting it with the indentation and adding it to the code field.
The line to print.
Generated using TypeDoc
The BsonGenerator class, extending the Generator class and generating the code that creates from a data structure its bson object.