SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::simulation::NodeSequence< T, strong > Class Template Reference

#include <Node.h>

Inheritance diagram for sofa::simulation::NodeSequence< T, strong >:

Public Member Functions

 NodeSequence (const BaseLink::InitLink< Node > &init)
 
value_type operator[] (std::size_t i) const
 
void swap (iterator a, iterator b)
 Swap two values in the list. Uses a const_cast to violate the read-only iterators. More...
 

Additional Inherited Members

Constructor details

◆ NodeSequence()

template<class T , bool strong = false>
sofa::simulation::NodeSequence< T, strong >::NodeSequence ( const BaseLink::InitLink< Node > &  init)
inline

Function details

◆ operator[]()

template<class T , bool strong = false>
value_type sofa::simulation::NodeSequence< T, strong >::operator[] ( std::size_t  i) const
inline

◆ swap()

template<class T , bool strong = false>
void sofa::simulation::NodeSequence< T, strong >::swap ( iterator  a,
iterator  b 
)
inline

Swap two values in the list. Uses a const_cast to violate the read-only iterators.