Module for outputting data in CSV format.
More...
#include "CSVOutputModule.h"
|
| | CSVOutputModule (const String &name="csvOutput", const Ref< DataPrinter > printer=nullptr) |
| | Constructor.
|
| |
|
| static Ref< Module > | makeNew (const String &name, const Properties &conf, const Properties &props, const Properties &globdat) |
| | Factory method for creating new CSVOutputModule instances.
|
| |
| static void | declare () |
| | Register CSVOutputModule type with ModuleFactory.
|
| |
|
|
| static const char * | TYPE_NAME = "CSVOutput" |
| | Module type name.
|
| |
Extends the standard OutputModule to enable CSV file output using a CSVDataPrinter. Provides comma-separated values format for data analysis and post-processing in external tools like Excel, MATLAB, or Python.
- See also
- CSVDataPrinter
◆ CSVOutputModule()
| CSVOutputModule::CSVOutputModule |
( |
const String & |
name = "csvOutput", |
|
|
const Ref< DataPrinter > |
printer = nullptr |
|
) |
| |
|
explicit |
- Parameters
-
| name | Module name |
| printer | Data printer for CSV output (will be always a new CSVDataPrinter Instance) |
◆ ~CSVOutputModule()
| CSVOutputModule::~CSVOutputModule |
( |
| ) |
|
|
protectedvirtual |
◆ declare()
| void CSVOutputModule::declare |
( |
| ) |
|
|
static |
◆ makeNew()
| Ref< Module > CSVOutputModule::makeNew |
( |
const String & |
name, |
|
|
const Properties & |
conf, |
|
|
const Properties & |
props, |
|
|
const Properties & |
globdat |
|
) |
| |
|
static |
- Parameters
-
| name | Module name |
| conf | Actually used configuration properties (output) |
| props | User-specified module properties |
| globdat | Global data container |
- Returns
- Reference to new CSVOutputModule instance
◆ TYPE_NAME
| const char * CSVOutputModule::TYPE_NAME = "CSVOutput" |
|
static |