A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/group__Debug.html below:

NCBI C++ ToolKit: Debugging Macros

class   CCheckMe< TValue >   Wrapper around an object of type TValue, that makes it mandatory to check object value somehow after each assignment. More...
  #define  _ALWAYS_TRACE(message)   Define macros to support debugging. More...
  #define  _ALWAYS_TRACE_EX(err_code, err_subcode, message)   #define  _ALWAYS_TRACE_X(err_subcode, message)    _ALWAYS_TRACE_XX(NCBI_USE_ERRCODE_X, err_subcode, message)   #define  _ALWAYS_TRACE_XX(error_name, err_subcode, message)   #define  NCBI_ALWAYS_TROUBLE(mess)    NCBI_NS_NCBI::CNcbiDiag::DiagTrouble(DIAG_COMPILE_INFO, mess)   #define  NCBI_ALWAYS_ASSERT(expr, mess)   #define  NCBI_ALWAYS_ASSERT_EXPR(expr, mess)    ((expr)?(void)0:NCBI_NS_NCBI::CNcbiDiag::DiagAssert(DIAG_COMPILE_INFO, #expr, mess))   #define  NCBI_ALWAYS_VERIFY(expr, mess)   NCBI_ALWAYS_ASSERT(expr, mess)   #define  _TRACE(message)   _ALWAYS_TRACE(message)   #define  _TRACE_EX(err_code, err_subcode, message)    _ALWAYS_TRACE_EX(err_code, err_subcode, message)   #define  _TRACE_X(err_subcode, message)   _ALWAYS_TRACE_X(err_subcode, message)   #define  _TRACE_XX(error_name, err_subcode, message)    _ALWAYS_TRACE_XX(error_name, err_subcode, message)   #define  NCBI_TROUBLE(mess)   NCBI_ALWAYS_TROUBLE(mess)   #define  NCBI_ASSERT(expr, mess)   NCBI_ALWAYS_ASSERT(expr, mess)   #define  NCBI_ASSERT_EXPR(expr, mess)   NCBI_ALWAYS_ASSERT_EXPR(expr, mess)   #define  NCBI_VERIFY(expr, mess)   NCBI_ALWAYS_VERIFY(expr, mess)   #define  _DEBUG_ARG(arg)   arg   #define  _DEBUG_CODE(code)    do { code } while ( 0 )   #define  _ASSERT(expr)   NCBI_ASSERT(expr, "")   #define  _VERIFY(expr)   NCBI_VERIFY(expr, "")   #define  _TROUBLE   NCBI_TROUBLE("")   #define  _ALWAYS_ASSERT(expr)   NCBI_ALWAYS_ASSERT(expr, "")   #define  _ALWAYS_VERIFY(expr)   NCBI_ALWAYS_VERIFY(expr, "")   #define  _ALWAYS_TROUBLE   NCBI_ALWAYS_TROUBLE("")   #define  CHECKME_VALIDATE(condition, error_type)   #define  NAME_NCBI_LIBRARY_VERSION_MISMATCH(a)   Ncbi_library_version_mismatch__Full_rebuild_to_fix_##a   #define  MAKENAME_NCBI_LIBRARY_VERSION_MISMATCH(a)   NAME_NCBI_LIBRARY_VERSION_MISMATCH(a)   #define  CHECK_NCBI_LIBRARY_VERSION_MISMATCH   MAKENAME_NCBI_LIBRARY_VERSION_MISMATCH(NCBI_DEVELOPMENT_VER)   ◆ _ALWAYS_ASSERT ◆ _ALWAYS_TRACE #define _ALWAYS_TRACE (   message ) Value:

<< message << NCBI_NS_NCBI::Endm; } while (0)

#define DIAG_COMPILE_INFO

Make compile time diagnostic information object to use in CNcbiDiag and CException.

bool IsVisibleDiagPostLevel(EDiagSev sev)

Check if the specified severity is higher or equal to the currently selected post level and will be p...

@ eDiag_Trace

Trace message.

Define macros to support debugging.

Definition at line 69 of file ncbidbg.hpp.

◆ _ALWAYS_TRACE_EX #define _ALWAYS_TRACE_EX (   err_code,   err_subcode,   message  ) Value:

<< message << NCBI_NS_NCBI::Endm; } while (0)

#define ErrCode()

Get the error code for the last failed system function.

Definition at line 75 of file ncbidbg.hpp.

◆ _ALWAYS_TRACE_X ◆ _ALWAYS_TRACE_XX #define _ALWAYS_TRACE_XX (   error_name,   err_subcode,   message  ) Value:

