27#ifndef CASA_LINEARSEARCH_H
28#define CASA_LINEARSEARCH_H
31#include <casacore/casa/aips.h>
121template<
class Container,
class ElType>
124template<
class Container,
class ElType>
128template<
class Container,
class ElType>
131template<
class Container,
class ElType>
141#ifndef CASACORE_NO_AUTO_TEMPLATES
142#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.