write_read_metric_generator< Gen > Class Template Reference

#include <metric_generator.h>

Inheritance diagram for write_read_metric_generator< Gen >:
abstract_generator< Gen::metric_set_t >

Public Member Functions

 write_read_metric_generator ()
 
::testing::AssertionResult generate (metric_set_t &expected, metric_set_t &actual, bool *) const
 
parent_t clone () const
 
void write (std::ostream &out) const
 
- Public Member Functions inherited from abstract_generator< Gen::metric_set_t >
 abstract_generator (const int test_modifier=0)
 
virtual ~abstract_generator ()
 
virtual bool advance ()
 
int test_modifier () const
 
std::string info () const
 

Additional Inherited Members

- Public Types inherited from abstract_generator< Gen::metric_set_t >
typedef generator_ptr< Gen::metric_set_t > parent_type
 

Detailed Description

template<class Gen>
class illumina::interop::unittest::write_read_metric_generator< Gen >

Generate the actual metric set writing out the expected and reading it back in again

The expected metric set is provided by the generator.

Constructor & Destructor Documentation

Constructor

Member Function Documentation

parent_t clone ( ) const
inlinevirtual

Create a copy of this object

Returns
pointer to copy

Implements abstract_generator< Gen::metric_set_t >.

::testing::AssertionResult generate ( metric_set_t &  expected,
metric_set_t &  actual,
bool *   
) const
inlinevirtual

Generate the expected and actual metric sets

Parameters
expectedexpected metric set
actualactual metric set

Implements abstract_generator< Gen::metric_set_t >.

void write ( std::ostream &  out) const
inlinevirtual

Write generator info to output stream

Parameters
outoutput stream

Implements abstract_generator< Gen::metric_set_t >.


The documentation for this class was generated from the following file: