Logo ROOT  
Reference Guide
TStreamerInfoWriteBuffer.cxx File Reference
#include "TBuffer.h"
#include "TClass.h"
#include "TClonesArray.h"
#include "TError.h"
#include "TProcessID.h"
#include "TStreamer.h"
#include "TStreamerElement.h"
#include "TStreamerInfo.h"
#include "TVirtualCollectionProxy.h"
#include "TRefTable.h"
#include "TFile.h"
#include "TVirtualArray.h"
#include "TBufferFile.h"
#include "TInterpreter.h"
Include dependency graph for TStreamerInfoWriteBuffer.cxx:

Macros

#define DOLOOP   for(int k=0; k<narr; ++k)
 
#define WriteBasicArray(name)
 
#define WriteBasicArrayElem(name, index)
 
#define WriteBasicArrayLoop(name)
 
#define WriteBasicPointer(name)
 
#define WriteBasicPointerElem(name, index)
 
#define WriteBasicPointerLoop(name)
 
#define WriteBasicType(name)
 
#define WriteBasicTypeElem(name, index)
 
#define WriteBasicTypeLoop(name)
 

Macro Definition Documentation

◆ DOLOOP

#define DOLOOP   for(int k=0; k<narr; ++k)

Definition at line 30 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicArray

#define WriteBasicArray (   name)
Value:
{ \
WriteBasicArrayElem(name,0); \
}

Definition at line 54 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicArrayElem

#define WriteBasicArrayElem (   name,
  index 
)
Value:
{ \
name *x=(name*)(arr[index]+ioffset); \
b.WriteFastArray(x,compinfo[i]->fLength); \
}

Definition at line 48 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicArrayLoop

#define WriteBasicArrayLoop (   name)
Value:
{ \
for(int k=0; k<narr; ++k) WriteBasicArrayElem(name,k); \
}

Definition at line 59 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicPointer

#define WriteBasicPointer (   name)
Value:
{ \
int imethod = compinfo[i]->fMethod+eoffset; \
WriteBasicPointerElem(name,0); \
}

Definition at line 77 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicPointerElem

#define WriteBasicPointerElem (   name,
  index 
)
Value:
{ \
Int_t *l = (Int_t*)(arr[index]+imethod); \
name **f = (name**)(arr[index]+ioffset); \
name *af = *f; \
if (af && *l) b << Char_t(1); \
else {b << Char_t(0); continue;} \
int j; \
for(j=0;j<compinfo[i]->fLength;j++) { \
b.WriteFastArray(f[j],*l); \
} \
}

Definition at line 64 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicPointerLoop

#define WriteBasicPointerLoop (   name)
Value:
{ \
int imethod = compinfo[i]->fMethod+eoffset; \
for(int k=0; k<narr; ++k) { \
WriteBasicPointerElem(name,k); \
} \
}

Definition at line 83 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicType

#define WriteBasicType (   name)
Value:
{ \
WriteBasicTypeElem(name,0); \
}

Definition at line 38 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicTypeElem

#define WriteBasicTypeElem (   name,
  index 
)
Value:
{ \
name *x=(name*)(arr[index]+ioffset); \
b << *x; \
}

Definition at line 32 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicTypeLoop

#define WriteBasicTypeLoop (   name)
Value:
{ \
for(int k=0; k<narr; ++k) WriteBasicTypeElem(name,k); \
}

Definition at line 43 of file TStreamerInfoWriteBuffer.cxx.

l
auto * l
Definition: textangle.C:4
f
#define f(i)
Definition: RSha256.hxx:104
Int_t
int Int_t
Definition: RtypesCore.h:45
x
Double_t x[n]
Definition: legend1.C:17
b
#define b(i)
Definition: RSha256.hxx:100
WriteBasicArrayElem
#define WriteBasicArrayElem(name, index)
Definition: TStreamerInfoWriteBuffer.cxx:48
name
char name[80]
Definition: TGX11.cxx:110
Char_t
char Char_t
Definition: RtypesCore.h:33
WriteBasicTypeElem
#define WriteBasicTypeElem(name, index)
Definition: TStreamerInfoWriteBuffer.cxx:32