Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_tag_alias_autoregistrar.cpp
Go to the documentation of this file.
1
#include "
catch_tag_alias_autoregistrar.h
"
2
#include "
catch_compiler_capabilities.h
"
3
#include "
catch_interfaces_registry_hub.h
"
4
5
namespace
Catch
{
6
7
RegistrarForTagAliases::RegistrarForTagAliases
(
char
const
* alias,
char
const
* tag,
SourceLineInfo
const
& lineInfo) {
8
CATCH_TRY
{
9
getMutableRegistryHub
().
registerTagAlias
(alias, tag, lineInfo);
10
}
CATCH_CATCH_ALL
{
11
// Do not throw when constructing global objects, instead register the exception to be processed later
12
getMutableRegistryHub
().
registerStartupException
();
13
}
14
}
15
16
}
catch_compiler_capabilities.h
CATCH_TRY
#define CATCH_TRY
Definition
catch_compiler_capabilities.h:279
CATCH_CATCH_ALL
#define CATCH_CATCH_ALL
Definition
catch_compiler_capabilities.h:280
catch_interfaces_registry_hub.h
catch_tag_alias_autoregistrar.h
Catch
Definition
231-Cfg-OutputStreams.cpp:32
Catch::getMutableRegistryHub
IMutableRegistryHub & getMutableRegistryHub()
Definition
catch_registry_hub.cpp:83
Catch::IMutableRegistryHub::registerStartupException
virtual void registerStartupException() noexcept=0
Catch::IMutableRegistryHub::registerTagAlias
virtual void registerTagAlias(std::string const &alias, std::string const &tag, SourceLineInfo const &lineInfo)=0
Catch::RegistrarForTagAliases::RegistrarForTagAliases
RegistrarForTagAliases(char const *alias, char const *tag, SourceLineInfo const &lineInfo)
Definition
catch_tag_alias_autoregistrar.cpp:7
Catch::SourceLineInfo
Definition
catch.hpp:417
libraries
sys-vm
external
Catch2
include
internal
catch_tag_alias_autoregistrar.cpp
Generated by
1.12.0