Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_interfaces_exception.h File Reference
#include "catch_interfaces_registry_hub.h"
#include <exception>
#include <string>
#include <vector>
Include dependency graph for catch_interfaces_exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Catch::IExceptionTranslator
 
struct  Catch::IExceptionTranslatorRegistry
 
class  Catch::ExceptionTranslatorRegistrar
 

Namespaces

namespace  Catch
 

Macros

#define INTERNAL_CATCH_TRANSLATE_EXCEPTION2(translatorName, signature)
 
#define INTERNAL_CATCH_TRANSLATE_EXCEPTION(signature)
 

Typedefs

using Catch::exceptionTranslateFunction = std::string(*)()
 
using Catch::ExceptionTranslators = std::vector<std::unique_ptr<IExceptionTranslator const>>
 

Macro Definition Documentation

◆ INTERNAL_CATCH_TRANSLATE_EXCEPTION

#define INTERNAL_CATCH_TRANSLATE_EXCEPTION ( signature)
Value:
INTERNAL_CATCH_TRANSLATE_EXCEPTION2( INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator ), signature )
#define INTERNAL_CATCH_UNIQUE_NAME(name)
#define INTERNAL_CATCH_TRANSLATE_EXCEPTION2(translatorName, signature)

Definition at line 81 of file catch_interfaces_exception.h.

◆ INTERNAL_CATCH_TRANSLATE_EXCEPTION2

#define INTERNAL_CATCH_TRANSLATE_EXCEPTION2 ( translatorName,
signature )
Value:
static std::string translatorName( signature ); \
CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \
namespace{ Catch::ExceptionTranslatorRegistrar INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionRegistrar )( &translatorName ); } \
CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS \
static std::string translatorName( signature )

Definition at line 74 of file catch_interfaces_exception.h.

74#define INTERNAL_CATCH_TRANSLATE_EXCEPTION2( translatorName, signature ) \
75 static std::string translatorName( signature ); \
76 CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \
77 namespace{ Catch::ExceptionTranslatorRegistrar INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionRegistrar )( &translatorName ); } \
78 CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS \
79 static std::string translatorName( signature )