Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract Class Reference

List of all members.

Public Member Functions

 AxlMetrics_Abstract ()
abstract IAXLangElement getAxlElement ()
abstract void metricResultsToCsv ()
 Write the metric results into a CSV structure.
void toCsvFile ()
 Write the built CSV structure to a file.

Protected Member Functions

void resetMetricsResult ()
 Initialize or reset the internal attributes which store the results of a metric execution It is used in the constructor and within the executes() method. This method should be called by each overriding method of a subclass.
abstract void setTheFileName ()
 sets the name of the CSV output file for this metrics. Should be overwritten by subclasses.

Protected Attributes

CsvFileWriter theCsvFileWriter
 The CSV builder and writer.
String theFileName
 The name of the output file (without path and without file extension).

Static Protected Attributes

static String OUTPUTSUBFOLDER_STRING = "metrics"
 the name of the output subfolder for csv files

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.AxlMetrics_Abstract (  ) 

Member Function Documentation

abstract IAXLangElement de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.getAxlElement (  )  [pure virtual]
abstract void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.metricResultsToCsv (  )  [pure virtual]
void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.resetMetricsResult (  )  [protected]

Initialize or reset the internal attributes which store the results of a metric execution It is used in the constructor and within the executes() method. This method should be called by each overriding method of a subclass.

Reimplemented in de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_Abstract, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_ApplicationModel, de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_StructureCounts_FeatureModel, and de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_VariabilityInfluence.

abstract void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.setTheFileName (  )  [protected, pure virtual]
void de.fraunhofer.isst.axbench.operations.metrics.AxlMetrics_Abstract.toCsvFile (  ) 

Write the built CSV structure to a file.

Parameters:
outputSubfolder 
fileName 

Member Data Documentation

the name of the output subfolder for csv files

The CSV builder and writer.

The name of the output file (without path and without file extension).