30 #ifndef CASA_LINEARSEARCH_H
31 #define CASA_LINEARSEARCH_H
34 #include <casacore/casa/aips.h>
124 template<
class Container,
class ElType>
127 template<
class Container,
class ElType>
131 template<
class Container,
class ElType>
134 template<
class Container,
class ElType>
144 #ifndef CASACORE_NO_AUTO_TEMPLATES
145 #include <casacore/casa/Utilities/LinearSearch.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 linearSearch1(const Container &container, const ElType &value, uInt lower=0)
Search container for value.
Int linearSearchBrackets(Bool &found, const Container &container, const ElType &value, uInt n, uInt lower=0)
Int linearSearch(Bool &found, const Container &container, const ElType &value, uInt n, uInt lower=0)
Int linearSearchBrackets1(const Container &container, const ElType &value, uInt lower=0)
This version of the function is for containers that use [] for indexing.