boost::itl::LawValidater< LawT, GentorT > Class Template Reference

A class template for test machines. More...

Inheritance diagram for boost::itl::LawValidater< LawT, GentorT >:

boost::itl::LawValidaterI

List of all members.

Public Member Functions

void addFrequencies (ValidationCounterT &summary)
 Add statistics of the validater's run to ValidationCounterT.
void addViolations (ViolationCounterT &summary, ViolationMapT &collector)
 Add statistics and law violations to book keeper objects.
void init ()
 Initialize the validater.
void run ()
 Run tests on the law.


Detailed Description

template<class LawT, template< typename >class GentorT>
class boost::itl::LawValidater< LawT, GentorT >

A class template for test machines.

Class template LawValidater defines a testmachine for a given law LawT and a generator template, that produces a matching generator of input variables for the law.


Member Function Documentation

template<class LawT , template< typename >class GentorT>
void boost::itl::LawValidater< LawT, GentorT >::init (  )  [inline, virtual]

Initialize the validater.

Implements boost::itl::LawValidaterI.

template<class LawT , template< typename >class GentorT>
void boost::itl::LawValidater< LawT, GentorT >::run (  )  [inline, virtual]

Run tests on the law.

Generate law instantiations, test the law on them. Collect violations, if they occur.

Implements boost::itl::LawValidaterI.

template<class LawT , template< typename >class GentorT>
void boost::itl::LawValidater< LawT, GentorT >::addFrequencies ( ValidationCounterT  )  [inline, virtual]

Add statistics of the validater's run to ValidationCounterT.

Implements boost::itl::LawValidaterI.

template<class LawT , template< typename >class GentorT>
void boost::itl::LawValidater< LawT, GentorT >::addViolations ( ViolationCounterT ,
ViolationMapT  
) [inline, virtual]

Add statistics and law violations to book keeper objects.

Implements boost::itl::LawValidaterI.


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

Generated on Wed Jan 13 18:35:05 2010 for Interval Template Library by  doxygen 1.5.7.1