30 #ifndef CASA_BINARYSEARCH_H
31 #define CASA_BINARYSEARCH_H
34 #include <casacore/casa/aips.h>
143 template<
class Container,
class ElType>
147 template<
class Container,
class ElType>
156 #ifndef CASACORE_NO_AUTO_TEMPLATES
157 #include <casacore/casa/Utilities/BinarySearch.tcc>
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
Int binarySearch(Bool &found, const Container &container, const ElType &value, uInt n, Int lower=0)
Search container for value.
Int binarySearchBrackets(Bool &found, const Container &container, const ElType &value, uInt n, Int lower=0)
This version of the function is for containers that use [] for indexing.