SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::helper::WriteAccessor< VectorLikeType, std::enable_if_t< sofa::type::trait::is_vector< VectorLikeType >::value > > Class Template Reference

#include <WriteAccessor.h>

Inheritance diagram for sofa::helper::WriteAccessor< VectorLikeType, std::enable_if_t< sofa::type::trait::is_vector< VectorLikeType >::value > >:

Public Member Functions

 WriteAccessor (container_type &c)
 
- Public Member Functions inherited from sofa::helper::WriteAccessorVector< VectorLikeType >
 WriteAccessorVector (container_type &container)
 
bool empty () const
 
Size size () const
 
void reserve (Size s)
 
reference operator[] (Size pos)
 
const_reference operator[] (Size pos) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
const_iterator begin () const
 
iterator begin ()
 
const_iterator end () const
 
iterator end ()
 
void clear ()
 
void resize (Size s)
 
iterator insert (const_iterator pos, const VectorLikeType &value)
 
iterator erase (iterator pos)
 
iterator erase (const_iterator pos)
 
void push_back (const value_type &v)
 
reference emplace_back (Args &&... args)
 
void pop_back ()
 
 operator container_type ()
 
container_typeoperator-> ()
 
const_container_typeoperator-> () const
 
container_typeoperator* ()
 
const_container_typeoperator* () const
 
container_typewref ()
 
 operator const_container_type () const
 
const container_typeref () const
 this one duplicate operator* More...
 

Additional Inherited Members

- Protected Attributes inherited from sofa::helper::WriteAccessorVector< VectorLikeType >
container_typevref
 

Constructor details

◆ WriteAccessor()

template<class VectorLikeType >
sofa::helper::WriteAccessor< VectorLikeType, std::enable_if_t< sofa::type::trait::is_vector< VectorLikeType >::value > >::WriteAccessor ( container_type c)
inline