#include "classlib/utils/Macros.h"
#include "classlib/sysapi/IOTypes.h"
#include <cstddef>
Go to the source code of this file.
Namespaces | |
namespace | lat |
Classes | |
class | lat::DebugAids |
Utilities for debugging support. More... | |
class | lat::Debuggable |
Utility base class to translate debugging events into object-specific virtual function calls. More... | |
Defines | |
#define | ASSERT(f) |
An assertion expression. | |
#define | ASSERT_ALWAYS(f) |
Like ASSERT but verified always regardless of NDEBUG. | |
#define | ASSERT_FUNC 0 |
#define | ASSERT_VALID(p) (lat::ASSERT_VALIDATOR((p),__FILE__,__LINE__,ASSERT_FUNC,#p)) |
An assertion that verifies that the argument is a pointer to a valid object. | |
#define | VERIFY(f) |
Like ASSERT but evaluates the argument regardless of NDEBUG. | |
Functions | |
template<class T> | |
void | lat::ASSERT_VALIDATOR (const T *object, const char *file, int line, const char *function, const char *expr) |
Helper template for ASSERT_VALID for invoking type-specific AssertValid functions and to protect the ASSERT_VALID macro against multiple evaluation of object. | |
void | lat::AssertValid (const Debuggable *object) |
void | lat::AssertValid (const void *address) |
Type-specific object validators. | |
logstream & | lat::operator<< (logstream &to, const Debuggable &object) |
A helper to convert a logging output of an object to a virtual function call to object. |
#define ASSERT | ( | f | ) |
Value:
((f)?(void)0: \ lat::DebugAids::failed (__FILE__,__LINE__,ASSERT_FUNC,#f))
Check the argument expression. If it evaluates to false
, run DebugAids::failed() with information about the expression and the source code location. The expression should no side effects as it will not be evaluated if NDEBUG is defined. Use VERIFY if the expression should be evaluated in non-debugging code as well. The expression is evaluated only once.
ASSERT can be used where ever an expression is allowed. It does not evaluate to any useful value. The expression is evaluated only if NDEBUG is undefined; with NDEBUG the macro expands to an empty void expression.
Definition at line 87 of file DebugAids.h.
Referenced by VisG4TwigOps::actionAppearance(), VisG4TwigOps::actionApplyFilter(), VisG4TwigOps::actionColour(), IgTwigOps::actionEnable(), VisEventContentTwigOps::actionExpand(), VisG4TwigOps::actionGetMass(), VisG4TwigOps::actionLogical(), VisG4TwigOps::actionRender(), VisG4TwigOps::actionRenderAll(), VisG4TwigOps::actionShowMaterial(), VisG4TwigOps::actionTransparency(), IgTwigOps::actionVisible(), Ig3DBaseModel::add(), IgCompoundTwig::add(), IgModelManager::add(), IgRepSet::add(), VisG4FilterTable::add(), IgTwig::add(), IgDocumentData::add(), IgControlCentre::addCategory(), IgState::addChild(), IgModuleDescriptor::addChild(), IgTwig::added(), IgControlBase::addGridLayout(), IgControlBase::addGridWidget(), IgPluginManager::addInfo(), IgPluginFactoryImplBase< Types >::addInfo(), IgControlCategory::addItem(), VisG4VisSceneHandler::addMaterial(), IgWizard::addPage(), IgDocument::addPage(), VisG4VisSceneHandler::AddPrimitive(), VisG4VisSceneHandler::AddSolid(), VisG4VisSceneHandler::addStyle(), Ig3DGridCategory::addTextNodeWithValue(), IgOIVBrowser::addToLog(), VisG4VisSceneHandler::addTransform(), VisG4VisSceneHandler::addTranslation(), Ig3DEnumControl::addValidValue(), IgRZViewPropertiesCategory::alignAxis(), IgSpareViewPropertiesCategory::alignAxis(), IgLegoViewPropertiesCategory::alignAxis(), IgRPhiViewPropertiesCategory::alignAxis(), Ig3DVectorBaseControl::alignToAxis(), VisCaloTower::analyze(), VisEvent::analyze(), IgControlCentre::apply(), VisG4VolumePicker::apply(), Ig3DVectorBaseControl::applyValue(), IgArgsElement::arg(), IgRepSet::associate(), IgPluginFactoryImplTypes< R *(T1, T2)>::Info::attach(), IgModule::attach(), IgPluginFactoryImplTypes< R *(T1, T2, T3, T4)>::Info::attach(), IgPluginFactoryImplTypes< R *(T1)>::Info::attach(), IgPluginFactoryImplTypes< R *(void)>::Info::attach(), IgPluginFactoryImplTypes< R *(T1, T2, T3)>::Info::attach(), VisEventMenu::autoEvents(), VisEventMenu::autoPrint(), IgWizard::back(), VisConfigurable::baseInit(), VisG4VisSceneHandler::beginObject(), VisG4VisSceneHandler::BeginPrimitives(), IgModuleDef::bind(), IgWebRZService::browse(), IgWebTreeService::browse(), IgWebLegoService::browse(), VisWebRootService::browse(), VisRootBrowser::browse(), IgWebRPhiService::browse(), Ig3DBaseWindow::browse(), VisHtmlRootBrowser::browse(), IgWeb2DService::browse(), IgWeb3DService::browse(), IgGLRenderCategory::browserChanged(), VisG4Navigator::build(), VisEventSetupService::buildCaloDet(), IgSoTwig::buildFromOther(), IgSoTwig::buildFromReps(), IgSoTwig::buildFromVis(), IgPluginInfo::cache(), VisG4VisSceneHandler::cacheBegin(), VisG4VisSceneHandler::cached(), IgPluginInfo::category(), Ig3DVectorBaseControl::change(), Ig3DBaseModel::change(), IgQtTwigRep::checked(), Ig3DBaseRep::child(), IgState::child(), IgModuleDescriptor::child(), IgCompoundTwig::child(), IgTwig::child(), Ig3DBaseRep::children(), Ig3DBaseRep::clear(), IgTwig::cleared(), VisG4UIManager::cmdLoop(), VisG4FilterCache::compute(), pool::TrivialFileCatalog::connect(), Ig3DViewpointsCategory::connectCameraFromViewpoint(), IgQtObjectMenu::connectItem(), Ig3DViewpointsCategory::connectViewpointFromCamera(), IgQtTwigBrowser::contentsMouseDoubleClickEvent(), IgQtTreeBrowser::contentsMouseDoubleClickEvent(), IgQtTreeBrowser::contentsMousePressEvent(), IgQtTwigBrowser::contentsMousePressEvent(), VisRootRep::context(), Ig3DBaseRep::context(), IgSimpleTextRep::context(), IgUIDRep::context(), IgQtTwigRep::context(), IgQtTreeRep::context(), IgQtTreeBrowser::contextMenu(), IgQtTwigBrowser::contextMenu(), Ig3DVectorBaseControl::control(), IgPluginFactoryImplTypes< R *(T1, T2, T3, T4)>::Info::create(), IgPluginFactoryImplTypes< R *(T1, T2, T3)>::Info::create(), IgPluginFactoryImplTypes< R *(T1, T2)>::Info::create(), IgPluginFactoryImplTypes< R *(void)>::Info::create(), VisWebRootService::create(), IgWeb2DService::create(), IgStateKey::create(), IgPluginFactoryImplTypes< R *(T1)>::Info::create(), IgControlCategory::createNewItem(), lat::Sequence< T >::current(), IgDocumentDataRoot::currentRoot(), IgQtScheduledEventExecutor::customEvent(), IgPluginFactoryImplBase< Types >::declare(), Ig3DBaseModel::decode(), IgControlCategory::deleteItem(), Ig3DClipsCategory::deleteOne(), Ig3DAnimsCategory::deleteOne(), Ig3DGridCategory::deleteOne(), Ig3DSlicersCategory::deleteOne(), Ig3DLightsCategory::deleteOne(), IgPluginFactoryImplTypes< R *(void)>::Info::detach(), IgPluginFactoryImplTypes< R *(T1, T2, T3)>::Info::detach(), IgPluginFactoryImplTypes< R *(T1, T2, T3, T4)>::Info::detach(), IgState::detach(), IgPluginFactoryImplTypes< R *(T1)>::Info::detach(), IgPluginInfo::detach(), IgPluginFactoryImplTypes< R *(T1, T2)>::Info::detach(), IgState::detachChild(), IgModule::detachInfo(), Ig3DViewpointsCategory::disconnectCamera(), IgQtObjectMenu::disconnectItem(), VisG4VisManager::DispatchToModel(), VisG4TwigOps::doApplyFilter(), IgWebLegoService::doCreate(), IgWeb3DService::doCreate(), IgWebRPhiService::doCreate(), IgWebRZService::doCreate(), IgDocumentData::document(), VisG4TwigOps::doGetMass(), IgTwigOps::doHide(), Ig3DSystem::doinit(), VisWebFrameworkService::doInitSession(), VisWebFrameworkService::doReconfigure(), VisG4TwigOps::doRender(), IgQtAppLoopService::doRun(), IgTwigOps::doShow(), VisG4TwigOps::doShowCategory(), VisG4TwigOps::doShowMaterial(), VisG4VisManager::Draw(), VisG4VisManager::Draw2D(), drawVolumeTwig(), IgIVView::dump(), VisConfiguration::dumpConfig(), IgState::element(), VisEventSetupService::emptyCorners(), IgControlCentre::enableCategory(), VisG4VisSceneHandler::endObject(), VisG4VisSceneHandler::EndPrimitives(), IgRepContext::erase(), IgWizard::eventFilter(), IgWebServiceRegistry::executeURL(), IgPluginFactoryImplTypes< R *(T1, T2, T3, T4)>::Info::factory(), IgPluginFactoryImplTypes< R *(T1, T2)>::Info::factory(), IgPluginFactoryImplTypes< R *(T1)>::Info::factory(), IgPluginFactoryImplTypes< R *(T1, T2, T3)>::Info::factory(), IgPluginFactoryImplTypes< R *(void)>::Info::factory(), IgOnCrashService::fatalException(), IgOnCrashService::fatalSignal(), lat::IOSelectFdMap::fdindex(), IgFileFetcher::fetch(), Ig3DFieldControl::fieldChanged(), Ig3DVec3fControl::fieldValue(), Ig3DMStringControl::fieldValue(), Ig3DMBoolControl::fieldValue(), Ig3DRangeMControl< SoMFFloat, float, IgQtRangeMControlFloat >::fieldValue(), Ig3DRangeControl< SoSFUShort, unsigned short, IgQtRangeControlUShort >::fieldValue(), Ig3DRotationControl::fieldValue(), Ig3DRotationFControl::fieldValue(), Ig3DColorControl::fieldValue(), Ig3DVec2fControl::fieldValue(), Ig3DMColorControl::fieldValue(), Ig3DEnumControl::fieldValue(), Ig3DVec4fControl::fieldValue(), Ig3DBoolControl::fieldValue(), Ig3DStringControl::fieldValue(), Ig3DPlaneControl::fieldValue(), VisG4VisManager::FilterHit(), VisG4VisManager::FilterTrajectory(), VisEventMenu::finalizeTimer(), IgDocumentData::find(), Ig3DObjectCategory< T >::find(), IgQtAppMenuService::findByName(), VisG4Navigator::findLogical(), IgRPhiWindow::focusIn(), IgLegoWindow::focusIn(), IgRZWindow::focusIn(), Ig3DBaseWindow::focusIn(), IgSpareWindow::focusIn(), Ig3DWindow::focusIn(), IgSpareWindow::focusOut(), Ig3DWindow::focusOut(), IgRPhiWindow::focusOut(), Ig3DBaseWindow::focusOut(), IgRZWindow::focusOut(), IgLegoWindow::focusOut(), IgQtRangeMValue< short >::forceValue(), IgQtRangeMValue< short >::forceValueChanged(), IgQtRangeMValueFloat::forceValueChanged(), IgTwig::getCascadeAttribute(), IgQtTwigBrowser::getCheckedItems(), VisEventSetupService::getCorners(), Ig3DCameraUtils::getFocalPoint(), IgOIVBrowser::getIV(), IgOIVBrowser::getJPGBuffer(), VisHtmlRootBrowser::getJPGBuffer(), IgTwig::getNameAttribute(), getParentOfNode(), IgWebTreeService::getRepID(), IgQtTreeBrowser::getSelectedItems(), IgQtTwigBrowser::getSelectedItems(), IgSocketDriverInfo::getSocket(), VisG4MaterialCacheFilter::getSoMaterial(), VisG4MaterialLUTFilter::getSoMaterial(), VisG4MaterialDensityFilter::getSoMaterial(), IgTwig::getTraverseAttribute(), IgTwig::getVisibleAttribute(), IgControlBase::gridRows(), IgQtObjectMenu::hasItem(), IgWizard::help(), Ig3DBaseWindow::hide(), Ig2DModel::Ig2DModel(), Ig2DViewPropertiesCategory::Ig2DViewPropertiesCategory(), Ig3DAxisRotationControl::Ig3DAxisRotationControl(), Ig3DBaseBrowser::Ig3DBaseBrowser(), Ig3DBaseModel::Ig3DBaseModel(), Ig3DBaseRep::Ig3DBaseRep(), Ig3DBoolControl::Ig3DBoolControl(), Ig3DColorControl::Ig3DColorControl(), Ig3DEnumControl::Ig3DEnumControl(), Ig3DFieldPlanesCategory::Ig3DFieldPlanesCategory(), Ig3DLightsCategory::Ig3DLightsCategory(), Ig3DMBoolControl::Ig3DMBoolControl(), Ig3DMColorControl::Ig3DMColorControl(), Ig3DMStringControl::Ig3DMStringControl(), Ig3DPlaneControl::Ig3DPlaneControl(), Ig3DRangeControl< C1, C2, C3 >::Ig3DRangeControl(), Ig3DRangeMControl< C1, C2, C3 >::Ig3DRangeMControl(), Ig3DRotationFControl::Ig3DRotationFControl(), Ig3DStringControl::Ig3DStringControl(), Ig3DVectorBaseControl::Ig3DVectorBaseControl(), Ig3DViewpointsCategory::Ig3DViewpointsCategory(), IgArgsElement::IgArgsElement(), IgCommonViewPropertiesCategory::IgCommonViewPropertiesCategory(), IgConfigElement::IgConfigElement(), IgControlBase::IgControlBase(), IgControlCategory::IgControlCategory(), IgDocumentData::IgDocumentData(), IgDocumentDataManager::IgDocumentDataManager(), IgFileFetcher::IgFileFetcher(), IgFileManager::IgFileManager(), IgLegoViewPropertiesCategory::IgLegoViewPropertiesCategory(), IgMatEdColorBox::IgMatEdColorBox(), IgMatEdMainMenu::IgMatEdMainMenu(), IgMatEdMainWidget::IgMatEdMainWidget(), IgMatEdSlider::IgMatEdSlider(), IgMatEdViewer::IgMatEdViewer(), IgModelManager::IgModelManager(), IgModule::IgModule(), IgModuleCache::IgModuleCache(), IgModuleDescriptor::IgModuleDescriptor(), IgNTupleAppMain::IgNTupleAppMain(), IgNTupleAppSetup::IgNTupleAppSetup(), IgOIVExtension::IgOIVExtension(), IgPage::IgPage(), IgPluginFactoryBase::IgPluginFactoryBase(), IgPluginFactoryImplBase< Types >::IgPluginFactoryImplBase(), IgPluginInfo::IgPluginInfo(), IgPluginLoader::IgPluginLoader(), IgQtAppActiveService::IgQtAppActiveService(), IgQtAppContextService::IgQtAppContextService(), IgQtAppCrashAlertService::IgQtAppCrashAlertService(), IgQtAppDebugService::IgQtAppDebugService(), IgQtAppHelpService::IgQtAppHelpService(), IgQtAppImageService::IgQtAppImageService(), IgQtAppLoopService::IgQtAppLoopService(), IgQtAppMenuService::IgQtAppMenuService(), IgQtAppStatusBarService::IgQtAppStatusBarService(), IgQtAppToolBarService::IgQtAppToolBarService(), IgQtAppWindowService::IgQtAppWindowService(), IgQtObjectMenu::IgQtObjectMenu(), IgQtObjectMenuService::IgQtObjectMenuService(), IgQtRangeMValue< T >::IgQtRangeMValue(), IgQtTextBrowser::IgQtTextBrowser(), IgQtTreeBrowser::IgQtTreeBrowser(), IgQtTwigBrowser::IgQtTwigBrowser(), IgRepContext::IgRepContext(), IgRPhiViewPropertiesCategory::IgRPhiViewPropertiesCategory(), IgRZViewPropertiesCategory::IgRZViewPropertiesCategory(), IgSelectionService::IgSelectionService(), IgServerPool::IgServerPool(), IgSpareViewPropertiesCategory::IgSpareViewPropertiesCategory(), IgStudioCentre::IgStudioCentre(), IgStudioDriver::IgStudioDriver(), IgTwigConfigElement::IgTwigConfigElement(), IgView::IgView(), IgWebServiceRegistry::IgWebServiceRegistry(), IgQtAppMenuService::index(), IgStateKey::index(), IgTwig::indexOf(), IgCompoundTwig::indexOf(), IgPluginFactoryImplTypes< R *(T1, T2, T3, T4)>::Info::Info(), IgPluginFactoryImplTypes< R *(T1, T2, T3)>::Info::Info(), IgPluginFactoryImplTypes< R *(T1, T2)>::Info::Info(), IgPluginFactoryImplTypes< void >::Info::Info(), IgPluginFactoryImplTypes< R *(void)>::Info::Info(), IgPluginFactoryImplTypes< R *(T1)>::Info::Info(), VisCoreContent::init(), VisSimContent::init(), VisMainProgram::init(), VisSimQtActions::init(), VisG4EventContent::init(), Ig3DSystem::init(), IgOnCrashService::init(), VisG4GeomContent::init(), VisEventCoreContent::init(), VisDetContent::init(), IgConfigElement::initConfiguration(), VisEventMenu::initEventProcessor(), IgServerSocket::initialize(), Ig2DWindow::initMenu(), IgRZWindow::initMenu(), Ig3DWindow::initMenu(), IgLegoWindow::initMenu(), IgRPhiWindow::initMenu(), Ig3DBaseWindow::initMenu(), IgSpareWindow::initMenu(), IgSpareWindow::initToolBar(), IgRPhiWindow::initToolBar(), IgLegoWindow::initToolBar(), IgRZWindow::initToolBar(), Ig3DWindow::initToolBar(), Ig3DBaseWindow::initToolBar(), Ig3DBaseBrowser::initWidget(), IgQtObjectMenu::insertFromDefs(), IgQtAppMenuService::insertItem(), IgWizard::insertPage(), IgQtObjectMenu::insertSeparator(), IgPluginFactoryImpl< Proto >::installFactory(), VisG4FilterTable::instance(), IgQtAppMenuService::isIdThere(), IgQtObjectMenu::isItemActive(), IgQtObjectMenu::isItemChecked(), IgControlCategory::isItemEditable(), IgQtObjectMenu::isItemEnabled(), IgControlCategory::itemChanged(), IgQtObjectMenu::itemPosition(), IgModule::library(), Ig3DLightsCategory::lightTypeChanged(), lat::Sequence< T >::limits(), IgSoMaterialMap::load(), Ig3DViewpointsCategory::load(), IgApplication::loadDriver(), VisEventSetupService::localPositions(), VisLocalPosition::localPositions(), VisTrackerRechit2DTwig::localPositions(), IgRepSet::lookup(), Ig3DBaseModel::lookup(), Ig3DBaseRep::magic(), IgSoTwig::magic(), Ig3DVectorBaseControl::makeControl(), Ig3DGridCategory::makeCustomOne(), IgControlBase::makeIndentedLabel(), Ig3DLightsCategory::makeOne(), Ig3DAnimsCategory::makeOne(), Ig3DSlicersCategory::makeOne(), Ig3DClipsCategory::makeOne(), Ig3DGridCategory::makeOne(), VisG4VisSceneHandler::makeScreenMarker(), VisG4VisSceneHandler::makeWorldMarker(), Ig3DNodeCategory::manipulateItem(), Ig3DVectorBaseControl::maxAxisAlign(), IgQtObjectMenuService::menu(), IgTwigOps::menuAction(), IgTwigOps::menuUpdate(), VisEventContentTwigOps::menuUpdate(), VisG4TwigOps::menuUpdate(), Ig3DVectorBaseControl::minAxisAlign(), MMM_DEFUN_FUNC(), VisRootBrowser::modelChanged(), IgMatEdModificationAction::modifyMaterial(), IgPluginInfo::module(), IgModuleDef::module(), IgOIVBrowser::moveCameraScreen(), VisEventContentTwig::name(), IgPluginInfo::name(), VisG4VolumeTwig::name(), IgQtRangeMControl::newIndex(), IgMatEdMainWidget::newMaterial(), VisG4MaterialFilter::next(), lat::Sequence< T >::next(), IgWizard::next(), Ig3DBaseRep::node(), IgSoTwig::node(), IgPluginInfo::noFactory(), Ig3DUnitVec3fControl::normalize(), Ig3DObjectCategory< T >::object(), Ig3DBaseBrowser::onDeselect(), VisTrackerRechit2DMatchedTwig::onNewEvent(), VisTrajectorySeedTwig::onNewEvent(), VisCaloGeometryTwig::onNewEvent(), VisCSCGeometryTwig::onNewEvent(), VisCuTkGeometryTwig::onNewEvent(), VisTrackerGeometryTwig::onNewEvent(), VisRPCGeometryTwig::onNewEvent(), VisDTGeometryTwig::onNewEvent(), VisL1GlobalTriggerReadoutRecordTwig::onNewEvent(), VisEventContentTwig::onPreEvent(), Ig3DBaseBrowser::onSelect(), InfoByType< T >::operator()(), lat::Time::operator+=(), lat::Time::operator-=(), lat::operator<<(), IgQtAppLoopService::override(), IgWizard::page(), VisCuTkMap2D::paintEvent(), IgModuleCache::parse(), VisG4VolumeTwig::path(), IgQtTwigRep::pixmapForState(), IgControlCategory::popIndent(), IgQtAppLoopService::post(), VisG4VisSceneHandler::PostAddSolid(), edm::service::IguanaService::postEventProcessing(), postMake3DRep(), postMakeXMLRep(), IgQtObjectMenuService::postUpdate(), VisG4VisSceneHandler::PreAddSolid(), preMake3DRep(), preMakeXMLRep(), IgQtAppLoopService::prepare(), Ig3DBaseBrowser::printVector(), Ig3DWindow::printViews(), VisQueueProcessor::process(), VisEventMenu::processOneEvent(), IgControlCategory::pushIndent(), IgState::put(), IgModule::query(), IgQtObjectMenuService::realMenu(), Ig3DLightsCategory::reconstruct(), IgModuleCache::reconstruct(), Ig3DClipsCategory::reconstruct(), Ig3DAnimsCategory::reconstruct(), Ig3DViewpointsCategory::reconstruct(), Ig3DSlicersCategory::reconstruct(), Ig3DGridCategory::reconstruct(), IgQtAppLoopService::recover(), VisConfigEditor::refreshBtn_clicked(), IgRPhiViewPropertiesCategory::registerBrowser(), Ig3DNodeCategory::registerBrowser(), Ig2DViewPropertiesCategory::registerBrowser(), IgLegoViewPropertiesCategory::registerBrowser(), Ig3DClipsCategory::registerBrowser(), IgCommonViewCategory::registerBrowser(), Ig3DSlicersCategory::registerBrowser(), Ig3DViewpointsCategory::registerBrowser(), IgRZViewPropertiesCategory::registerBrowser(), IgSpareViewPropertiesCategory::registerBrowser(), Ig3DLightsCategory::registerBrowser(), Ig3DAnimsCategory::registerBrowser(), Ig3DGridCategory::registerBrowser(), IgPage::registerView(), edm::service::IguanaService::registry(), VisG4TrackPtTwig::rejectTrajectory(), IgModuleDef::release(), IgDispatcher< Message >::remove(), IgRepSet::remove(), IgStateKey::remove(), Ig3DObjectCategory< T >::remove(), IgTwig::remove(), Ig3DBaseModel::remove(), IgCompoundTwig::remove(), IgControlCentre::removeCategory(), IgTwig::removed(), IgPluginManager::removeFactory(), IgQtObjectMenu::removeFromDefs(), Ig3DGridCategory::removeGrids(), IgPluginFactoryImplBase< Types >::removeInfo(), IgPluginManager::removeInfo(), IgQtObjectMenu::removeItem(), IgControlCategory::removeItem(), IgWizard::removePage(), Ig3DObjectCategory< T >::rename(), Ig3DWindow::repClip(), Ig3DClipsCategory::repClips(), Ig3DGridCategory::repGrids(), Ig3DObjectCategory< T >::replace(), replaceWithRegexp(), Ig2DRep::repositionChildren(), Ig3DBaseBrowser::repSeekTo(), Ig3DWindow::repSlice(), Ig3DSlicersCategory::repSlicers(), lat::IOSelectMethod::request(), IgQtObjectMenuService::request(), lat::Sequence< T >::reset(), Ig3DMBoolControl::resize(), IgQtRangeMValue< short >::resize(), Ig3DMStringControl::resize(), Ig3DMColorControl::resize(), IgPluginManager::restore(), IgControlCentre::revert(), IgDocumentData::root(), Ig3DViewpointsCategory::save(), IgConfigElement::save(), IgOIVBrowser::saveHomePosition(), Ig3DNodeCategory::saveNode(), Ig3DNodeCategory::saveSettings(), IgModuleCache::scanModules(), IgQtAppLoopService::schedule(), VisQueueProcessor::scheduleAbort(), VisQueueProcessor::scheduleNextEvent(), VisG4VolumeTwig::select(), Ig3DBaseBrowser::select(), IgControlCentre::selectCategory(), IgControlCentre::selectIconItem(), lat::Sequence< T >::Sequence(), IgQtAxisAlignment::setAlign(), IgExaminerViewerCategory::setBufferType(), IgOIVBrowser::setCamera(), Ig3DViewpointsCategory::setCamera(), IgOIVBrowser::setCameraType(), VisRootModel::setCanvasSubdivisions(), IgTwig::setCascadeAttribute(), IgQtTwigRep::setCheck(), IgQtTreeRep::setCheck(), IgControlCategory::setCurrentItem(), Ig2DViewPropertiesCategory::setCuttingPlane(), Ig2DModel::setCutTransform(), IgQtObjectMenu::setDummy(), Ig3DCameraUtils::setFocalPoint(), IgExaminerViewerCategory::setInteractiveDrawStyle(), IgQtObjectMenu::setItemChecked(), IgControlCategory::setItemEditable(), IgQtObjectMenu::setItemEnabled(), IgQtObjectMenu::setItemParameter(), VisCuTkSlWindow::setMap(), Ig3DVectorBaseControl::setMaxAxisAlign(), Ig3DVectorBaseControl::setMinAxisAlign(), IgTwig::setNameAttribute(), IgGLRenderCategory::setPassUpdate(), IgExaminerViewerCategory::setStillDrawStyle(), IgView::setTitle(), VisCuTkMapWindow::setTracker(), VisCuTkSlWindow::setTracker(), IgGLRenderCategory::setTransparencyType(), IgTwig::setTraverseAttribute(), IgNTupleAppSetup::setup(), VisApplicationMain::setup(), IgNTupleAppMain::setup(), IgOIVExtension::setup(), VisSimMain::setup(), VisG4ExampleSetup::setup(), VisMagFieldDemoMain::setup(), IgStudioDriver::setupMainWindow(), IgStudioDriver::setupSession(), IgQtRangeMValueFloat::setValue(), IgQtRangeMValue< short >::setValue(), Ig3DEnumControl::setValue(), Ig3DVectorBaseControl::setValue(), Ig3DUnitVec3fControl::setValues(), Ig3DViewpointsCategory::setViewpoint(), IgTwig::setVisibleAttribute(), Ig3DBaseWindow::show(), IgPage::showFullScreen(), IgControlBase::showLayout(), IgPage::showMaximized(), IgQtAppDebug::showProfiler(), Ig3DBaseWindow::showToolbar(), IgOIVBrowser::spin(), VisG4UIManager::start(), IgQtObjectMenu::subMenuPosition(), lat::Time::Time(), Ig3DLightsCategory::toggleOne(), IgModuleDescriptor::token(), Ig3DBaseWindow::toolbarVisibilityChanged(), IgWebTreeService::twigMenu(), IgNTupleModel::unlisten(), Ig3DBaseModel::unlisten(), IgSimpleTextModel::unlisten(), VisRootModel::untrackRep(), VisHORecHitTwig::update(), VisRPCGeometryTwig::update(), VisEcalRecHitTwig::update(), VisTrackerGeometryTwig::update(), VisPCaloHitTwig::update(), VisPSimHitTwig::update(), VisEcalUncalibratedRecHitTwig::update(), VisTkRecTrackDetsTwig::update(), VisBasicClusterTwig::update(), VisHBHERecHitTwig::update(), IgQtAppDebugPluginsInfo::update(), IgQtAppDumpStateInfo::update(), VisHFRecHitTwig::update(), VisG4TracksTwig::update(), VisBasicClusterCollectionTwig::update(), VisSuperClusterCollectionTwig::update(), VisCaloJetTwig::update(), VisCaloTowerTwig::update(), VisCandidateTwig::update(), VisG4TrackPtTwig::update(), VisDTGeometryTwig::update(), IgQtAppDebugLibrariesInfo::update(), VisCaloGeometryTwig::update(), VisCSCGeometryTwig::update(), VisQueuedTwig::update(), VisG4GeometryTwig::update(), VisSuperClusterTwig::update(), IgQtAppDebugResourceInfo::update(), IgExaminerViewerCategory::updateBufferType(), IgExaminerViewerCategory::updateBufferTypeHelp(), IgExaminerViewerCategory::updateInteractiveDrawStyle(), IgExaminerViewerCategory::updateInteractiveDrawStyleHelp(), IgExaminerViewerCategory::updateStillDrawStyle(), IgExaminerViewerCategory::updateStillDrawStyleHelp(), IgGLRenderCategory::updateTransparencyType(), IgGLRenderCategory::updateTransparencyTypeHelp(), Ig3DVectorBaseControl::value(), IgQtRangeMValue< short >::value(), IgQtRangeMValue< short >::valueChange(), Ig3DBaseWindow::viewingModeCallback(), Ig2DBrowser::viewPlaneX(), Ig2DBrowser::viewPlaneY(), Ig2DBrowser::viewPlaneZ(), VisAppearanceService::VisAppearanceService(), VisApplicationMain::VisApplicationMain(), VisConfiguration::VisConfiguration(), VisContent::VisContent(), VisCSCChamberSelectorImplService::VisCSCChamberSelectorImplService(), VisCSCStackPlotService::VisCSCStackPlotService(), VisDetIvTwig::VisDetIvTwig(), VisEventContentTwig::VisEventContentTwig(), VisEventMenu::VisEventMenu(), VisEventObserver::VisEventObserver(), VisEventProcessorService::VisEventProcessorService(), VisEventSetupService::VisEventSetupService(), VisExceptionService::VisExceptionService(), VisG4EventStatus::VisG4EventStatus(), VisG4ExampleParametrisation::VisG4ExampleParametrisation(), VisG4ExampleSetup::VisG4ExampleSetup(), VisG4UIManager::VisG4UIManager(), VisG4VisManager::VisG4VisManager(), VisG4VolumeTwig::VisG4VolumeTwig(), VisHcalDetTwig::VisHcalDetTwig(), VisHtmlRootBrowser::VisHtmlRootBrowser(), VisL1FilterService::VisL1FilterService(), VisMagFieldDemoMain::VisMagFieldDemoMain(), VisMainProgram::VisMainProgram(), VisQueue::VisQueue(), VisQueuedTwig::VisQueuedTwig(), VisQueueProcessor::VisQueueProcessor(), VisRootBrowser::VisRootBrowser(), VisSimMain::VisSimMain(), VisSimQtActions::VisSimQtActions(), VisTwigFactroyService::VisTwigFactroyService(), IgWebServiceProxy::webService(), edm::service::IguanaService::write(), edm::service::IguanaService::writeES(), Ig3DBaseRep::zap(), Ig3DRotationControl::zForY90(), Ig3DBaseRep::~Ig3DBaseRep(), IgDocumentData::~IgDocumentData(), IgMatEdMainWidget::~IgMatEdMainWidget(), IgModule::~IgModule(), IgModuleCache::~IgModuleCache(), IgNTupleAppMain::~IgNTupleAppMain(), IgNTupleAppSetup::~IgNTupleAppSetup(), IgPluginFactoryBase::~IgPluginFactoryBase(), IgPluginInfo::~IgPluginInfo(), IgQtAppContextService::~IgQtAppContextService(), IgQtAppCrashAlertService::~IgQtAppCrashAlertService(), IgQtAppDebugService::~IgQtAppDebugService(), IgQtAppHelpService::~IgQtAppHelpService(), IgQtAppLoopService::~IgQtAppLoopService(), IgQtAppMenuService::~IgQtAppMenuService(), IgQtAppStatusBarService::~IgQtAppStatusBarService(), IgQtAppToolBarService::~IgQtAppToolBarService(), IgQtAppWindowService::~IgQtAppWindowService(), IgQtObjectMenuService::~IgQtObjectMenuService(), IgQtTreeRep::~IgQtTreeRep(), IgQtTwigRep::~IgQtTwigRep(), IgRepContext::~IgRepContext(), IgSimpleTextRep::~IgSimpleTextRep(), IgSoTwig::~IgSoTwig(), IgUIDRep::~IgUIDRep(), IgView::~IgView(), IgXMLModel::~IgXMLModel(), IgXMLRep::~IgXMLRep(), VisAppearanceService::~VisAppearanceService(), VisConfigurable::~VisConfigurable(), VisConfiguration::~VisConfiguration(), VisContent::~VisContent(), VisCSCChamberSelectorImplService::~VisCSCChamberSelectorImplService(), VisCSCStackPlotService::~VisCSCStackPlotService(), VisEventMenu::~VisEventMenu(), VisEventProcessorService::~VisEventProcessorService(), VisEventSetupService::~VisEventSetupService(), VisExceptionService::~VisExceptionService(), VisG4EventStatus::~VisG4EventStatus(), VisG4ExampleSetup::~VisG4ExampleSetup(), VisL1FilterService::~VisL1FilterService(), VisMainProgram::~VisMainProgram(), VisQueue::~VisQueue(), VisQueueProcessor::~VisQueueProcessor(), VisRootRep::~VisRootRep(), VisSimQtActions::~VisSimQtActions(), and VisTwigFactroyService::~VisTwigFactroyService().
#define ASSERT_ALWAYS | ( | f | ) |
Value:
((f)?(void)0: \ lat::DebugAids::failed (__FILE__,__LINE__,ASSERT_FUNC,#f))
If NDEBUG is defined, the expression will not be stringified, and hence will not show up in the assertion failure message. However the file name, line number and the name of the enclosing function will still be present.
Definition at line 84 of file DebugAids.h.
#define ASSERT_FUNC 0 |
Definition at line 17 of file DebugAids.h.
An assertion that verifies that the argument is a pointer to a valid object.
This macro checks that the argument expression results in a non-null pointer to an object and if so, invokes a type-specific AssertValid() validator function. If the the pointer check fails, invokes DebugAids::failed(). Only evaluates the argument once.
A common usage of this macro is to say ASSERT_VALID(this)
in the beginning of every method in the class' public interface. This can catch problems quickly if something trashes the object's data members: the first use of the object thereafter will produce an assertion failure. If you do follow this convention, be careful how you use the class' public methods in its internal implementation. It is not a good idea to call a public method in the implementation of another method if the former uses ASSERT_VALID and the latter has left the internal state inconsitent (presumably because it is not done yet).
Definition at line 93 of file DebugAids.h.
#define VERIFY | ( | f | ) |
Value:
((f)?(void)0: \ lat::DebugAids::failed (__FILE__,__LINE__,ASSERT_FUNC,#f))
This macro is unlike ASSERT_ALWAYS in that if NDEBUG is defined and the expression evaluates to false
, DebugAids::failed() will not be invoked.
Definition at line 90 of file DebugAids.h.
Referenced by Ig3DClipsCategory::deleteOne(), Ig3DGridCategory::deleteOne(), Ig3DSlicersCategory::deleteOne(), drawSolidParts(), IgQtObjectMenu::insertFromDefs(), IgModule::load(), VisG4UIShell::VisG4UIShell(), and IgRepSet::~IgRepSet().