OpendTect  6.6
Namespaces | Macros
hdf5common.h File Reference
Include dependency graph for hdf5common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 HDF5
 

Macros

#define mCatchHDF(act)
 
#define mCatchHDFAdd2uiRv()   mCatchHDF( uirv.add( sHDF5Err( toUiString(exc_msg) ) ) )
 
#define mCatchNonHDF(act)
 
#define mCatchNonHDFAdd2uiRv(err)   mCatchNonHDF( uirv.add(err.addMoreInfo(toUiString(exc_msg))) )
 
#define mCatchAnyNoMsg(act)
 
#define mCatchAdd2uiRv(msg)
 
#define mCatchUnexpected(act)
 
#define mRetNoFile(action)   { pErrMsg( sOpenFileFirst() ); action; }
 
#define mRetNeedScopeInUiRv()   mPutInternalInUiRv( uirv, sNeedScope(), return )
 

Macro Definition Documentation

◆ mCatchAdd2uiRv

#define mCatchAdd2uiRv (   msg)
Value:
mCatchNonHDFAdd2uiRv( msg )

◆ mCatchAnyNoMsg

#define mCatchAnyNoMsg (   act)
Value:
catch ( ... ) \
{ act; }

◆ mCatchHDF

#define mCatchHDF (   act)
Value:
catch ( H5::Exception& exc ) \
{ const char* mUnusedVar exc_msg = exc.getCDetailMsg(); act; }

◆ mCatchHDFAdd2uiRv

#define mCatchHDFAdd2uiRv ( )    mCatchHDF( uirv.add( sHDF5Err( toUiString(exc_msg) ) ) )

◆ mCatchNonHDF

#define mCatchNonHDF (   act)
Value:
catch ( std::exception& exc ) \
{ const char* mUnusedVar exc_msg = exc.what(); act; } \
catch ( ... ) \
{ const char* mUnusedVar exc_msg = "Unexpected non-std exception"; act; }

◆ mCatchNonHDFAdd2uiRv

#define mCatchNonHDFAdd2uiRv (   err)    mCatchNonHDF( uirv.add(err.addMoreInfo(toUiString(exc_msg))) )

◆ mCatchUnexpected

#define mCatchUnexpected (   act)
Value:
catch ( H5::Exception& exc ) \
{ const char* mUnusedVar exc_msg = exc.getCDetailMsg(); pErrMsg(exc_msg); act; } \
catch ( std::exception& exc ) \
{ const char* mUnusedVar exc_msg = exc.what(); pErrMsg(exc_msg); act; } \
catch ( ... ) \
{ const char* mUnusedVar exc_msg = "Unexpected non-std exception"; \
pErrMsg(exc_msg); act; }

◆ mRetNeedScopeInUiRv

#define mRetNeedScopeInUiRv ( )    mPutInternalInUiRv( uirv, sNeedScope(), return )

◆ mRetNoFile

#define mRetNoFile (   action)    { pErrMsg( sOpenFileFirst() ); action; }
mCatchHDFAdd2uiRv
#define mCatchHDFAdd2uiRv()
Definition: hdf5common.h:27
mUnusedVar
#define mUnusedVar
Definition: plfdefs.h:210
pErrMsg
#define pErrMsg(msg)
Usual access point for programmer error messages.
Definition: errmsg.h:37

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021