Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::ExceptionTranslatorRegistrar Class Reference

#include <catch_interfaces_exception.h>

Public Member Functions

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

Detailed Description

Definition at line 2687 of file catch.hpp.

Constructor & Destructor Documentation

◆ ExceptionTranslatorRegistrar() [1/2]

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

Definition at line 66 of file catch_interfaces_exception.h.

66 {
68 ( new ExceptionTranslator<T>( translateFunction ) );
69 }
IMutableRegistryHub & getMutableRegistryHub()
virtual void registerTranslator(const IExceptionTranslator *translator)=0
Here is the call graph for this function:

◆ ExceptionTranslatorRegistrar() [2/2]

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

Definition at line 2714 of file catch.hpp.

2714 {
2716 ( new ExceptionTranslator<T>( translateFunction ) );
2717 }
Here is the call graph for this function:

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