kspaceFirstOrder3D-OMP  1.2
The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
ErrorMessagesWindows.h
Go to the documentation of this file.
1 /**
2  * @file ErrorMessagesWindows.h
3  *
4  * @author Jiri Jaros\n
5  * Faculty of Information Technology \n
6  * Brno University of Technology \n
7  * jarosjir@fit.vutbr.cz
8  *
9  * @brief The header file containing windows specific error messages.
10  *
11  * @version kspaceFirstOrder3D 2.16
12  *
13  * @date 30 August 2017, 11:39 (created) \n
14  * 30 August 2017, 11:39 (revised)
15  *
16  * @copyright Copyright (C) 2017 Jiri Jaros and Bradley Treeby.
17  *
18  * This file is part of the C++ extension of the [k-Wave Toolbox](http://www.k-wave.org).
19  *
20  * This file is part of the k-Wave. k-Wave is free software: you can redistribute it and/or modify it under the terms
21  * of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the
22  * License, or (at your option) any later version.
23  *
24  * k-Wave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
25  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
26  * more details.
27  *
28  * You should have received a copy of the GNU Lesser General Public License along with k-Wave.
29  * If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).
30  */
31 
32 
33 #ifndef ERROR_MESSAGES_WINDOWS_H
34 #define ERROR_MESSAGES_WINDOWS_H
35 
36 /**
37  * @brief Datatype for error messages.
38  * @details Datatype for error messages.
39  */
40 using ErrorMessage = const std::string;
41 
42 /// Error message header
44  "+---------------------------------------------------------------+\n"
45  "| !!! K-Wave experienced a fatal error !!! |\n"
46  "+---------------------------------------------------------------+\n";
47 
48 /// Error message tailer
50  "+---------------------------------------------------------------+\n"
51  "| Execution terminated |\n"
52  "+---------------------------------------------------------------+\n";
53 
54 
55 #endif /* ERROR_MESSAGES_WINDOWS_H */
56 
57 
58 
59 
const std::string ErrorMessage
Datatype for error messages.
ErrorMessage kErrFmtHead
Error message header.
ErrorMessage kErrFmtTail
Error message tailer.