Provides Bentley specific assert functions (Bentley/BeAssert.h). More...
Go to the source code of this file.
Classes | |
struct | BeAssertFunctions |
Namespaces | |
Bentley | |
The Bentley namespace contains types defined by the Bentley Library. | |
Macros | |
#define | BeAssert(_Expression) (void)( (!!(_Expression)) || (BeAssertFunctions::PerformBeAssert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0) ) |
BeAssert performs the same function as the standard assert, plus it prevents the most common cases of recursive assertion failures in the Application. More... | |
#define | BeAssertOnce(_Expression) |
Provides Bentley specific assert functions (Bentley/BeAssert.h).
#define BeAssert | ( | _Expression | ) | (void)( (!!(_Expression)) || (BeAssertFunctions::PerformBeAssert(_CRT_WIDE(#_Expression), _CRT_WIDE(__FILE__), __LINE__), 0) ) |
BeAssert performs the same function as the standard assert, plus it prevents the most common cases of recursive assertion failures in the Application.
To minimize recursive assertion failures, it notifies the Application that the assert dialog is open causing the Application to ignore the windows messages that are most likely to cause recursive failures.
Referenced by DisplayFilterHandler::_DoClone(), AbortOnConflictChangeSet::_OnConflict(), Constraint3dBase::_SetValue(), Constraint3dBase::_SetVariableAccess(), HttpBinaryBody::AsString(), BeTest::IGetDataRoots::GetAppSupportRoot(), BeTest::IGetDataRoots::GetDocumentsRoot(), BeTest::IGetDataRoots::GetHomeRoot(), BeTest::IGetDataRoots::GetOutputRoot(), BeBriefcaseId::GetValue(), ElementIdMap< _ForeignId, _Compare, _ForeignIdIO >::Load(), TempObjectOwner< T >::operator*(), DgnECHostIterable::const_iterator::operator*(), TempObjectOwner< T >::operator->(), SchemaNameClassNamePair::SchemaNameClassNamePair(), ElementIdMap< _ForeignId, _Compare, _ForeignIdIO >::Store(), TempObjectOwner< T >::TempObjectOwner(), DbTableIterator::Entry::Verify(), and HttpMultipartBody::Write().
#define BeAssertOnce | ( | _Expression | ) |