MeVis/Foundation/Sources/MLUtilities/mlStdAlgorithms.h File Reference

#include "mlUtilsSystem.h"
#include <algorithm>

Go to the source code of this file.


Namespaces

namespace  ml
 Define the namespace name like in the ML. Default is ml.

Functions

template<typename T >
bool ml::vector_contains (const std::vector< T > &vec, const T &value)
 Helper template that searches for value in given vector vec and returns true if it was found.
template<typename T >
bool ml::vector_remove (std::vector< T > &vec, const T &value)
 Helper template that removes the first occurrence of value in given vector vec and returns true if it was found.
template<typename T >
void ml::vector_remove_all (std::vector< T > &vec, const T &value)
 Helper template that removes the first occurrence of value in given vector vec and returns true if it was found.
template<typename T >
bool ml::vector_replace_by_NULL (std::vector< T > &vec, const T &value)
 Helper template that replaces the first occurrence of value in given vector vec with NULL and returns true if it was found.


Detailed Description

Author:
Florian Link
Date:
2010-06

Definition in file mlStdAlgorithms.h.


Generated on Sat Sep 3 18:37:43 2011 for MLReference by  doxygen 1.5.8