SOFA API  99934cbc
Open source framework for multi-physics simuation
sofa::helper::ReadAccessorVectorId< T > Class Template Reference

#include <integer_id.h>

ReadAccessor implementation class for vector_id types. More...

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

Detailed Description

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

ReadAccessor implementation class for vector_id types.

Protected Attributes

const container_typevref
 

Public Member Functions

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

Friends

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

Attribute details

template<class T>
const container_type& sofa::helper::ReadAccessorVectorId< T >::vref
protected

Constructor details

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

Function details

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

Related details

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