MeVisLab Toolbox Reference
|
#include "mlUtilsSystem.h"
#include <ThirdPartyWarningsDisable.h>
#include <algorithm>
#include <vector>
#include <ThirdPartyWarningsRestore.h>
Go to the source code of this file.
Namespaces | |
namespace | ml |
Main documentation file for ML users and developers. | |
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 all occurrences of value in given vector vec . | |
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. | |