SOFA API  eb9fe59f
Open source framework for multi-physics simuation
sofa::helper::WriteAccessorFixedArray< T > Class Template Reference

#include <WriteAccessorFixedArray.h>

WriteAccessor implementation class for fixed array types. More...

Inheritance diagram for sofa::helper::WriteAccessorFixedArray< T >:

Detailed Description

template<type::trait::is_fixed_array T>
class sofa::helper::WriteAccessorFixedArray< T >

WriteAccessor implementation class for fixed array types.

Protected Attributes

container_typevref
 

Public Member Functions

 WriteAccessorFixedArray (container_type &container)
 
bool empty () const
 
size_type size () const
 
reference operator[] (size_type pos)
 
const_reference operator[] (size_type 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 ()
 
 operator container_type ()
 
container_typeoperator-> ()
 
container_typeoperator* ()
 
container_typewref ()
 
 operator const_container_type () const
 
const_container_typeoperator-> () const
 
const_container_typeoperator* () const
 
const container_typeref () const
 this one duplicate operator* More...
 

Attribute details

◆ vref

template<type::trait::is_fixed_array T>
container_type* sofa::helper::WriteAccessorFixedArray< T >::vref
protected

Constructor details

◆ WriteAccessorFixedArray()

template<type::trait::is_fixed_array T>
sofa::helper::WriteAccessorFixedArray< T >::WriteAccessorFixedArray ( container_type container)
inline

Function details

◆ back() [1/2]

template<type::trait::is_fixed_array T>
reference sofa::helper::WriteAccessorFixedArray< T >::back ( )
inline

◆ back() [2/2]

template<type::trait::is_fixed_array T>
const_reference sofa::helper::WriteAccessorFixedArray< T >::back ( ) const
inline

◆ begin() [1/2]

template<type::trait::is_fixed_array T>
iterator sofa::helper::WriteAccessorFixedArray< T >::begin ( )
inline

◆ begin() [2/2]

template<type::trait::is_fixed_array T>
const_iterator sofa::helper::WriteAccessorFixedArray< T >::begin ( ) const
inline

◆ empty()

template<type::trait::is_fixed_array T>
bool sofa::helper::WriteAccessorFixedArray< T >::empty ( ) const
inline

◆ end() [1/2]

template<type::trait::is_fixed_array T>
iterator sofa::helper::WriteAccessorFixedArray< T >::end ( )
inline

◆ end() [2/2]

template<type::trait::is_fixed_array T>
const_iterator sofa::helper::WriteAccessorFixedArray< T >::end ( ) const
inline

◆ front() [1/2]

template<type::trait::is_fixed_array T>
reference sofa::helper::WriteAccessorFixedArray< T >::front ( )
inline

◆ front() [2/2]

template<type::trait::is_fixed_array T>
const_reference sofa::helper::WriteAccessorFixedArray< T >::front ( ) const
inline

◆ operator const_container_type()

template<type::trait::is_fixed_array T>
sofa::helper::WriteAccessorFixedArray< T >::operator const_container_type ( ) const
inline

◆ operator container_type()

template<type::trait::is_fixed_array T>
sofa::helper::WriteAccessorFixedArray< T >::operator container_type ( )
inline

◆ operator*() [1/2]

template<type::trait::is_fixed_array T>
container_type& sofa::helper::WriteAccessorFixedArray< T >::operator* ( )
inline

◆ operator*() [2/2]

template<type::trait::is_fixed_array T>
const_container_type& sofa::helper::WriteAccessorFixedArray< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<type::trait::is_fixed_array T>
container_type* sofa::helper::WriteAccessorFixedArray< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<type::trait::is_fixed_array T>
const_container_type* sofa::helper::WriteAccessorFixedArray< T >::operator-> ( ) const
inline

◆ operator[]() [1/2]

template<type::trait::is_fixed_array T>
reference sofa::helper::WriteAccessorFixedArray< T >::operator[] ( size_type  pos)
inline

◆ operator[]() [2/2]

template<type::trait::is_fixed_array T>
const_reference sofa::helper::WriteAccessorFixedArray< T >::operator[] ( size_type  pos) const
inline

◆ ref()

template<type::trait::is_fixed_array T>
const container_type& sofa::helper::WriteAccessorFixedArray< T >::ref ( ) const
inline

this one duplicate operator*

◆ size()

template<type::trait::is_fixed_array T>
size_type sofa::helper::WriteAccessorFixedArray< T >::size ( ) const
inline

◆ wref()

template<type::trait::is_fixed_array T>
container_type& sofa::helper::WriteAccessorFixedArray< T >::wref ( )
inline