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

#include <ReadAccessor.h>

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

Public Member Functions

 ReadAccessor (const container_type &c)
 
- Public Member Functions inherited from sofa::helper::ReadAccessorVector< VectorLikeType >
 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...
 

Additional Inherited Members

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

Constructor details

◆ ReadAccessor()

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