casa
5.7.0-16
|
#include <casacore/casa/aips.h>
#include <casacore/casa/Exceptions/Error.h>
#include <casacore/casa/Utilities/Assert.tcc>
Go to the source code of this file.
Classes | |
class | casacore::assert_< t > |
Utility class for Assert macros. More... | |
Namespaces | |
casacore | |
For temporary backward namespace compatibility, use casa as alias for casacore. | |
Macros | |
#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. More... | |
#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 casacore::ListIter< casacore::OrderedPair< key, val > >::addRight(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::atEnd(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::atStart(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::boxedArrayMath(), casacore::TableExprIdAggr::cast(), casacore::JsonValue::fillArray(), casa::SIMapperCollection::getFTM(), casa::SIMapperCollection::getFTM2(), casa::SIMapperCollection::getMapper(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::getRight(), casacore::ListIter< casacore::OrderedPair< key, val > >::getRight(), casa::MultiTermFTNew::getWeightImage(), casa::refim::MultiTermFTNew::getWeightImage(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::len(), makeArray(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::operator++(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::partialArrayMath(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::pos(), casacore::Block< casacore::String >::set_size(), casacore::python::stl_variable_capacity_policy::set_value(), casacore::MArrayMath_global_functions_MArray_mathematical_operations::slidingArrayMath(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::step(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::toEnd(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::toStart(), casa::MultiTermFTNew::useWeightImage(), and casa::refim::MultiTermFTNew::useWeightImage().
#define DebugAssert | ( | expr, | |
exception | |||
) |
Definition at line 185 of file Assert.h.
Referenced by casacore::ArrayMath_global_functions_Array_mathematical_operations::arrayContTransform(), casacore::BitVector::clearBit(), casacore::PowerLogarithmicPolynomialParam< AutoDiff< T > >::coefficient(), casacore::EvenPolynomialParam< AutoDiff< T > >::coefficient(), casacore::OddPolynomialParam< AutoDiff< T > >::coefficient(), casacore::PolynomialParam< casacore::casacore::AutoDiff< casacore::Float > >::coefficient(), casacore::SPolynomialParam< T >::coefficient(), casacore::CombiParam< AutoDiff< T > >::function(), casacore::CompoundParam< AutoDiff< T > >::function(), casa::CCList::nComp(), casa::CCList::nDim(), casa::CCList::nPol(), casacore::Function< Type >::operator()(), casacore::CompoundParam< AutoDiff< T > >::parameterFunction(), casacore::CompoundParam< AutoDiff< T > >::parameterLocation(), casacore::CompoundParam< AutoDiff< T > >::parameterOffset(), casacore::BitVector::setBit(), casacore::PowerLogarithmicPolynomialParam< AutoDiff< T > >::setCoefficient(), casacore::EvenPolynomialParam< AutoDiff< T > >::setCoefficient(), casacore::OddPolynomialParam< AutoDiff< T > >::setCoefficient(), casacore::PolynomialParam< casacore::casacore::AutoDiff< casacore::Float > >::setCoefficient(), casacore::SPolynomialParam< T >::setCoefficient(), casacore::Slice::Slice(), and casacore::TableExprNodeSet::toArray().