OKlibrary  0.2.1.6
OKlib::TestSystem::OutputWrapper< T > Class Template Reference

Class template used in conjunction with OKLIB_TEST_EQUAL_W when testing ranges for equality, where a list of the elements shall be output in case of test failure. More...

#include <TestExceptions.hpp>

List of all members.

Public Member Functions

 OutputWrapper (const T &t)
 OutputWrapper (const T &t)

Public Attributes

const Tt

Detailed Description

template<typename T>
class OKlib::TestSystem::OutputWrapper< T >

Class template used in conjunction with OKLIB_TEST_EQUAL_W when testing ranges for equality, where a list of the elements shall be output in case of test failure.

Wrapper type to mark objects for list-output.

Todo:
Should this class go to a general output facilities module?

Class template used in conjunction with OKLIB_TEST_EQUAL_W when testing ranges for equality, where a list of the elements shall be output in case of test failure.

Todo:
Should this class go to a general output facilities module?

Definition at line 193 of file TestExceptions.hpp.


Constructor & Destructor Documentation

template<typename T >
OKlib::TestSystem::OutputWrapper< T >::OutputWrapper ( const T t) [inline]

Definition at line 195 of file TestExceptions.hpp.

template<typename T >
OKlib::TestSystem::OutputWrapper< T >::OutputWrapper ( const T t) [inline]

Definition at line 123 of file TestExceptions_DesignStudy.hpp.


Member Data Documentation

template<typename T >
const T & OKlib::TestSystem::OutputWrapper< T >::t

Definition at line 194 of file TestExceptions.hpp.


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