casa
$Rev:20696$
|
Go to the source code of this file.
Classes | |
class | casa::assert_< t > |
Utility class for Assert macros. More... | |
Namespaces | |
namespace | casa |
this file contains all the compiler specific defines | |
Defines | |
#define | AlwaysAssert(expr, exception) |
These marcos are provided for use instead of simply using the constructors of assert_ to allow addition of line numbers and file name in the future. | |
#define | AlwaysAssertExit(expr) |
#define | DebugAssert(expr, exception) |
#define | DebugAssertExit(expr) |
#define AlwaysAssert | ( | expr, | |
exception | |||
) |
These marcos are provided for use instead of simply using the constructors of assert_
to allow addition of line numbers and file name in the future.
DebugAssert
and AlwaysAssert
are designed to be used by library elements because they actually raise an exception which can later be later caught. DebugAssertExit
and AlwaysAssertExit
are intended to be used by the applications writer, because they cause an exit(0)
.
Definition at line 157 of file Assert.h.
Referenced by casa::ListIter< WCMotionEH * >::addRight(), casa::ConstListIter< WCMotionEH * >::atEnd(), casa::ConstListIter< WCMotionEH * >::atStart(), casa::ConstListIter< WCMotionEH * >::getRight(), casa::ListIter< WCMotionEH * >::getRight(), casa::ConstListIter< WCMotionEH * >::len(), casa::ConstListIter< WCMotionEH * >::operator++(), casa::ConstListIter< WCMotionEH * >::pos(), casa::ConstListIter< WCMotionEH * >::step(), casa::ConstListIter< WCMotionEH * >::toEnd(), and casa::ConstListIter< WCMotionEH * >::toStart().
#define AlwaysAssertExit | ( | expr | ) |
#define DebugAssert | ( | expr, | |
exception | |||
) |
Definition at line 185 of file Assert.h.
Referenced by casa::ArrayMath_global_functions_Array_mathematical_operations::arrayContTransform(), casa::BitVector::clearBit(), casa::EvenPolynomialParam< AutoDiff< T > >::coefficient(), casa::OddPolynomialParam< AutoDiff< T > >::coefficient(), casa::PolynomialParam< AutoDiff< Float > >::coefficient(), casa::SPolynomialParam< T >::coefficient(), casa::CombiParam< AutoDiff< T > >::function(), casa::CompoundParam< AutoDiff< Double > >::function(), casa::TableLogSink::location(), casa::TableLogSink::message(), casa::CCList::nComp(), casa::CCList::nDim(), casa::CCList::nPol(), casa::TableLogSink::objectID(), casa::Function< AutoDiffA< T >, AutoDiffA< T > >::operator()(), casa::CompoundParam< AutoDiff< Double > >::parameterFunction(), casa::CompoundParam< AutoDiff< Double > >::parameterLocation(), casa::CompoundParam< AutoDiff< Double > >::parameterOffset(), casa::TableLogSink::priority(), casa::BitVector::setBit(), casa::EvenPolynomialParam< AutoDiff< T > >::setCoefficient(), casa::OddPolynomialParam< AutoDiff< T > >::setCoefficient(), casa::PolynomialParam< AutoDiff< Float > >::setCoefficient(), casa::SPolynomialParam< T >::setCoefficient(), casa::Slice::Slice(), and casa::TableLogSink::time().
#define DebugAssertExit | ( | expr | ) |