Joedb 10.0.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Classes | Macros
Error Management

exceptions, assertions, logging. More...

Classes

class  joedb::Assertion_Failure
 Indicates a bug in the code, thrown by JOEDB_DEBUG_ASSERT when NDEBUG not defined. More...
 
class  joedb::Destructor_Logger
 
class  joedb::Exception
 
class  joedb::Logger
 
class  joedb::Out_Of_Date
 sent when the schema of a read-only compiled database is out of date More...
 
class  joedb::Stream_Logger
 
class  joedb::String_Logger
 

Macros

#define JOEDB_DEBUG_ASSERT(x)   JOEDB_CHECK(x, joedb::Assertion_Failure)
 assertion tested in debug mode
 
#define JOEDB_RELEASE_ASSERT(x)   JOEDB_CHECK(x, joedb::Release_Assertion_Failure)
 always-tested assertion (release and debug mode)
 

Detailed Description

Macro Definition Documentation

◆ JOEDB_DEBUG_ASSERT

#define JOEDB_DEBUG_ASSERT (   x)    JOEDB_CHECK(x, joedb::Assertion_Failure)

Definition at line 19 of file assert.h.

◆ JOEDB_RELEASE_ASSERT

#define JOEDB_RELEASE_ASSERT (   x)    JOEDB_CHECK(x, joedb::Release_Assertion_Failure)

Definition at line 24 of file assert.h.