LifeV
|
#include <LifeAssertSmart.hpp>
Private Attributes | |
AssertContext | M_context |
bool | M_needsHandling |
Helpers and Typedefs | |
typedef SmartAssert::assertFunction_Type | assertFunction_Type |
Assert & | SMART_ASSERT_A |
Assert & | SMART_ASSERT_B |
Constructors and destructor | |
Assert (const char *expr) | |
Assert (const Assert &other) | |
virtual | ~Assert () |
Public methods | |
template<class type > | |
Assert & | printCurrentValue (const type &val, const char *msg) |
Assert & | printContext (const char *file, int line) |
Assert & | msg (const char *strMsg) |
Assert & | level (int nLevel, const char *strMsg=0) |
Assert & | warn (const char *strMsg=0) |
Assert & | debug (const char *strMsg=0) |
Assert & | error (const char *strMsg=0) |
Assert & | error (const std::string strMsg) |
Assert & | fatal (const char *strMsg=0) |
Static methods | |
static void | setLog (const char *strFileName) |
static void | setLog (std::ostream &out) |
static void | setLog (assertFunction_Type log) |
static void | setHandler (int nLevel, assertFunction_Type handler) |
Private methods | |
void | handleAssert () |
Private static methods | |
typedef std::map< int, assertFunction_Type > | handlerCollection_Type |
static assertFunction_Type & | logger () |
static handlerCollection_Type & | handlers () |
static assertFunction_Type | handler (int nLevel) |
Definition at line 230 of file LifeAssertSmart.hpp.
typedef SmartAssert::assertFunction_Type assertFunction_Type |
Definition at line 234 of file LifeAssertSmart.hpp.
|
private |
Definition at line 402 of file LifeAssertSmart.hpp.
|
inline |
Definition at line 257 of file LifeAssertSmart.hpp.
|
inlinevirtual |
Definition at line 266 of file LifeAssertSmart.hpp.
|
inline |
Definition at line 278 of file LifeAssertSmart.hpp.
|
inline |
Definition at line 297 of file LifeAssertSmart.hpp.
|
inline |
Definition at line 303 of file LifeAssertSmart.hpp.
|
inline |
|
inline |
Definition at line 316 of file LifeAssertSmart.hpp.
|
inline |
Definition at line 321 of file LifeAssertSmart.hpp.
|
inline |
|
inline |
Definition at line 331 of file LifeAssertSmart.hpp.
|
inline |
Definition at line 336 of file LifeAssertSmart.hpp.
|
inlinestatic |
Definition at line 346 of file LifeAssertSmart.hpp.
|
inlinestatic |
Definition at line 354 of file LifeAssertSmart.hpp.
|
inlinestatic |
|
inlinestatic |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 403 of file LifeAssertSmart.hpp.
|
inlinestaticprivate |
Assert& SMART_ASSERT_A |
Definition at line 237 of file LifeAssertSmart.hpp.
Assert& SMART_ASSERT_B |
Definition at line 238 of file LifeAssertSmart.hpp.
|
private |
Definition at line 425 of file LifeAssertSmart.hpp.
|
mutableprivate |
Definition at line 426 of file LifeAssertSmart.hpp.