WSF
wsf::coverage::MeasureGridStatsOutput Class Reference

#include <WsfCoverageMeasureGridStatsOutput.hpp>

Inheritance diagram for wsf::coverage::MeasureGridStatsOutput:
Collaboration diagram for wsf::coverage::MeasureGridStatsOutput:

Public Member Functions

 MeasureGridStatsOutput ()=default
 MeasureGridStatsOutput (std::unique_ptr< TextOutputWriter > aWriterPtr)
 MeasureGridStatsOutput (const MeasureGridStatsOutput &aOther)=default
 ~MeasureGridStatsOutput () override=default
MeasureGridStatsOutputClone () const override
std::string GetOutputType () const override
Public Member Functions inherited from wsf::coverage::MeasureTextOutput
 MeasureTextOutput ()
 MeasureTextOutput (std::unique_ptr< TextOutputWriter > aWriterPtr)
 MeasureTextOutput (const MeasureTextOutput &aOther)=default
 ~MeasureTextOutput () override=default
bool ProcessInput (UtInput &aInput) override
void Write (const Coverage &aCoverage, const Measure &aMeasure) override
void SetFileNameToDefault (const Coverage &aCoverage, const Measure &aMeasure) override
TextOutputWriterGetWriter ()
 Return the writer being used by this object.
Public Member Functions inherited from wsf::coverage::MeasureOutput
 MeasureOutput ()=default
 MeasureOutput (const MeasureOutput &aOther)=default
 ~MeasureOutput () override=default
const std::string & GetFileName () const
 Return the file name into which output will be written.
const std::string & GetOutputDir () const
 Return the directory into which any files will be generated.
void SetFileName (const std::string &aFileName)
 Set the file name into which output will be written.
void SetOutputDir (const std::string &aOutputDir)
 Set the directory into which any files will be generated.
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Static Public Attributes

static constexpr const char * cTYPE {"grid_stats"}

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Constructor & Destructor Documentation

◆ MeasureGridStatsOutput() [1/3]

wsf::coverage::MeasureGridStatsOutput::MeasureGridStatsOutput ( )
default

◆ MeasureGridStatsOutput() [2/3]

wsf::coverage::MeasureGridStatsOutput::MeasureGridStatsOutput ( std::unique_ptr< TextOutputWriter > aWriterPtr)
explicit

◆ MeasureGridStatsOutput() [3/3]

wsf::coverage::MeasureGridStatsOutput::MeasureGridStatsOutput ( const MeasureGridStatsOutput & aOther)
default

◆ ~MeasureGridStatsOutput()

wsf::coverage::MeasureGridStatsOutput::~MeasureGridStatsOutput ( )
overridedefault

Member Function Documentation

◆ Clone()

MeasureGridStatsOutput * wsf::coverage::MeasureGridStatsOutput::Clone ( ) const
inlineoverridevirtual

Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.

Implements wsf::coverage::MeasureOutput.

References MeasureGridStatsOutput().

◆ GetOutputType()

std::string wsf::coverage::MeasureGridStatsOutput::GetOutputType ( ) const
inlineoverridevirtual

Return a string identifying the kind of output.

This will match the identifier used in the input file for this output type.

Returns
- A string identifier for this output type.

Implements wsf::coverage::MeasureOutput.

References cTYPE.

Member Data Documentation

◆ cTYPE

const char* wsf::coverage::MeasureGridStatsOutput::cTYPE {"grid_stats"}
staticconstexpr

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved