SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::helper::ReadAccessorVector< T > Class Template Reference

#include <ReadAccessorVector.h>

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

Detailed Description

template<class T>
class sofa::helper::ReadAccessorVector< T >

ReadAccessor for wrapping around vector like object ////////////////////// ReadAccessor implementation class for vector types

Protected Attributes

const container_typevref
 

Public Member Functions

 ReadAccessorVector (const container_type &container)
 
bool empty () const
 
Size size () const
 
const_reference operator[] (Size i) const
 
const_iterator begin () const
 
const_iterator end () const
 
 operator const_container_type & () const
 
const_container_typeoperator-> () const
 
const_container_typeoperator* () const
 
const_container_typeref () const
 this duplicate operator* (remove ?) More...
 

Attribute details

◆ vref

template<class T >
const container_type* sofa::helper::ReadAccessorVector< T >::vref
protected

Constructor details

◆ ReadAccessorVector()

template<class T >
sofa::helper::ReadAccessorVector< T >::ReadAccessorVector ( const container_type container)
inline

Function details

◆ begin()

template<class T >
const_iterator sofa::helper::ReadAccessorVector< T >::begin ( ) const
inline

◆ empty()

template<class T >
bool sofa::helper::ReadAccessorVector< T >::empty ( ) const
inline

◆ end()

template<class T >
const_iterator sofa::helper::ReadAccessorVector< T >::end ( ) const
inline

◆ operator const_container_type &()

template<class T >
sofa::helper::ReadAccessorVector< T >::operator const_container_type & ( ) const
inline

◆ operator*()

template<class T >
const_container_type& sofa::helper::ReadAccessorVector< T >::operator* ( ) const
inline

◆ operator->()

template<class T >
const_container_type* sofa::helper::ReadAccessorVector< T >::operator-> ( ) const
inline

◆ operator[]()

template<class T >
const_reference sofa::helper::ReadAccessorVector< T >::operator[] ( Size  i) const
inline

◆ ref()

template<class T >
const_container_type& sofa::helper::ReadAccessorVector< T >::ref ( ) const
inline

this duplicate operator* (remove ?)

◆ size()

template<class T >
Size sofa::helper::ReadAccessorVector< T >::size ( ) const
inline