winIDEA SDK
|
This class configures format of Text1 export.
It does not have methods for setting specific options, but two generic methods, which can be used to set/get ant option at URL /Document/<docName>/ProfilerExport
.Export.Text1.*
See winIDEA menu Help | Display Option ...
#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 | |
CProfilerText1ExportFormat () | |
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... | |
std::string | getOption (CProfilerController2SPtr &profiler, const std::string &option) |
Returns value of the given option from winIDEA settings. | |
CProfilerText1ExportFormatSPtr | setOption (CProfilerController2SPtr &profiler, const std::string &option, const std::string &value) |
Sets option specific to this export format. More... | |
virtual void | setOptions (CIDEController &ide, const std::string &docFileName) |
Sets export configuration options in winIDEA. | |
|
inherited |
|
inherited |
Returns string containing export format, which can be used for setting of option '/Document/<file name>/ProfilerExport.Scope.Type'.
CProfilerText1ExportFormatSPtr isys::CProfilerText1ExportFormat::setOption | ( | CProfilerController2SPtr & | profiler, |
const std::string & | option, | ||
const std::string & | value | ||
) |
Sets option specific to this export format.
Option is set immediately in this method - there is no need to call method setOptions().
profiler | opened profiler document controller |
option | option URL identifying Text1 export option, for example: 'FileHeader'. The URL prefix is automatically prepended by this method. See winIDEA Help | Display Option ..., document options. |
value | value to set. |