#define NCBI_CHECK_ERR_SUBCODE_X_NAME(name, subcode)

Issue compile-time error if error subcode given is not valid for given error code name.

#define NCBI_ERRCODE_X_NAME(name)

Returns value of error code by its name defined by NCBI_DEFINE_ERRCODE_X.

Definition at line 85 of file ncbidbg.hpp.

◆ _ALWAYS_TROUBLE ◆ _ALWAYS_VERIFY ◆ _ASSERT ◆ _DEBUG_ARG #define _DEBUG_ARG (   arg )    arg

Definition at line 138 of file ncbidbg.hpp.

◆ _DEBUG_CODE ◆ _TRACE ◆ _TRACE_EX ◆ _TRACE_X ◆ _TRACE_XX ◆ _TROUBLE ◆ _VERIFY ◆ CHECK_NCBI_LIBRARY_VERSION_MISMATCH ◆ CHECKME_VALIDATE #define CHECKME_VALIDATE (   condition,   error_type  ) Value:

do { if ( !(condition) ) \

xncbi_CCheckMe_ReportError(error_type); \

} while ( 0 )

Definition at line 206 of file ncbidbg.hpp.

◆ MAKENAME_NCBI_LIBRARY_VERSION_MISMATCH ◆ NAME_NCBI_LIBRARY_VERSION_MISMATCH #define NAME_NCBI_LIBRARY_VERSION_MISMATCH (   a )    Ncbi_library_version_mismatch__Full_rebuild_to_fix_##a

Definition at line 340 of file ncbidbg.hpp.

◆ NCBI_ALWAYS_ASSERT #define NCBI_ALWAYS_ASSERT (   expr,   mess  ) Value:

do { if ( !(expr) ) \

} while ( 0 )

Definition at line 113 of file ncbidbg.hpp.

◆ NCBI_ALWAYS_ASSERT_EXPR #define NCBI_ALWAYS_ASSERT_EXPR (   expr,   mess  )     ((expr)?(void)0:NCBI_NS_NCBI::CNcbiDiag::DiagAssert(DIAG_COMPILE_INFO, #expr, mess))

Definition at line 117 of file ncbidbg.hpp.

◆ NCBI_ALWAYS_TROUBLE ◆ NCBI_ALWAYS_VERIFY ◆ NCBI_ASSERT ◆ NCBI_ASSERT_EXPR ◆ NCBI_TROUBLE ◆ NCBI_VERIFY ◆ ECheckMeError Enumerator eCheckMe_Unused 

The value has not been checked.

eCheckMe_Unset 

Invalid op with a not set value.

Definition at line 200 of file ncbidbg.hpp.

◆ EValidateAction

Which action to perform.

Specify action to be performed when expression under "xncbi_Validate(expr, ...)" evaluates to FALSE.

Enumerator eValidate_Default 

Default action.

eValidate_Abort 

abort() if not valid

eValidate_Throw 

Throw an exception if not valid.

Definition at line 182 of file ncbidbg.hpp.

◆ CCheckMe() [1/3]

template<typename TValue >

◆ CCheckMe() [2/3]

template<typename TValue >

Definition at line 238 of file ncbidbg.hpp.

◆ CCheckMe() [3/3]

template<typename TValue >

Definition at line 234 of file ncbidbg.hpp.

◆ IsChecked()

template<typename TValue >

◆ Ncbi_library_version_mismatch__Full_rebuild_to_fix_NCBI_DEVELOPMENT_VER() int Ncbi_library_version_mismatch__Full_rebuild_to_fix_NCBI_DEVELOPMENT_VER ( void  ) ◆ operator TValue()

template<typename TValue >

CCheckMe< TValue >::operator TValue ( void  ) const inline ◆ operator!=() [1/2]

template<typename TValue >

◆ operator!=() [2/2]

template<typename TValue >

template<typename T >

◆ operator=() [1/2]

template<typename TValue >

◆ operator=() [2/2]

template<typename TValue >

◆ operator==() [1/2]

template<typename TValue >

◆ operator==() [2/2]

template<typename TValue >

template<typename T >

◆ SetChecked()

template<typename TValue >

◆ xncbi_CCheckMe_ReportError() ◆ xncbi_GetValidateAction() ◆ xncbi_SetValidateAction() ◆ ~CCheckMe()

template<typename TValue >

◆ m_IsChecked

template<typename TValue >

◆ m_IsSet

template<typename TValue >

◆ m_Value

template<typename TValue >

◆ s__check_ncbi_library_version_mismatch

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4