SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::ptr_stable_compare< T * > Class Template Reference

#include <map_ptr_stable_compare.h>

Protected Attributes

ptr_stable_id< T > * m_ids
 memory is owned by the map_ptr_stable_compare instance More...
 

Public Member Functions

bool operator() (T *a, T *b) const
 
 ptr_stable_compare (const ptr_stable_id< T > *ids)
 

Attribute details

template<typename T >
ptr_stable_id<T>* sofa::helper::ptr_stable_compare< T * >::m_ids
mutableprotected

memory is owned by the map_ptr_stable_compare instance

Constructor details

template<typename T >
sofa::helper::ptr_stable_compare< T * >::ptr_stable_compare ( const ptr_stable_id< T > *  ids)
inlineexplicit

Function details

template<typename T >
bool sofa::helper::ptr_stable_compare< T * >::operator() ( T *  a,
T *  b 
) const
inline