![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Template container wrapper class for safe storage of object with regards to Boost/Serilization memory tracking feature. More...
#include <bayeux/datatools/safe_serial.h>
Public Types | |
| typedef T | data_type |
Public Member Functions | |
| safe_serial () | |
| Default constructor. More... | |
| virtual | ~safe_serial () |
| Destructor. More... | |
| void | clear () |
| Clear the container. More... | |
| bool | empty () const |
| Check if the container is empty. More... | |
| const data_type & | get () const |
| Return a const reference to the current object. More... | |
| data_type & | grab () |
| Return a mutable reference to the current object. More... | |
| void | make () |
| Insert a new object at the end. More... | |
| void | set (const data_type &data) |
| Set the current object. More... | |
Template container wrapper class for safe storage of object with regards to Boost/Serilization memory tracking feature.
| typedef T datatools::safe_serial< T >::data_type |
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
inline |
Clear the container.
|
inline |
Check if the container is empty.
|
inline |
Return a const reference to the current object.
|
inline |
Return a mutable reference to the current object.
|
inline |
Insert a new object at the end.
|
inline |
Set the current object.
1.8.15