SPH
|
#include <ArrayRef.h>
Public Member Functions | |
ArrayRef ()=default | |
ArrayRef (ArrayView< T > data, const RefEnum type) | |
ArrayRef (ArrayRef &&other) | |
ArrayRef & | operator= (ArrayRef &&other) |
INLINE T & | operator[] (const Size idx) |
INLINE const T & | operator[] (const Size idx) const |
INLINE Size | size () const |
INLINE bool | empty () const |
INLINE bool | owns () const |
Returns true if the referenced data are held by the object. More... | |
void | seize () |
Copies the referenced buffer into the internal storage, if not already owning the buffer. More... | |
Iterator< T > | begin () |
Iterator< const T > | begin () const |
Iterator< T > | end () |
Iterator< const T > | end () const |
operator ArrayRef< const T > () && | |
operator ArrayView< T > () | |
operator ArrayView< const T > () const | |
Friends | |
class | ArrayRef< std::remove_const_t< T > > |
Definition at line 18 of file ArrayRef.h.
Definition at line 31 of file ArrayRef.h.
Definition at line 43 of file ArrayRef.h.
Definition at line 89 of file ArrayRef.h.
Definition at line 93 of file ArrayRef.h.
Definition at line 66 of file ArrayRef.h.
Definition at line 97 of file ArrayRef.h.
Definition at line 101 of file ArrayRef.h.
Definition at line 105 of file ArrayRef.h.
Definition at line 116 of file ArrayRef.h.
Definition at line 112 of file ArrayRef.h.
Definition at line 48 of file ArrayRef.h.
Definition at line 54 of file ArrayRef.h.
Definition at line 58 of file ArrayRef.h.
Returns true if the referenced data are held by the object.
Definition at line 71 of file ArrayRef.h.
|
inline |
Copies the referenced buffer into the internal storage, if not already owning the buffer.
The external referenced buffer is not modified. It can be later safely modified without invalidating data stored in this object.
Definition at line 79 of file ArrayRef.h.
Definition at line 62 of file ArrayRef.h.
|
friend |
Definition at line 153 of file ArrayRef.h.