DGtal 0.3.0
Namespaces | Defines

Assert.h File Reference

#include <iostream>
#include <boost/assert.hpp>
Include dependency graph for Assert.h:

Go to the source code of this file.

Namespaces

namespace  DGtal

Defines

#define Assert_RECURSES
#define Assert_h
#define ASSERT(expr)   BOOST_ASSERT(expr)
#define ASSERT2(expr, str)   trace.error()<<str<<std::endl; BOOST_ASSERT(expr)
#define ASSERT_ALL_PRE(expr)

Detailed Description

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Author:
David Coeurjolly (david.coeurjolly@liris.cnrs.fr ) Laboratoire d'InfoRmatique en Image et Systèmes d'information - LIRIS (CNRS, UMR 5205), CNRS, France
Date:
2010/05/15

This file is part of the DGtal library.

Definition in file Assert.h.


Define Documentation

#define ASSERT (   expr)    BOOST_ASSERT(expr)

DGtal Assert function. At this point, it is just a redirect to the boost/assert.hpp macro.

Definition at line 56 of file Assert.h.

Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstRange::begin(), DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::OrderedAlphabet::duvalPP(), DGtal::OrderedAlphabet::duvalPPMod(), DGtal::FreemanChain< TInteger >::findQuadrantChange(), DGtal::FreemanChain< TInteger >::findQuadrantChange4(), DGtal::FreemanChain< TInteger >::ConstIterator::getCode(), DGtal::HyperRectDomain_Iterator< TPoint >::HyperRectDomain_Iterator(), DGtal::HyperRectDomain_subIterator< TPoint >::HyperRectDomain_subIterator(), DGtal::HyperRectDomain_subIterator< TPoint >::nextSubDomainOrder(), DGtal::FreemanChain< TInteger >::ConstIterator::operator!=(), DGtal::HyperRectDomain_subIterator< TPoint >::operator*(), DGtal::HyperRectDomain_Iterator< TPoint >::operator*(), DGtal::FreemanChain< TInteger >::ConstIterator::operator<(), DGtal::FreemanChain< TInteger >::ConstIterator::operator==(), DGtal::ImageContainerBySTLVector< TDomain, TValue >::SpanIterator::prev(), DGtal::HyperRectDomain_subIterator< TPoint >::prevSubDomainOrder(), DGtal::HyperRectDomain< TSpace >::ConstRange::rbegin(), DGtal::SeparableMetricTraits< TAbscissa, TInternalValue, 0 >::reversedSep(), DGtal::SeparableMetricTraits< TAbscissa, TInternalValue, 1 >::reversedSep(), DGtal::SeparableMetricTraits< Integer, IntegerLong, p >::reversedSep(), DGtal::SeparableMetricTraits< Integer, IntegerLong, p >::Sep(), DGtal::ImageContainerBySTLMap< Domain, Value >::setValue(), DGtal::SpaceND< dim, TInteger >::subcospace(), DGtal::SpaceND< dim, TInteger >::subspace(), and testExtendRetract().

#define ASSERT2 (   expr,
  str 
)    trace.error()<<str<<std::endl; BOOST_ASSERT(expr)

Definition at line 58 of file Assert.h.

#define ASSERT_ALL_PRE (   expr)

Definition at line 63 of file Assert.h.

#define Assert_h

Prevents repeated inclusion of headers.

Definition at line 39 of file Assert.h.

#define Assert_RECURSES

Prevents recursive inclusion of headers.

Definition at line 35 of file Assert.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines