![]() |
NDEVR
API Documentation
|
Creates a JSON data structure that can be used for generating a report in MSWord. More...
Public Member Functions | |
| ReportJSONMaker (QTModelManager *manager) | |
| Constructs a report JSON maker for the given model manager. | |
| void | addProjectUnits () |
| Adds project unit information to the JSON structure. | |
| void | setTemplate (const ReportTemplate &report_template, JSONNode &node) |
| Sets the report template data into a JSON node. | |
| JSONNode & | templateRoot () |
| Retrieves the template root node within the JSON structure. | |
Public Attributes | |
| QTModelManager * | manager |
| The model manager providing data for the report. | |
| JSONNode | root |
| The root JSON node of the report data. | |
Creates a JSON data structure that can be used for generating a report in MSWord.
Definition at line 44 of file ReportIterator.h.
| ReportJSONMaker::ReportJSONMaker | ( | QTModelManager * | manager | ) |
| void ReportJSONMaker::setTemplate | ( | const ReportTemplate & | report_template, |
| JSONNode & | node ) |
Sets the report template data into a JSON node.
| [in] | report_template | The report template to apply. |
| [in] | node | The JSON node to populate with template data. |
| JSONNode & ReportJSONMaker::templateRoot | ( | ) |
Retrieves the template root node within the JSON structure.