API
Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T > Class Template Reference
Inheritance diagram for Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T >:
Inheritance graph
Collaboration diagram for Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T >:
Collaboration graph

Public Member Functions

 ExceptionTranslator (std::string(*translateFunction)(T &))
 
std::string translate (ExceptionTranslators::const_iterator it, ExceptionTranslators::const_iterator itEnd) const override
 

Protected Attributes

std::string(* m_translateFunction )(T &)
 

Detailed Description

template<typename T>
class Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T >

Definition at line 3023 of file catch.hpp.

Constructor & Destructor Documentation

◆ ExceptionTranslator()

template<typename T >
Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T >::ExceptionTranslator ( std::string(*)(T &)  translateFunction)
inline

Definition at line 3026 of file catch.hpp.

Member Function Documentation

◆ translate()

template<typename T >
std::string Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T >::translate ( ExceptionTranslators::const_iterator  it,
ExceptionTranslators::const_iterator  itEnd 
) const
inlineoverridevirtual

Implements Catch::IExceptionTranslator.

Definition at line 3030 of file catch.hpp.

Member Data Documentation

◆ m_translateFunction

template<typename T >
std::string(* Catch::ExceptionTranslatorRegistrar::ExceptionTranslator< T >::m_translateFunction) (T &)
protected

Definition at line 3047 of file catch.hpp.


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