Logo ROOT  
Reference Guide
TStreamerInfo.cxx File Reference
#include "TStreamerInfo.h"
#include "TFile.h"
#include "TROOT.h"
#include "TClonesArray.h"
#include "TStreamerElement.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TClassTable.h"
#include "TDataMember.h"
#include "TDataType.h"
#include "TRealData.h"
#include "TBaseClass.h"
#include "TBuffer.h"
#include "TArrayC.h"
#include "TArrayI.h"
#include "TArrayF.h"
#include "TArrayD.h"
#include "TArrayS.h"
#include "TArrayL.h"
#include "TError.h"
#include "TRef.h"
#include "TProcessID.h"
#include "TSystem.h"
#include "TObjString.h"
#include "snprintf.h"
#include "TStreamer.h"
#include "TContainerConverters.h"
#include "TCollectionProxyFactory.h"
#include "TVirtualCollectionProxy.h"
#include "TInterpreter.h"
#include "TMemberInspector.h"
#include "TMakeProject.h"
#include "TSchemaRuleSet.h"
#include "TSchemaRule.h"
#include "TVirtualMutex.h"
#include "TStreamerInfoActions.h"
#include <memory>
#include <array>
Include dependency graph for TStreamerInfo.cxx:

Macros

#define DeleteBasicPointer(addr, element, name)
 
#define DOLOOP   for (k = 0, pointer = arr[0]; k < narr; pointer = arr[++k])
 
#define READ_ARRAY(TYPE_t)
 

Enumerations

enum  EUniquePtrOffset : char { EUniquePtrOffset::kNA = 0, EUniquePtrOffset::kZero = 1, EUniquePtrOffset::kNonZero = 2 }
 

Functions

static bool R__IsUniquePtr (TStreamerElement *element)
 Return true if the element is auto_ptr or unique_ptr. More...
 
static void R__TObjArray_InsertAfter (TObjArray *arr, TObject *newobj, TObject *oldobj)
 
static void R__TObjArray_InsertAt (TObjArray *arr, std::vector< TStreamerArtificial * > &objs, Int_t at)
 
static void R__TObjArray_InsertAt (TObjArray *arr, TObject *obj, Int_t at)
 
static void R__TObjArray_InsertBefore (TObjArray *arr, TObject *newobj, TObject *oldobj)
 
static void R__WriteConstructorBody (FILE *file, TIter &next)
 
static void R__WriteDestructorBody (FILE *file, TIter &next)
 
static void R__WriteMoveConstructorBody (FILE *file, const TString &protoname, TIter &next)
 Write down the body of the 'move' constructor. More...
 
static constexpr int str_length (const char *str)
 

Variables

const Int_t kMaxLen = 1024
 

Macro Definition Documentation

◆ DeleteBasicPointer

#define DeleteBasicPointer (   addr,
  element,
  name 
)
Value:
{ \
name **f = (name**)(addr); \
int n = element->GetArrayLength() ? element->GetArrayLength() : 1;\
for(int j=0;j<n;j++) { \
delete [] f[j]; \
f[j] = 0; \
} \
}

Definition at line 4824 of file TStreamerInfo.cxx.

◆ DOLOOP

#define DOLOOP   for (k = 0, pointer = arr[0]; k < narr; pointer = arr[++k])

Definition at line 5267 of file TStreamerInfo.cxx.

◆ READ_ARRAY

#define READ_ARRAY (   TYPE_t)
Value:
{ \
Int_t sub_instance, index; \
Int_t instance = k; \
if (len) { \
index = instance / len; \
sub_instance = instance % len; \
} else { \
index = instance; \
sub_instance = 0; \
} \
TYPE_t **val =(TYPE_t**)(ladd); \
return T((val[sub_instance])[index]); \
}

Enumeration Type Documentation

◆ EUniquePtrOffset

enum EUniquePtrOffset : char
strong
Enumerator
kNA 
kZero 
kNonZero 

Definition at line 135 of file TStreamerInfo.cxx.

Function Documentation

◆ R__IsUniquePtr()

static bool R__IsUniquePtr ( TStreamerElement element)
static

Return true if the element is auto_ptr or unique_ptr.

Definition at line 3355 of file TStreamerInfo.cxx.

◆ R__TObjArray_InsertAfter()

static void R__TObjArray_InsertAfter ( TObjArray arr,
TObject newobj,
TObject oldobj 
)
static

Definition at line 112 of file TStreamerInfo.cxx.

◆ R__TObjArray_InsertAt() [1/2]

static void R__TObjArray_InsertAt ( TObjArray arr,
std::vector< TStreamerArtificial * > &  objs,
Int_t  at 
)
static

Definition at line 98 of file TStreamerInfo.cxx.

◆ R__TObjArray_InsertAt() [2/2]

static void R__TObjArray_InsertAt ( TObjArray arr,
TObject obj,
Int_t  at 
)
static

Definition at line 87 of file TStreamerInfo.cxx.

◆ R__TObjArray_InsertBefore()

static void R__TObjArray_InsertBefore ( TObjArray arr,
TObject newobj,
TObject oldobj 
)
static

Definition at line 124 of file TStreamerInfo.cxx.

◆ R__WriteConstructorBody()

static void R__WriteConstructorBody ( FILE *  file,
TIter next 
)
static

Definition at line 3326 of file TStreamerInfo.cxx.

◆ R__WriteDestructorBody()

static void R__WriteDestructorBody ( FILE *  file,
TIter next 
)
static

Definition at line 3463 of file TStreamerInfo.cxx.

◆ R__WriteMoveConstructorBody()

static void R__WriteMoveConstructorBody ( FILE *  file,
const TString protoname,
TIter next 
)
static

Write down the body of the 'move' constructor.

Definition at line 3369 of file TStreamerInfo.cxx.

◆ str_length()

static constexpr int str_length ( const char *  str)
staticconstexpr

Definition at line 3347 of file TStreamerInfo.cxx.

Variable Documentation

◆ kMaxLen

const Int_t kMaxLen = 1024

Definition at line 83 of file TStreamerInfo.cxx.

n
const Int_t n
Definition: legend1.C:16
f
#define f(i)
Definition: RSha256.hxx:122
RooFit_internal::instance
static Roo_reg_AGKInteg1D instance
Definition: RooAdaptiveGaussKronrodIntegrator1D.cxx:153
name
char name[80]
Definition: TGX11.cxx:110
ROOT::Math::Chebyshev::T
double T(double x)
Definition: ChebyshevPol.h:52