winIDEA SDK
|
This class configures format of XML export.
#include <CProfilerController2.h>
Public Types | |
enum | EExportFormat { EFmtXML , EFmtText1 , EFmtBTF , EFmtMDF , EFmtHTML } |
This enum defines available export format for profiler measurements. More... | |
Public Member Functions | |
CProfilerXMLExportFormat () | |
Creates object with default values. | |
EExportFormat | getExportFormat () const |
Returns profiler export format. | |
std::string | getExportFormatAsStr () const |
Returns string containing export format, which can be used for setting of option '/Document/<file name>/ProfilerExport.Scope.Type'. More... | |
bool | isTimelineBinary () |
Returns true, if time-line will be exported in binary format. More... | |
bool | isUseIndent () |
Returns true, if indentation will be used in XML export. More... | |
void | setOptions (CIDEController &ide, const std::string &docFileName) override |
Writes options to winIDEA. | |
CProfilerXMLExportFormatSPtr | setTimelineBinary (bool isTimelineBinary) |
If set to true , and time-line export is enabled (see setSaveTimeline()), profiler areas and statistics are exported in XML format, while time-line is exported in separate file in binary format. More... | |
CProfilerXMLExportFormatSPtr | setUseIndent (bool isUseIndent) |
If set to true, XML file is produced with indented elements. More... | |
|
inherited |
|
inherited |
Returns string containing export format, which can be used for setting of option '/Document/<file name>/ProfilerExport.Scope.Type'.
|
inline |
Returns true, if time-line will be exported in binary format.
|
inline |
Returns true, if indentation will be used in XML export.
|
inline |
If set to true
, and time-line export is enabled (see setSaveTimeline()), profiler areas and statistics are exported in XML format, while time-line is exported in separate file in binary format.
For small amounts of data, and when human readability or printing is desired, leave this at default value (false
). For long recordings the binary export is much faster and files are much smaller. Binary file name is <origFileName>.BIN, for example myExport.xml.BIN
. Default: false.
isTimelineBinary | timeline setting |
|
inline |
If set to true, XML file is produced with indented elements.
This improves readability, but produces about 20% larger files. If files will be processed by tools, leave this setting at the default value. Default: false.