ARB
aw_msg.hxx
Go to the documentation of this file.
1 // ================================================================= //
2 // //
3 // File : aw_msg.hxx //
4 // Purpose : Provide aw_message and related functions //
5 // //
6 // Coded by Ralf Westram (coder@reallysoft.de) in September 2010 //
7 // Institute of Microbiology (Technical University Munich) //
8 // http://www.arb-home.de/ //
9 // //
10 // ================================================================= //
11 
12 #ifndef AW_MSG_HXX
13 #define AW_MSG_HXX
14 
15 #ifndef ARB_ERROR_H
16 #include <arb_error.h>
17 #endif
18 
19 
20 void aw_message(const char *msg);
21 inline void aw_message_if(GB_ERROR error) { if (error) aw_message(error); }
22 inline void aw_message_if(ARB_ERROR& error) { aw_message_if(error.deliver()); }
23 
24 #else
25 #error aw_msg.hxx included twice
26 #endif // AW_MSG_HXX
const char * GB_ERROR
Definition: arb_core.h:25
GB_ERROR deliver() const
Definition: arb_error.h:116
static void error(const char *msg)
Definition: mkptypes.cxx:96
void aw_message(const char *msg)
Definition: AW_status.cxx:1142
void aw_message_if(GB_ERROR error)
Definition: aw_msg.hxx:21