SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::helper::ptr_stable_compare< std::pair< T *, 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() (const std::pair< T *, T * > &a, const std::pair< T *, T * > &b) const
 
 ptr_stable_compare (ptr_stable_id< T > *ids)
 
ptr_stable_id< T > * get_stable_id_map () const
 

Attribute details

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

memory is owned by the map_ptr_stable_compare instance

Constructor details

template<typename T >
sofa::helper::ptr_stable_compare< std::pair< T *, T * > >::ptr_stable_compare ( ptr_stable_id< T > *  ids)
inlineexplicit

Function details

template<typename T >
ptr_stable_id<T>* sofa::helper::ptr_stable_compare< std::pair< T *, T * > >::get_stable_id_map ( ) const
inline
template<typename T >
bool sofa::helper::ptr_stable_compare< std::pair< T *, T * > >::operator() ( const std::pair< T *, T * > &  a,
const std::pair< T *, T * > &  b 
) const
inline