Alexandria  2.18
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Euclid::NdArray::NdArray< T >::ContainerInterface Struct Referenceabstract
Inheritance diagram for Euclid::NdArray::NdArray< T >::ContainerInterface:
[legend]

Public Member Functions

virtual ~ContainerInterface ()=default
 
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
 

Detailed Description

template<typename T>
struct Euclid::NdArray::NdArray< T >::ContainerInterface

Definition at line 439 of file NdArray.h.

Constructor & Destructor Documentation

template<typename T >
virtual Euclid::NdArray::NdArray< T >::ContainerInterface::~ContainerInterface ( )
virtualdefault

Member Function Documentation

template<typename T >
T Euclid::NdArray::NdArray< T >::ContainerInterface::at ( size_t  offset) const
inline
template<typename T >
T& Euclid::NdArray::NdArray< T >::ContainerInterface::at ( size_t  offset)
inline
template<typename T >
virtual std::unique_ptr<ContainerInterface> Euclid::NdArray::NdArray< T >::ContainerInterface::copy ( ) const
pure virtual

Expected to generate a deep copy of the underlying data.

Implemented in Euclid::NdArray::NdArray< T >::ContainerWrapper< Container >.

template<typename T >
virtual void Euclid::NdArray::NdArray< T >::ContainerInterface::resize ( const std::vector< size_t > &  shape)
pure virtual
template<typename T >
virtual size_t Euclid::NdArray::NdArray< T >::ContainerInterface::size ( ) const
pure virtual

Member Data Documentation

template<typename T >
T* Euclid::NdArray::NdArray< T >::ContainerInterface::m_data_ptr

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