25 #include <queso/ModelValidation.h>
30 template <
class P_V,
class P_M,
class Q_V,
class Q_M>
36 m_prefix((std::string)(prefix) +
""),
54 template <
class P_V,
class P_M,
class Q_V,
class Q_M>
57 if (m_env.subDisplayFile()) {
58 *m_env.subDisplayFile() <<
"Entering ModeValidation::destructor()"
59 <<
": prefix = " << m_prefix
63 if (m_cycle)
delete m_cycle;
65 if (m_env.subDisplayFile()) {
66 *m_env.subDisplayFile() <<
"Leaving ModeValidation::destructor()"
67 <<
": prefix = " << m_prefix
72 template <
class P_V,
class P_M,
class Q_V,
class Q_M>
79 template <
class P_V,
class P_M,
class Q_V,
class Q_M>
A templated class for validation cycle of the examples validationCycle and validationCycle2.
const ValidationCycle< P_V, P_M, Q_V, Q_M > & cycle() const
Access to the cycle (m_cycle).
ModelValidation(const BaseEnvironment &env, const char *prefix)
Constructor.
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
const BaseEnvironment & m_env
const BaseEnvironment & env() const
Access to the environment variable (m_env).
virtual ~ModelValidation()
Virtual destructor.