winIDEA SDK
isys::CCoverageFormatBase Class Reference

Description

This is abstract base class for coverage export format containers.

Clients should not instantiate this class directly, they should instantiate one of its derived classes. See inheritance diagram for list of available formats.

See also
CCoverageExportConfig::setFormatter()

#include <CCoverageController2.h>

Inheritance diagram for isys::CCoverageFormatBase:
isys::CCoverageCSVExportFormat isys::CCoverageGCOVExportFormat isys::CCoverageHTMLExportFormat isys::CCoverageTextExportFormat isys::CCoverageXMLExportFormat

Public Types

enum  EExportFormat {
  EFmtHTML , EFmtText ,
  EFmtXML , EFmtCSV ,
  EFmtGCOV
}
 This enum defines available export format for coverage measurements. More...
 

Public Member Functions

EExportFormat getExportFormat () const
 Returns coverage export format.
 
std::string getExportFormatAsStr () const
 Returns string containing export format, which can be used for setting of option /Document/<file name>/Coverage.Export.Format More...
 

Member Enumeration Documentation

◆ EExportFormat

This enum defines available export format for coverage measurements.

Enumerator
EFmtHTML 

export as HTML

EFmtText 

export as text

EFmtXML 

export as XML.

This format should be used if parsing data with CCoverageData2 is needed

EFmtCSV 

export as Comma Separated Values format

EFmtGCOV 

export in gcov (GNU coverage) format

Member Function Documentation

◆ getExportFormatAsStr()

std::string isys::CCoverageFormatBase::getExportFormatAsStr ( ) const

Returns string containing export format, which can be used for setting of option /Document/<file name>/Coverage.Export.Format

See also
getExportFormat()