MADNESS 0.10.1
madness::archive::archive_array< T > Class Template Reference

Wrapper for dynamic arrays and pointers. More...

#include <archive.h>

Public Member Functions

 archive_array ()
 Constructor specifying no array and of 0 length.
 archive_array (const T *ptr, std::size_t n)
 Constructor specifying a memory location and size.

Public Attributes

std::size_t n
 The number of objects in the array.
const T * ptr
 The pointer.

Detailed Description

template<class T>
class madness::archive::archive_array< T >

Wrapper for dynamic arrays and pointers.

Template Parameters
TThe type of object being pointed to.

Constructor & Destructor Documentation

◆ archive_array() [1/2]

template<class T>
madness::archive::archive_array< T >::archive_array ( const T * ptr,
std::size_t n )
inline

Constructor specifying a memory location and size.

Parameters
[in]ptrThe pointer.
[in]nThe number of objects in the array.

References n, and ptr.

◆ archive_array() [2/2]

template<class T>
madness::archive::archive_array< T >::archive_array ( )
inline

Constructor specifying no array and of 0 length.

References n, and ptr.

Member Data Documentation

◆ n

◆ ptr


The documentation for this class was generated from the following file: