Logo ROOT  
Reference Guide
TNDArrayRef< T > Class Template Reference

template<typename T>
class TNDArrayRef< T >

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)
 
TClassIsA () 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 TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

const T * fData
 Pointer into TNDArray's fData. More...
 
const Long64_tfSizes
 Pointer into TNDArray's fSizes. More...
 

#include <TNDArray.h>

Constructor & Destructor Documentation

◆ TNDArrayRef()

template<typename T >
TNDArrayRef< T >::TNDArrayRef ( const T *  data,
const Long64_t sizes 
)
inline

Definition at line 93 of file TNDArray.h.

Member Function Documentation

◆ Class()

template<typename T >
static TClass * TNDArrayRef< T >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

template<typename T >
static const char * TNDArrayRef< T >::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

template<typename T >
static Version_t TNDArrayRef< T >::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 110 of file TNDArray.h.

◆ DeclFileName()

template<typename T >
static const char * TNDArrayRef< T >::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 110 of file TNDArray.h.

◆ IsA()

template<typename T >
TClass * TNDArrayRef< T >::IsA ( ) const
inline
Returns
TClass describing current object

Definition at line 110 of file TNDArray.h.

◆ operator T()

template<typename T >
TNDArrayRef< T >::operator T ( ) const
inline

Definition at line 101 of file TNDArray.h.

◆ operator[]()

template<typename T >
TNDArrayRef< T > TNDArrayRef< T >::operator[] ( Int_t  idx) const
inline

Definition at line 96 of file TNDArray.h.

◆ Streamer()

template<typename T >
void TNDArrayRef< T >::Streamer ( TBuffer )

◆ StreamerNVirtual()

template<typename T >
void TNDArrayRef< T >::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 110 of file TNDArray.h.

Member Data Documentation

◆ fData

template<typename T >
const T* TNDArrayRef< T >::fData
private

Pointer into TNDArray's fData.

Definition at line 108 of file TNDArray.h.

◆ fSizes

template<typename T >
const Long64_t* TNDArrayRef< T >::fSizes
private

Pointer into TNDArray's fSizes.

Definition at line 109 of file TNDArray.h.


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