gives access to a sub-dimension, e.g.
arr[0][1] in above three-dimensional example, up to an element with conversion operator to double: double value = arr[0][1][2];
Definition at line 91 of file TNDArray.h.
Public Member Functions | |
TNDArrayRef (const T *data, const Long64_t *sizes) | |
TClass * | IsA () const |
operator T () const | |
TNDArrayRef< T > | operator[] (Int_t idx) const |
void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Attributes | |
const T * | fData |
Pointer into TNDArray's fData. | |
const Long64_t * | fSizes |
Pointer into TNDArray's fSizes. | |
#include <TNDArray.h>
|
inline |
Definition at line 93 of file TNDArray.h.
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 110 of file TNDArray.h.
|
inlinestatic |
Definition at line 110 of file TNDArray.h.
|
inline |
Definition at line 110 of file TNDArray.h.
|
inline |
Definition at line 101 of file TNDArray.h.
|
inline |
Definition at line 96 of file TNDArray.h.
void TNDArrayRef< T >::Streamer | ( | TBuffer & | ) |
|
inline |
Definition at line 110 of file TNDArray.h.
|
private |
Pointer into TNDArray's fData.
Definition at line 108 of file TNDArray.h.
|
private |
Pointer into TNDArray's fSizes.
Definition at line 109 of file TNDArray.h.