arrutil.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename FirstItem, typename SecondItem>
bool isEqualTo (const FirstItem &x, const SecondItem &y)
template<typename FirstItem, typename SecondItem>
bool isLessThan (const FirstItem &x, const SecondItem &y)
template<typename FirstItem, typename SecondItem>
bool isGreaterThan (const FirstItem &x, const SecondItem &y)
template<typename ArrayType, typename ElemType>
long count_if (const ArrayType &arr, long low, long high, const ElemType &dummy, bool(*if_this)(const ElemType &))
template<typename ArrayType, typename ElemType, typename ItemType>
long count_if (const ArrayType &arr, long low, long high, const ItemType &item, const ElemType &dummy, bool(*if_this)(const ElemType &, const ItemType &))
template<typename ArrayType, typename ItemType, typename IfFunc>
long count_nonconseq_if (const ArrayType &arr, long low, long high, const ItemType &item, IfFunc &if_this)
template<typename ArrayType, typename IfFunc>
long count_nonconseq_if (const ArrayType &arr, long low, long high, IfFunc &if_this)
template<typename ArrayType, typename ItemType, typename IfFunc>
long find_if (const ArrayType &arr, long low, long high, const ItemType &item, const IfFunc &if_this)
template<typename ArrayType, typename ItemType, typename IfFunc>
long find_if (const ArrayType &arr, long low, long high, const ItemType &item, IfFunc &if_this)
template<typename ArrayType, typename Function>
void for_each (ArrayType &arr, long low, long high, const Function &do_this)
template<typename ArrayType, typename Function>
void for_each (ArrayType &arr, long low, long high, Function &do_this)


Function Documentation

template<typename ArrayType, typename ElemType, typename ItemType>
long count_if ( const ArrayType &  arr,
long  low,
long  high,
const ItemType &  item,
const ElemType &  dummy,
bool(*)(const ElemType &, const ItemType &)  if_this 
) [inline]

Definition at line 35 of file arrutil.h.

template<typename ArrayType, typename ElemType>
long count_if ( const ArrayType &  arr,
long  low,
long  high,
const ElemType &  dummy,
bool(*)(const ElemType &)  if_this 
) [inline]

Definition at line 22 of file arrutil.h.

template<typename ArrayType, typename IfFunc>
long count_nonconseq_if ( const ArrayType &  arr,
long  low,
long  high,
IfFunc &  if_this 
) [inline]

Definition at line 68 of file arrutil.h.

template<typename ArrayType, typename ItemType, typename IfFunc>
long count_nonconseq_if ( const ArrayType &  arr,
long  low,
long  high,
const ItemType &  item,
IfFunc &  if_this 
) [inline]

Definition at line 49 of file arrutil.h.

template<typename ArrayType, typename ItemType, typename IfFunc>
long find_if ( const ArrayType &  arr,
long  low,
long  high,
const ItemType &  item,
IfFunc &  if_this 
) [inline]

Definition at line 97 of file arrutil.h.

template<typename ArrayType, typename ItemType, typename IfFunc>
long find_if ( const ArrayType &  arr,
long  low,
long  high,
const ItemType &  item,
const IfFunc &  if_this 
) [inline]

Definition at line 86 of file arrutil.h.

Here is the caller graph for this function:

template<typename ArrayType, typename Function>
void for_each ( ArrayType &  arr,
long  low,
long  high,
Function &  do_this 
) [inline]

Definition at line 117 of file arrutil.h.

template<typename ArrayType, typename Function>
void for_each ( ArrayType &  arr,
long  low,
long  high,
const Function &  do_this 
) [inline]

Definition at line 108 of file arrutil.h.

Here is the caller graph for this function:

template<typename FirstItem, typename SecondItem>
bool isEqualTo ( const FirstItem &  x,
const SecondItem &  y 
) [inline]

Definition at line 7 of file arrutil.h.

template<typename FirstItem, typename SecondItem>
bool isGreaterThan ( const FirstItem &  x,
const SecondItem &  y 
) [inline]

Definition at line 17 of file arrutil.h.

template<typename FirstItem, typename SecondItem>
bool isLessThan ( const FirstItem &  x,
const SecondItem &  y 
) [inline]

Definition at line 12 of file arrutil.h.


Generated on Thu Oct 22 13:36:16 2009 for EmployeeInheritanceExample by  doxygen 1.5.5