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

#include <accessor.h>

ReadAccessor implementation class for vector types. More...

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

Detailed Description

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

ReadAccessor implementation class for vector types.

Protected Attributes

const container_typevref
 

Public Member Functions

 ReadAccessorVector (const container_type &container)
 
const container_typeref () const
 
bool empty () const
 
size_type size () const
 
const_reference operator[] (size_type i) const
 
const_iterator begin () const
 
const_iterator end () const
 

Friends

std::ostream & operator<< (std::ostream &os, const ReadAccessorVector< T > &vec)
 

Attribute details

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

Constructor details

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

Function details

template<class T>
const_iterator sofa::helper::ReadAccessorVector< T >::begin ( ) const
inline
template<class T>
bool sofa::helper::ReadAccessorVector< T >::empty ( ) const
inline
template<class T>
const_iterator sofa::helper::ReadAccessorVector< T >::end ( ) const
inline
template<class T>
const_reference sofa::helper::ReadAccessorVector< T >::operator[] ( size_type  i) const
inline
template<class T>
const container_type& sofa::helper::ReadAccessorVector< T >::ref ( ) const
inline
template<class T>
size_type sofa::helper::ReadAccessorVector< T >::size ( void  ) const
inline

Related details

template<class T>
std::ostream& operator<< ( std::ostream &  os,
const ReadAccessorVector< T > &  vec 
)
friend