Logo ROOT   6.18/05
Reference Guide
Functions | Variables
TBufferFile.cxx File Reference
#include <string.h>
#include <typeinfo>
#include <string>
#include "TFile.h"
#include "TBufferFile.h"
#include "TExMap.h"
#include "TClass.h"
#include "TStorage.h"
#include "TError.h"
#include "TStreamer.h"
#include "TStreamerInfo.h"
#include "TStreamerElement.h"
#include "TSchemaRuleSet.h"
#include "TStreamerInfoActions.h"
#include "TInterpreter.h"
#include "TVirtualMutex.h"
#include "TROOT.h"
Include dependency graph for TBufferFile.cxx:

Functions

static bool Class_Has_StreamerInfo (const TClass *cl)
 Thread-safe check on StreamerInfos of a TClass. More...
 
static void frombufOld (char *&buf, Long_t *x)
 Handle old file formats. More...
 

Variables

const UInt_t kByteCountMask = 0x40000000
 
const Version_t kByteCountVMask = 0x4000
 
const UInt_t kClassMask = 0x80000000
 
const Int_t kMapOffset = 2
 
const UInt_t kMaxMapCount = 0x3FFFFFFE
 
const Version_t kMaxVersion = 0x3FFF
 
const UInt_t kNewClassTag = 0xFFFFFFFF
 

Function Documentation

◆ Class_Has_StreamerInfo()

static bool Class_Has_StreamerInfo ( const TClass cl)
inlinestatic

Thread-safe check on StreamerInfos of a TClass.

Definition at line 63 of file TBufferFile.cxx.

◆ frombufOld()

static void frombufOld ( char *&  buf,
Long_t x 
)
static

Handle old file formats.

Files written with versions older than 3.00/06 had a non-portable implementation of Long_t/ULong_t. These types should not have been used at all. However, because some users had already written many files with these types we provide this dirty patch for "backward compatibility"

Definition at line 144 of file TBufferFile.cxx.

Variable Documentation

◆ kByteCountMask

const UInt_t kByteCountMask = 0x40000000

Definition at line 51 of file TBufferFile.cxx.

◆ kByteCountVMask

const Version_t kByteCountVMask = 0x4000

Definition at line 53 of file TBufferFile.cxx.

◆ kClassMask

const UInt_t kClassMask = 0x80000000

Definition at line 50 of file TBufferFile.cxx.

◆ kMapOffset

const Int_t kMapOffset = 2

Definition at line 55 of file TBufferFile.cxx.

◆ kMaxMapCount

const UInt_t kMaxMapCount = 0x3FFFFFFE

Definition at line 52 of file TBufferFile.cxx.

◆ kMaxVersion

const Version_t kMaxVersion = 0x3FFF

Definition at line 54 of file TBufferFile.cxx.

◆ kNewClassTag

const UInt_t kNewClassTag = 0xFFFFFFFF

Definition at line 49 of file TBufferFile.cxx.