|
WSF
|
A class that performs output of the measured data. More...
#include <WsfCoverageMeasureOutput.hpp>


Public Member Functions | |
| MeasureOutput ()=default | |
| MeasureOutput (const MeasureOutput &aOther)=default | |
| ~MeasureOutput () override=default | |
| MeasureOutput * | Clone () const override=0 |
| bool | ProcessInput (UtInput &aInput) override |
| virtual void | Write (const Coverage &aCoverage, const Measure &aMeasure)=0 |
| virtual void | SetFileNameToDefault (const Coverage &aCoverage, const Measure &aMeasure)=0 |
| virtual std::string | GetOutputType () const =0 |
| 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 TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (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) |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
A class that performs output of the measured data.
|
default |
|
default |
References MeasureOutput().
|
overridedefault |
|
overridepure virtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfObject.
Implemented in wsf::coverage::MeasureCSV_Output, wsf::coverage::MeasureGridStatsOutput, and wsf::coverage::MeasureLatLonStatsOutput.
References MeasureOutput().
|
inline |
Return the file name into which output will be written.
Referenced by wsf::coverage::MeasureTextOutput::SetFileNameToDefault(), and wsf::coverage::MeasureTextOutput::Write().
|
inline |
Return the directory into which any files will be generated.
Referenced by wsf::coverage::MeasureTextOutput::Write().
|
pure virtual |
Return a string identifying the kind of output.
This will match the identifier used in the input file for this output type.
Implemented in wsf::coverage::MeasureCSV_Output, wsf::coverage::MeasureGridStatsOutput, and wsf::coverage::MeasureLatLonStatsOutput.
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfObject.
Reimplemented in wsf::coverage::MeasureTextOutput.
Referenced by wsf::coverage::MeasureTextOutput::ProcessInput().
|
inline |
Set the file name into which output will be written.
Referenced by wsf::coverage::MeasureTextOutput::SetFileNameToDefault().
|
pure virtual |
Set the filename to a default value that is reasonably unique.
To avoid the user having to manually set the name of every file, MeasureOutput provides an automatic naming feature. Subclasses should implement this so that the default names have a reasonable chance of being unique.
| aCoverage | - The coverage object defining the measure. |
| aMeasure | - The measure to be output. |
Implemented in wsf::coverage::MeasureTextOutput.
|
inline |
Set the directory into which any files will be generated.
|
pure virtual |
Write the measured data out.
The subclass is responsible for implementing this in the way that produces the output required for that subclass.
| aCoverage | - The coverage object defining the measure. |
| aMeasure | - The measure to be output. |
Implemented in wsf::coverage::MeasureTextOutput.