TFormLeafInfo.cxx File Reference

#include "TFormLeafInfo.h"
#include "TROOT.h"
#include "TArrayI.h"
#include "TClonesArray.h"
#include "TError.h"
#include "TInterpreter.h"
#include "TLeafObject.h"
#include "TMethod.h"
#include "TMethodCall.h"
#include "TTree.h"
#include "TVirtualCollectionProxy.h"

Go to the source code of this file.

Defines

#define GET_ARRAY(TYPE_t)
#define READ_ARRAY(TYPE_t)

Functions

TStreamerElementR__GetFakeClonesElem ()


Define Documentation

#define GET_ARRAY ( TYPE_t   ) 

Value:

{                                                        \
            Int_t len, sub_instance, index;                       \
            if (fNext) len = fNext->GetArrayLength();             \
            else len = 1;                                         \
            if (len) {                                            \
               index = instance / len;                            \
               sub_instance = instance % len;                     \
            } else {                                              \
               index = instance;                                  \
               sub_instance = 0;                                  \
            }                                                     \
            TYPE_t **val     = (TYPE_t**)(thisobj+fOffset);       \
            return &((val[sub_instance])[index]);                 \
         }

Referenced by TFormLeafInfo::GetLocalValuePointer().

#define READ_ARRAY ( TYPE_t   ) 

Value:

{                                               \
            Int_t len, sub_instance, index;              \
            len = GetArrayLength();                      \
            if (len) {                                   \
               index = instance / len;                   \
               sub_instance = instance % len;            \
            } else {                                     \
               index = instance;                         \
               sub_instance = 0;                         \
            }                                            \
            TYPE_t **val =(TYPE_t**)(thisobj+fOffset);   \
            return Double_t((val[sub_instance])[index]); \
         }


Function Documentation

TStreamerElement* @8729::R__GetFakeClonesElem (  )  [static]

Definition at line 1027 of file TFormLeafInfo.cxx.

References TStreamerInfo::kAny.


Generated on Tue Jul 5 16:09:21 2011 for ROOT_528-00b_version by  doxygen 1.5.1