casacore
|
Go to the source code of this file.
Classes | |
class | casacore::assert_< t > |
Utility class for Assert macros. More... | |
Namespaces | |
casacore | |
this file contains all the compiler specific defines | |
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(), casacore::ConstListIter< casacore::OrderedPair< key, val > >::getRight(), casacore::ListIter< casacore::OrderedPair< key, val > >::getRight(), 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(), and casacore::ConstListIter< casacore::OrderedPair< key, val > >::toStart().
#define DebugAssert | ( | expr, | |
exception | |||
) |
Definition at line 185 of file Assert.h.
Referenced by casacore::BitVector::clearBit(), casacore::PowerLogarithmicPolynomialParam< AutoDiff< T > >::coefficient(), casacore::EvenPolynomialParam< AutoDiff< T > >::coefficient(), casacore::OddPolynomialParam< AutoDiff< T > >::coefficient(), casacore::PolynomialParam< AutoDiff< T > >::coefficient(), casacore::SPolynomialParam< T >::coefficient(), casacore::CombiParam< AutoDiff< T > >::function(), casacore::CompoundParam< AutoDiff< T > >::function(), casacore::Function< AutoDiffA< T >, AutoDiffA< T > >::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< AutoDiff< T > >::setCoefficient(), casacore::SPolynomialParam< T >::setCoefficient(), and casacore::TableExprNodeSet::toArray().