ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

algorithm.h File Reference

#include "common/scummsys.h"
#include "common/func.h"
#include "common/util.h"
Include dependency graph for algorithm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Common
 

Internal interface to the QuickTime audio decoder.


Functions

template<class In , class Out >
Out Common::copy (In first, In last, Out dst)
 Copies data from the range [first, last) to [dst, dst + (last - first)).
template<class In , class Out >
Out Common::copy_backward (In first, In last, Out dst)
 Copies data from the range [first, last) to [dst - (last - first), dst).
template<class In , class Out , class Op >
Out Common::copy_if (In first, In last, Out dst, Op op)
 Copies data from the range [first, last) to [dst, dst + (last - first)).
template<class Value >
signed char * Common::fill (signed char *first, signed char *last, Value val)
template<class Value >
unsigned char * Common::fill (unsigned char *first, unsigned char *last, Value val)
template<class Value >
char * Common::fill (char *first, char *last, Value val)
template<class In , class Value >
In Common::fill (In first, In last, const Value &val)
 Sets all elements in the range [first, last) to val.
template<class In , class T >
In Common::find (In first, In last, const T &v)
 Finds the first data value in the range [first, last) matching v.
template<class In , class Pred >
In Common::find_if (In first, In last, Pred p)
 Finds the first data value in the range [first, last) for which the specified predicate p returns true.
template<class In , class Op >
Op Common::for_each (In first, In last, Op f)
 Applies the function f on all elements of the range [first, last).
template<typename T >
unsigned int Common::distance (T *first, T *last)
template<typename T >
unsigned int Common::distance (T first, T last)
template<typename T >
T * Common::sortChoosePivot (T *first, T *last)
template<typename T >
Common::sortChoosePivot (T first, T last)
template<typename T , class StrictWeakOrdering >
Common::sortPartition (T first, T last, T pivot, StrictWeakOrdering &comp)
template<typename T , class StrictWeakOrdering >
void Common::sort (T first, T last, StrictWeakOrdering comp)
 Simple sort function, modeled after std::sort.
template<typename T >
void Common::sort (T *first, T *last)
 Simple sort function, modeled after std::sort.
template<class T >
void Common::sort (T first, T last)
template<class T >
Common::gcd (T a, T b)
 Euclid's algorithm to compute the greatest common divisor.
template<class It , class Dat >
void Common::replace (It begin, It end, const Dat &original, const Dat &replaced)
 Replacement algorithm for iterables.


Generated on Sat Jul 13 2019 05:01:38 for ResidualVM by doxygen 1.7.1
curved edge   curved edge