Logo ROOT   6.12/07
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 "TProcessID.h"
#include "TRefTable.h"
#include "TStorage.h"
#include "TError.h"
#include "TClonesArray.h"
#include "TStreamer.h"
#include "TStreamerInfo.h"
#include "TStreamerElement.h"
#include "TSchemaRuleSet.h"
#include "TStreamerInfoActions.h"
#include "TInterpreter.h"
#include "TVirtualMutex.h"
#include "TArrayC.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...
 
static ULong_t Void_Hash (const void *ptr)
 Return hash value for this object. 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
 
const UInt_t kNullTag = 0
 

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 78 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 212 of file TBufferFile.cxx.

◆ Void_Hash()

static ULong_t Void_Hash ( const void ptr)
inlinestatic

Return hash value for this object.

Definition at line 70 of file TBufferFile.cxx.

Variable Documentation

◆ kByteCountMask

const UInt_t kByteCountMask = 0x40000000

Definition at line 56 of file TBufferFile.cxx.

◆ kByteCountVMask

const Version_t kByteCountVMask = 0x4000

Definition at line 58 of file TBufferFile.cxx.

◆ kClassMask

const UInt_t kClassMask = 0x80000000

Definition at line 55 of file TBufferFile.cxx.

◆ kMapOffset

const Int_t kMapOffset = 2

Definition at line 60 of file TBufferFile.cxx.

◆ kMaxMapCount

const UInt_t kMaxMapCount = 0x3FFFFFFE

Definition at line 57 of file TBufferFile.cxx.

◆ kMaxVersion

const Version_t kMaxVersion = 0x3FFF

Definition at line 59 of file TBufferFile.cxx.

◆ kNewClassTag

const UInt_t kNewClassTag = 0xFFFFFFFF

Definition at line 54 of file TBufferFile.cxx.

◆ kNullTag

const UInt_t kNullTag = 0

Definition at line 53 of file TBufferFile.cxx.