OpenMS  2.7.0
Namespaces | Functions
Helpers.h File Reference
#include <vector>
#include <boost/shared_ptr.hpp>
Include dependency graph for Helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OpenMS
 Main OpenMS namespace.
 
 OpenMS::Helpers
 

Functions

template<class T >
const std::vector< boost::shared_ptr< const T > > & constifyPointerVector (const std::vector< boost::shared_ptr< T > > &vec)
 Helper function to add constness to a vector of shared pointers. More...
 
template<class PtrType >
bool cmpPtrSafe (const PtrType &a, const PtrType &b)
 Helper comparing two pointers for equality (taking NULL into account) More...
 
template<class ContainerType >
bool cmpPtrContainer (const ContainerType &a, const ContainerType &b)
 Helper function to compare two pointer-containers for equality of all elements. More...