SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::helper::WriteOnlyAccessor< T, Enable > Class Template Reference

#include <WriteOnlyAccessor.h>

Inheritance diagram for sofa::helper::WriteOnlyAccessor< T, Enable >:

Detailed Description

template<class T, class Enable = void>
class sofa::helper::WriteOnlyAccessor< T, Enable >

Identical to WriteAccessor for default implementation, but different for some template specializations such as core::objectmodel::Data<T>

Public Member Functions

 WriteOnlyAccessor (container_type &container)
 
- Public Member Functions inherited from sofa::helper::WriteAccessor< T, void >
 WriteAccessor (container_type &container)
 
const_reference ref () const
 
reference wref ()
 
 operator const_reference () const
 
const_pointer operator-> () const
 
pointer operator-> ()
 
const_reference operator* () const
 
reference operator* ()
 
 operator reference ()
 
void operator= (const T2 &v)
 

Additional Inherited Members

- Protected Attributes inherited from sofa::helper::WriteAccessor< T, void >
container_typevref
 

Constructor details

◆ WriteOnlyAccessor()

template<class T , class Enable = void>
sofa::helper::WriteOnlyAccessor< T, Enable >::WriteOnlyAccessor ( container_type container)
inlineexplicit