Alexandria
2.22.0
Please provide a description of the project.
|
Public Member Functions | |
~ContainerWrapper ()=default | |
ContainerWrapper (const ContainerWrapper &)=delete | |
ContainerWrapper (ContainerWrapper &&)=default | |
template<typename... Args> | |
ContainerWrapper (Args &&... args) | |
size_t | size () const final |
template<typename T2 > | |
auto | resizeImpl (const std::vector< size_t > &shape) -> decltype((void) std::declval< Container< T2 >>().resize(std::vector< size_t >{}), void()) |
template<typename T2 > | |
auto | resizeImpl (const std::vector< size_t > &shape) -> decltype((void) std::declval< Container< T2 >>().resize(size_t{}), void()) |
void | resize (const std::vector< size_t > &shape) final |
std::unique_ptr< ContainerInterface > | copy () const final |
Expected to generate a deep copy of the underlying data. More... | |
![]() | |
virtual | ~ContainerInterface ()=default |
T | at (size_t offset) const |
T & | at (size_t offset) |
Public Attributes | |
Container< T > | m_container |
T * | m_data_ptr |
![]() | |
T * | m_data_ptr |
|
default |
|
delete |
|
default |
|
inlineexplicit |
Definition at line 509 of file NdArray.h.
References Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_container, and Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_data_ptr.
|
inlinefinalvirtual |
Expected to generate a deep copy of the underlying data.
Implements Euclid::NdArray::NdArray< T >::ContainerInterface.
Definition at line 542 of file NdArray.h.
References Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_container.
|
inlinefinalvirtual |
Implements Euclid::NdArray::NdArray< T >::ContainerInterface.
Definition at line 537 of file NdArray.h.
References Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_container, Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_data_ptr, and Euclid::NdArray::NdArray< T >::shape().
|
inline |
|
inline |
|
inlinefinalvirtual |
Implements Euclid::NdArray::NdArray< T >::ContainerInterface.
Definition at line 513 of file NdArray.h.
References Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_container.
Container<T> Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::m_container |
Definition at line 500 of file NdArray.h.
Referenced by Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::ContainerWrapper(), Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::copy(), Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::resize(), and Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::size().
T* Euclid::NdArray::NdArray< T >::ContainerInterface::m_data_ptr |
Owned by the specific implementation ContainerWrapper, but exposed here to avoid indirections
Definition at line 473 of file NdArray.h.
Referenced by Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::ContainerWrapper(), and Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >::resize().