SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::core::objectmodel::LinkTraitsContainer< TDestType, TDestPtr, TValueType, false > Class Template Reference

#include <Link.h>

Static Public Member Functions

static void resize (T &c, size_t newsize)
 
static void clear (T &c)
 
static std::size_t add (T &c, TDestPtr v)
 
static std::size_t find (const T &c, TDestPtr v)
 
static void remove (T &c, std::size_t index)
 

Function details

◆ add()

template<class TDestType , class TDestPtr , class TValueType >
static std::size_t sofa::core::objectmodel::LinkTraitsContainer< TDestType, TDestPtr, TValueType, false >::add ( T c,
TDestPtr  v 
)
inlinestatic

◆ clear()

template<class TDestType , class TDestPtr , class TValueType >
static void sofa::core::objectmodel::LinkTraitsContainer< TDestType, TDestPtr, TValueType, false >::clear ( T c)
inlinestatic

◆ find()

template<class TDestType , class TDestPtr , class TValueType >
static std::size_t sofa::core::objectmodel::LinkTraitsContainer< TDestType, TDestPtr, TValueType, false >::find ( const T c,
TDestPtr  v 
)
inlinestatic

◆ remove()

template<class TDestType , class TDestPtr , class TValueType >
static void sofa::core::objectmodel::LinkTraitsContainer< TDestType, TDestPtr, TValueType, false >::remove ( T c,
std::size_t  index 
)
inlinestatic

◆ resize()

template<class TDestType , class TDestPtr , class TValueType >
static void sofa::core::objectmodel::LinkTraitsContainer< TDestType, TDestPtr, TValueType, false >::resize ( T c,
size_t  newsize 
)
inlinestatic