#include <BaseData.h>
A WriteAccessWithRawPtr is a RAII class, holding a reference to a given container and providing access to its data through a non-const void* ptr taking care of the beginEdit/endEdit pairs.
Advantadges of using a WriteAccessWithRawPtr are :
Public Attributes | |
| void * | ptr { nullptr } |
Public Member Functions | |
| WriteAccessWithRawPtr (BaseData *data) | |
| ~WriteAccessWithRawPtr () | |
| void* sofa::core::objectmodel::WriteAccessWithRawPtr::ptr { nullptr } |
|
inlineexplicit |
|
inline |