Logo ROOT   6.10/09
Reference Guide
Functions | Variables
TStreamerElement.cxx File Reference
#include "TROOT.h"
#include "TStreamerElement.h"
#include "TVirtualStreamerInfo.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TClassStreamer.h"
#include "TBaseClass.h"
#include "TDataMember.h"
#include "TDataType.h"
#include "TMethod.h"
#include "TMethodCall.h"
#include "TRealData.h"
#include "TFolder.h"
#include "TRef.h"
#include "TInterpreter.h"
#include "TError.h"
#include "TVirtualMutex.h"
#include "TVirtualCollectionProxy.h"
#include <iostream>
#include <string>
Include dependency graph for TStreamerElement.cxx:

Functions

static void GetRange (const char *comments, Double_t &xmin, Double_t &xmax, Double_t &factor)
 Parse comments to search for a range specifier of the style: [xmin,xmax] or [xmin,xmax,nbits] [0,1] [-10,100]; [-pi,pi], [-pi/2,pi/4],[-2pi,2*pi] [-10,100,16] [0,0,8] if nbits is not specified, or nbits <2 or nbits>32 it is set to 32 if (xmin==0 and xmax==0 and nbits <=16) the double word will be converted to a float and its mantissa truncated to nbits significative bits. More...
 
static TStringIncludeNameBuffer ()
 
static TStreamerBasicTypeInitCounter (const char *countClass, const char *countName, TVirtualStreamerInfo *directive)
 Helper function to initialize the 'index/counter' value of the Pointer streamerElements. More...
 

Variables

const Int_t kMaxLen = 1024
 

Function Documentation

◆ GetRange()

static void GetRange ( const char *  comments,
Double_t xmin,
Double_t xmax,
Double_t factor 
)
static

Parse comments to search for a range specifier of the style: [xmin,xmax] or [xmin,xmax,nbits] [0,1] [-10,100]; [-pi,pi], [-pi/2,pi/4],[-2pi,2*pi] [-10,100,16] [0,0,8] if nbits is not specified, or nbits <2 or nbits>32 it is set to 32 if (xmin==0 and xmax==0 and nbits <=16) the double word will be converted to a float and its mantissa truncated to nbits significative bits.

see comments in TBufferFile::WriteDouble32.

Definition at line 113 of file TStreamerElement.cxx.

◆ IncludeNameBuffer()

static TString& IncludeNameBuffer ( )
static

Definition at line 44 of file TStreamerElement.cxx.

◆ InitCounter()

static TStreamerBasicType* InitCounter ( const char *  countClass,
const char *  countName,
TVirtualStreamerInfo directive 
)
static

Helper function to initialize the 'index/counter' value of the Pointer streamerElements.

If directive is a StreamerInfo and it correspond to the same class a 'countClass' the streamerInfo is used instead of the current StreamerInfo of the TClass for 'countClass'.

Definition at line 55 of file TStreamerElement.cxx.

Variable Documentation

◆ kMaxLen

const Int_t kMaxLen = 1024

Definition at line 42 of file TStreamerElement.cxx.