MADNESS 0.10.1
|
Wrapper for an opaque pointer for serialization purposes. More...
#include <archive.h>
Public Member Functions | |
archive_ptr (T *t=nullptr) | |
Constructor specifying nullptr by default. | |
T & | operator* () |
Dereference the pointer. | |
template<class Archive > | |
void | serialize (const Archive &ar) |
Serialize the pointer. | |
Public Attributes | |
T * | ptr |
The pointer. | |
Wrapper for an opaque pointer for serialization purposes.
Performs a bitwise copy of the pointer without any remapping.
T | The type of object being pointed to. |
|
inline |
Constructor specifying nullptr
by default.
[in] | t | The pointer. |
|
inline |
Dereference the pointer.
References madness::archive::archive_ptr< T >::ptr.
|
inline |
Serialize the pointer.
Archive | The archive type. |
[in] | ar | The archive. |
References madness::archive::archive_ptr< T >::ptr, and madness::archive::wrap_opaque().
T* madness::archive::archive_ptr< T >::ptr |
The pointer.
Referenced by madness::archive::archive_ptr< T >::operator*(), and madness::archive::archive_ptr< T >::serialize().