collapsed_q_plot_test_generator< PlotData > Class Template Reference

#include <collapsed_q_plot_test_generator.h>

Inheritance diagram for collapsed_q_plot_test_generator< PlotData >:
abstract_generator< PlotData >

Public Member Functions

 collapsed_q_plot_test_generator (const constants::plot_types plot_type=constants::UnknownPlotType)
 
virtual base_type operator() (const constants::plot_types plot_type) const
 
virtual ::testing::AssertionResult generate (PlotData &expected, PlotData &actual, bool *) const
 
virtual base_type clone () const
 
void write (std::ostream &out) const
 
bool advance ()
 
- Public Member Functions inherited from abstract_generator< PlotData >
 abstract_generator (const int test_modifier=0)
 
virtual ~abstract_generator ()
 
int test_modifier () const
 
std::string info () const
 

Protected Attributes

metric_filter_iterator m_metric_iterator
 
model::run::info m_info
 
constants::plot_types m_plot_type
 

Additional Inherited Members

- Public Types inherited from abstract_generator< PlotData >
typedef generator_ptr< PlotData > parent_type
 

Detailed Description

template<class PlotData>
class illumina::interop::unittest::collapsed_q_plot_test_generator< PlotData >

Generate the plot from an empty metric set

The expected plot is empty

Constructor & Destructor Documentation

Constructor

Parameters
plot_typetype of the plot

Member Function Documentation

bool advance ( )
inlinevirtual

Advance to the next type

Returns
true when the generator has finished, and the next parameter can be obtained

Reimplemented from abstract_generator< PlotData >.

virtual base_type clone ( ) const
inlinevirtual

Create a copy of this object

Returns
pointer to an abstract_generator

Implements abstract_generator< PlotData >.

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

Generate the expected and actual metric sets

Note
expected plot data is empty
Parameters
expectedexpected plot data
actualactual plot data

Implements abstract_generator< PlotData >.

virtual base_type operator() ( const constants::plot_types  plot_type) const
inlinevirtual

Clone the concrete implementation TODO: Remove

Parameters
plot_typetype of plot
Returns
copy of this object
void write ( std::ostream &  out) const
inlinevirtual

Write generator info to output stream

Parameters
outoutput stream

Implements abstract_generator< PlotData >.

Member Data Documentation

model::run::info m_info
protected
metric_filter_iterator m_metric_iterator
protected
constants::plot_types m_plot_type
protected

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