WSF
src
wsf_plugins
wsf_coverage
source
WsfCoverageMeasureCSV_Output.hpp
Go to the documentation of this file.
1
// ****************************************************************************
2
// CUI
3
//
4
// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5
//
6
// Copyright 2020 Infoscitex, a DCS Company. All rights reserved.
7
//
8
// The use, dissemination or disclosure of data in this file is subject to
9
// limitation or restriction. See accompanying README and LICENSE for details.
10
// ****************************************************************************
11
12
#ifndef WSFCOVERAGEMEASURECSVOUTPUT_HPP
13
#define WSFCOVERAGEMEASURECSVOUTPUT_HPP
14
15
#include "wsf_coverage_export.h"
16
17
#include "
WsfCoverageMeasureTextOutput.hpp
"
18
19
namespace
wsf
20
{
21
namespace
coverage
22
{
23
25
class
WSF_COVERAGE_EXPORT
MeasureCSV_Output
:
public
MeasureTextOutput
26
{
27
public
:
28
MeasureCSV_Output
() =
default
;
29
explicit
MeasureCSV_Output
(std::unique_ptr<TextOutputWriter> aWriterPtr);
30
MeasureCSV_Output
(
const
MeasureCSV_Output
& aOther) =
default
;
31
~MeasureCSV_Output
()
override
=
default
;
32
33
MeasureCSV_Output
*
Clone
()
const override
{
return
new
MeasureCSV_Output
{*
this
}; }
34
35
std::string
GetOutputType
()
const override
{
return
cTYPE
; }
36
37
constexpr
static
const
char
*
cTYPE
{
"data"
};
38
39
private
:
40
void
WriteData(
const
Coverage
& aCoverage,
const
Measure
& aMeasure)
override
;
41
std::string DefaultFileSuffix()
const override
;
42
};
43
44
}
// namespace coverage
45
}
// namespace wsf
46
47
#endif
// WSFCOVERAGEMEASURECSVOUTPUT_HPP
WsfCoverageMeasureTextOutput.hpp
wsf::coverage::Coverage
Definition
WsfCoverage.hpp:57
wsf::coverage::MeasureCSV_Output::cTYPE
static constexpr const char * cTYPE
Definition
WsfCoverageMeasureCSV_Output.hpp:37
wsf::coverage::MeasureCSV_Output::MeasureCSV_Output
MeasureCSV_Output(const MeasureCSV_Output &aOther)=default
wsf::coverage::MeasureCSV_Output::MeasureCSV_Output
MeasureCSV_Output()=default
wsf::coverage::MeasureCSV_Output::Clone
MeasureCSV_Output * Clone() const override
Definition
WsfCoverageMeasureCSV_Output.hpp:33
wsf::coverage::MeasureCSV_Output::~MeasureCSV_Output
~MeasureCSV_Output() override=default
wsf::coverage::MeasureCSV_Output::GetOutputType
std::string GetOutputType() const override
Definition
WsfCoverageMeasureCSV_Output.hpp:35
wsf::coverage::MeasureTextOutput::MeasureTextOutput
MeasureTextOutput()
Definition
WsfCoverageMeasureTextOutput.cpp:30
wsf::coverage::Measure
Definition
WsfCoverageMeasure.hpp:43
wsf::coverage
Definition
WsfCoverage.cpp:35
wsf
Function definitions for those who need run-time access to the version.
Definition
WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved