QMCPACK
container_proxy< PooledData< T > > Struct Template Reference
+ Collaboration diagram for container_proxy< PooledData< T > >:

Public Types

enum  { DIM = 1 }
 
using pointer = typename container_proxy< T >::pointer
 

Public Member Functions

 container_proxy (PooledData< T > &a)
 
size_t size () const
 
pointer data ()
 
template<typename I >
void resize (I *n)
 

Public Attributes

PooledData< T > & ref
 

Detailed Description

template<typename T>
struct qmcplusplus::container_proxy< PooledData< T > >

Definition at line 155 of file container_proxy.h.

Member Typedef Documentation

◆ pointer

using pointer = typename container_proxy<T>::pointer

Definition at line 161 of file container_proxy.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DIM 

Definition at line 157 of file container_proxy.h.

Constructor & Destructor Documentation

◆ container_proxy()

container_proxy ( PooledData< T > &  a)
inline

Definition at line 163 of file container_proxy.h.

Member Function Documentation

◆ data()

pointer data ( )
inline

Definition at line 165 of file container_proxy.h.

References container_proxy< T >::ref.

165 { return ref.data(); }

◆ resize()

void resize ( I n)
inline

Definition at line 167 of file container_proxy.h.

References qmcplusplus::n, and container_proxy< T >::ref.

168  {
169  ref.resize(static_cast<size_t>(n[0]));
170  }

◆ size()

size_t size ( ) const
inline

Member Data Documentation

◆ ref

PooledData<T>& ref

Definition at line 162 of file container_proxy.h.


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