ManaPlus
Data Structures | Public Member Functions
Catch::ExceptionTranslatorRegistrar Class Reference

#include <catch.hpp>

Data Structures

class  ExceptionTranslator
 

Public Member Functions

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

Detailed Description

Definition at line 2576 of file catch.hpp.

Constructor & Destructor Documentation

◆ ExceptionTranslatorRegistrar()

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

Definition at line 2603 of file catch.hpp.

2603  {
2605  ( new ExceptionTranslator<T>( translateFunction ) );
2606  }
IMutableRegistryHub & getMutableRegistryHub()
virtual void registerTranslator(const IExceptionTranslator *translator)=0

References Catch::getMutableRegistryHub(), and Catch::IMutableRegistryHub::registerTranslator().


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