The real representation of all arrays. More...
#include "Array.h"
Public Types | |
typedef std::allocator_traits< Alloc > | Alloc_traits |
typedef T_Alloc_traits::pointer | pointer |
typedef Alloc_traits::template rebind_traits< T > | T_Alloc_traits |
Public Member Functions | |
ArrayRep () | |
ArrayRep (const ArrayRep &a) | |
ArrayRep (octave_idx_type len) | |
ArrayRep (octave_idx_type len, const T &val) | |
ArrayRep (pointer d, octave_idx_type len) | |
ArrayRep (pointer ptr, const dim_vector &dv, const Alloc &xallocator=Alloc()) | |
template<typename U > | |
ArrayRep (U *d, octave_idx_type len) | |
~ArrayRep () | |
pointer | allocate (size_t len) |
void | deallocate (pointer data, size_t len) |
octave_idx_type | numel () const |
ArrayRep & | operator= (const ArrayRep &)=delete |
Public Attributes | |
octave::refcount< octave_idx_type > | m_count |
pointer | m_data |
octave_idx_type | m_len |
The real representation of all arrays.
typedef std::allocator_traits<Alloc> Array< T, Alloc >::ArrayRep::Alloc_traits |
typedef T_Alloc_traits::pointer Array< T, Alloc >::ArrayRep::pointer |
typedef Alloc_traits::template rebind_traits<T> Array< T, Alloc >::ArrayRep::T_Alloc_traits |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 181 of file Array.h.
References Array< T, Alloc >::ArrayRep::m_data, and Array< T, Alloc >::ArrayRep::m_len.
|
inline |
|
delete |
octave::refcount<octave_idx_type> Array< T, Alloc >::ArrayRep::m_count |
Definition at line 145 of file Array.h.
Referenced by Array< T, Alloc >::Array(), Array< T, Alloc >::~Array(), Array< T, Alloc >::is_shared(), Array< T, Alloc >::maybe_economize(), and Array< T, Alloc >::operator=().
Definition at line 143 of file Array.h.
Referenced by Array< T, Alloc >::ArrayRep::ArrayRep(), and Array< T, Alloc >::maybe_economize().
octave_idx_type Array< T, Alloc >::ArrayRep::m_len |
Definition at line 144 of file Array.h.
Referenced by Array< T, Alloc >::ArrayRep::ArrayRep(), and Array< T, Alloc >::maybe_economize().