CrystalSpace

Public API Reference

csutil/algorithms.h File Reference

General Algorithms. More...

Go to the source code of this file.

Namespaces

namespace  CS
 

Main namespace for CrystalSpace.


Functions

template<typename T , typename Fn , typename P1 , typename P2 , typename P3 >
Fn & CS::ForEach (T it, Fn &Func, P1 &p1, P2 &p2, P3 &p3)
 Iterate over all elements in the iterator and perform operation given by Func.
template<typename T , typename Fn , typename P1 , typename P2 >
Fn & CS::ForEach (T it, Fn &Func, P1 &p1, P2 &p2)
 Iterate over all elements in the iterator and perform operation given by Func.
template<typename T , typename Fn , typename P >
Fn & CS::ForEach (T it, Fn &Func, P &p)
 Iterate over all elements in the iterator and perform operation given by Func.
template<typename T , typename Fn >
Fn & CS::ForEach (T *start, T *end, Fn &Func)
 Iterate over all elements in the list and perform operation given by Func.
template<typename T , typename Fn >
Fn & CS::ForEach (T it, Fn &Func)
 Iterate over all elements in the iterator and perform operation given by Func.
template<typename T >
void CS::Swap (T &a, T &b)
 Swap two elements.

Detailed Description

General Algorithms.

Definition in file algorithms.h.


Generated for Crystal Space 2.1 by doxygen 1.6.1