The real representation of all arrays. More...
#include "Array-base.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.
Definition at line 134 of file Array-base.h.
| typedef std::allocator_traits<Alloc> Array< T, Alloc >::ArrayRep::Alloc_traits |
Definition at line 138 of file Array-base.h.
| typedef T_Alloc_traits::pointer Array< T, Alloc >::ArrayRep::pointer |
Definition at line 141 of file Array-base.h.
| typedef Alloc_traits::template rebind_traits<T> Array< T, Alloc >::ArrayRep::T_Alloc_traits |
Definition at line 140 of file Array-base.h.
|
inline |
Definition at line 148 of file Array-base.h.
|
inline |
Definition at line 156 of file Array-base.h.
Definition at line 173 of file Array-base.h.
|
inlineexplicit |
Definition at line 176 of file Array-base.h.
|
inlineexplicit |
Definition at line 180 of file Array-base.h.
References len.
|
inlineexplicit |
Definition at line 187 of file Array-base.h.
|
inline |
Definition at line 193 of file Array-base.h.
References Array< T, Alloc >::ArrayRep::m_data, and Array< T, Alloc >::ArrayRep::m_len.
Definition at line 200 of file Array-base.h.
|
inline |
Definition at line 212 of file Array-base.h.
References len.
|
inline |
Definition at line 220 of file Array-base.h.
References len.
|
inline |
Definition at line 202 of file Array-base.h.
|
delete |
| octave::refcount<octave_idx_type> Array< T, Alloc >::ArrayRep::m_count |
Definition at line 145 of file Array-base.h.
Referenced by Array< T, Alloc >::Array(), Array< T, Alloc >::Array(), Array< T, Alloc >::Array(), Array< T, Alloc >::Array(), Array< T, Alloc >::~Array(), Array< T, Alloc >::is_shared(), Array< T, Alloc >::maybe_economize(), Array< T, Alloc >::operator=(), and Array< T, Alloc >::operator=().
Definition at line 143 of file Array-base.h.
Referenced by Array< T, Alloc >::ArrayRep::ArrayRep(), Array< T, Alloc >::make_unique(), and Array< T, Alloc >::maybe_economize().
| octave_idx_type Array< T, Alloc >::ArrayRep::m_len |
Definition at line 144 of file Array-base.h.
Referenced by Array< T, Alloc >::ArrayRep::ArrayRep(), and Array< T, Alloc >::maybe_economize().