MeVisLab Toolbox Reference
mlPrintTemplateErrors.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2021, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_PRINT_TEMPLATE_ERRORS_H
14 #define ML_PRINT_TEMPLATE_ERRORS_H
15 
16 #include "mlTypeDefs.h"
17 #include "mlUtilities.h"
18 
19 #include <string_view>
20 
21 ML_START_NAMESPACE
22 
23 void ML_UTILS_EXPORT printTemplateFatalError(const char* location, MLErrorCode reason, const std::string_view& handling);
24 void ML_UTILS_EXPORT printTemplateError(const char* location, MLErrorCode reason, const std::string_view& handling);
25 void ML_UTILS_EXPORT printTemplateWarning(const char* location, MLErrorCode reason, const std::string_view& handling);
26 
27 ML_END_NAMESPACE
28 
29 #endif
30 
MLint32 MLErrorCode
Type of an ML Error code.
Definition: mlTypeDefs.h:818
#define ML_UTILS_EXPORT
Defines platform dependent DLL export macro for mlUtils.
Definition: mlUtilities.h:20
void ML_UTILS_EXPORT printTemplateError(const char *location, MLErrorCode reason, const std::string_view &handling)
void ML_UTILS_EXPORT printTemplateWarning(const char *location, MLErrorCode reason, const std::string_view &handling)
void ML_UTILS_EXPORT printTemplateFatalError(const char *location, MLErrorCode reason, const std::string_view &handling)