This class configures format of CSV export. More...
#include <CTraceController.h>
Public Types | |
| enum | EExportFormat { EFmtText , EFmtCSV , EFmtBinary , EFmtXML } |
| This enum defines constants for export formats. More... | |
Public Member Functions | |
| CTraceCSVExportFormat () | |
| Creates object with default values. | |
| EExportFormat | getExportFormat () |
| Returns value used for option /TraceExport.Type. | |
| virtual std::string | getExportFormatAsStr () |
| Returns string with export format, suitable for setting winIDEA trace export format option. | |
| std::string | getSeparator () |
| Returns CSV field separator. | |
| bool | isColumnHeaders () |
| Returns true, if column headers will be present in export file. | |
| int | isFunctionTree () |
| CTraceCSVExportFormatSPtr | setColumnHeaders (bool isColumnHeaders) |
| Defines if column headers should be written to file. | |
| CTraceCSVExportFormatSPtr | setFunctionTree (bool isFunctionTree) |
| void | setOptions (CIDEController &ide, const std::string &docFileName) |
| Writes options to winIDEA. | |
| CTraceCSVExportFormatSPtr | setSeparator (const std::string &separator) |
| Sets CSV field separator. | |
This class configures format of CSV export.
|
inherited |
|
inline |
|
inline |
Defines if column headers should be written to file.
Default: true.
|
inline |
|
inlinevirtual |
Writes options to winIDEA.
This method is automatically called by CTraceController::exportData(). This method sets only configuration for Text format, but does not set trace export format to Text (modifies only options '/Document/<fname>/TraceExport.Text.*').
| ide | ide controller |
| docFileName | document file name relative to winIDEA workspace location |
Implements isys::CTraceFormatBase.
|
inline |
Sets CSV field separator.
Default: ','.