Alexandria
2.19
Please provide a description of the project.
|
Public Member Functions | |
virtual | ~ContainerInterface ()=default |
T | at (size_t offset) const |
T & | at (size_t offset) |
virtual size_t | size () const =0 |
virtual void | resize (const std::vector< size_t > &shape)=0 |
Resize container. More... | |
virtual std::unique_ptr < ContainerInterface > | copy () const =0 |
Expected to generate a deep copy of the underlying data. More... | |
Public Attributes | |
T * | m_data_ptr |
|
virtualdefault |
|
inline |
Definition at line 447 of file NdArray.h.
References Euclid::NdArray::NdArray< T >::ContainerInterface::m_data_ptr.
|
inline |
Definition at line 452 of file NdArray.h.
References Euclid::NdArray::NdArray< T >::ContainerInterface::m_data_ptr.
|
pure virtual |
Expected to generate a deep copy of the underlying data.
Implemented in Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >.
|
pure virtual |
Resize container.
Implemented in Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >.
|
pure virtual |
Implemented in Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >.
T* Euclid::NdArray::NdArray< T >::ContainerInterface::m_data_ptr |
Owned by the specific implementation ContainerWrapper, but exposed here to avoid indirections
Definition at line 442 of file NdArray.h.
Referenced by Euclid::NdArray::NdArray< T >::ContainerInterface::at(), Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::ContainerWrapper(), and Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::resize().