|
![CMS Logo](/cmsdoxygen/common/rightImage.jpg) |
Go to the documentation of this file.
42 #if defined ELwarningAssert3
43 #undef ELwarningAssert3
48 #if defined ELwarningAssert2
49 #undef ELwarningAssert2
54 #if defined ELwarningAssert1
55 #undef ELwarningAssert1
60 #if defined ELwarningAssert
61 #undef ELwarningAssert
63 #if defined ELsanityCheck
66 #if defined ELwarningCheck
71 #define ELassert3(condition) ELassert2(condition)
72 #define ELwarningAssert3(condition) ELwarningAssert2(condition)
74 #define ELassert3(condition) ((void)0)
75 #define ELwarningAssert3(condition) ((void)0)
79 #define ELassert2(condition) ELassert1(condition)
80 #define ELwarningAssert2(condition) ELwarningAssert1(condition)
82 #define ELassert2(condition) ((void)0)
83 #define ELwarningAssert2(condition) ((void)0)
87 #define ELassert1(condition) ELassert(condition)
88 #define ELwarningAssert1(condition) ELwarningAssert(condition)
90 #define ELassert1(condition) ((void)0)
91 #define ELwarningAssert1(condition) ((void)0)
95 #define ELassert(condition) \
96 ((condition)?((void)(0)):((void)( \
97 errlog(ELabort,"assert failure")<<# condition<<"in"<<__FILE__<<"at line"\
99 #define ELwarningAssert(condition) \
100 ((condition)?((void)(0)):((void)( \
101 errlog(ELwarning,"assert warning")<<# condition<<"in"<<__FILE__<<"at line"\
102 <<__LINE__<<endmsg)))
104 #define ELassert(condition) ((void)0)
108 #define ELsanityCheck(condition) \
109 ((condition)?((void)(0)):((void)( \
110 errlog(ELabort,"assert failure")<<# condition<<"in"<<__FILE__<<"at line"\
111 <<__LINE__<<endmsg)))
112 #define ELwarningCheck(condition) \
113 ((condition)?((void)(0)):((void)( \
114 errlog(ELwarning,"assert warning")<<# condition<<"in"<<__FILE__<<"at line"\
115 <<__LINE__<<endmsg)))
117 #define ELsanityCheck(condition) ((void)0)
118 #define ELwarningCheck(condition) ((void)0)