Logo ROOT   6.08/07
Reference Guide
Macros
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); \
}
char name[80]
Definition: TGX11.cxx:109

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); \
}
Double_t x[n]
Definition: legend1.C:17
char name[80]
Definition: TGX11.cxx:109

Definition at line 48 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicArrayLoop

#define WriteBasicArrayLoop (   name)
Value:
{ \
for(int k=0; k<narr; ++k) WriteBasicArrayElem(name,k); \
}
#define WriteBasicArrayElem(name, index)
char name[80]
Definition: TGX11.cxx:109

Definition at line 59 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicPointer

#define WriteBasicPointer (   name)
Value:
{ \
int imethod = compinfo[i]->fMethod+eoffset; \
WriteBasicPointerElem(name,0); \
}
char name[80]
Definition: TGX11.cxx:109

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); \
} \
}
int Int_t
Definition: RtypesCore.h:41
TLine * l
Definition: textangle.C:4
double f(double x)
char Char_t
Definition: RtypesCore.h:29
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Definition: TRolke.cxx:630
char name[80]
Definition: TGX11.cxx:109

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); \
} \
}
char name[80]
Definition: TGX11.cxx:109

Definition at line 83 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicType

#define WriteBasicType (   name)
Value:
{ \
WriteBasicTypeElem(name,0); \
}
char name[80]
Definition: TGX11.cxx:109

Definition at line 38 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicTypeElem

#define WriteBasicTypeElem (   name,
  index 
)
Value:
{ \
name *x=(name*)(arr[index]+ioffset); \
b << *x; \
}
Double_t x[n]
Definition: legend1.C:17
char name[80]
Definition: TGX11.cxx:109

Definition at line 32 of file TStreamerInfoWriteBuffer.cxx.

◆ WriteBasicTypeLoop

#define WriteBasicTypeLoop (   name)
Value:
{ \
for(int k=0; k<narr; ++k) WriteBasicTypeElem(name,k); \
}
#define WriteBasicTypeElem(name, index)
char name[80]
Definition: TGX11.cxx:109

Definition at line 43 of file TStreamerInfoWriteBuffer.cxx.