write_metric_generator< Gen > Class Template Reference
Inheritance diagram for write_metric_generator< Gen >:
abstract_generator< Gen::metric_set_t >

Public Member Functions

::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 write_metric_generator< Gen >

Generate the actual metric set by reading in from hardcoded binary buffer

The expected metric set is provided by the generator.

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: