26#ifndef CASA_LINEARSEARCH_H
27#define CASA_LINEARSEARCH_H
30#include <casacore/casa/aips.h>
119template <
class Container,
class ElType>
121template <
class Container,
class ElType>
125template <
class Container,
class ElType>
127template <
class Container,
class ElType>
135#ifndef CASACORE_NO_AUTO_TEMPLATES
136#include <casacore/casa/Utilities/LinearSearch.tcc>
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.
NewDelAllocator< T > NewDelAllocator< T >::value
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.