35#ifndef NEKTAR_TESTS_METRICFILEEXISTS_H
36#define NEKTAR_TESTS_METRICFILEEXISTS_H
62 virtual bool v_Test(std::istream &pStdout, std::istream &pStderr);
63 virtual void v_Generate(std::istream &pStdout, std::istream &pStderr);
std::map< std::string, int > m_fileCounts
static MetricSharedPtr create(TiXmlElement *metric, bool generate)
virtual bool v_Test(std::istream &pStdout, std::istream &pStderr)
Virtual function to test the metric. Should be redefined in derived classes.
MetricFileExists(TiXmlElement *metric, bool generate)
virtual void v_Generate(std::istream &pStdout, std::istream &pStderr)
Virtual function to generate the metric. Should be redefined in derived classes.
virtual ~MetricFileExists()
Base class for all metrics. Metric represents a test metric that can be used to evaluate the function...
The above copyright notice and this permission notice shall be included.
std::shared_ptr< Metric > MetricSharedPtr
A shared pointer to an EquationSystem object.