Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TStreamerElement.cxx File Reference
#include "TROOT.h"
#include "TStreamerElement.h"
#include "TVirtualStreamerInfo.h"
#include "TBuffer.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TClassStreamer.h"
#include "TClassTable.h"
#include "TBaseClass.h"
#include "TDataMember.h"
#include "TDataType.h"
#include "TRealData.h"
#include "ThreadLocalStorage.h"
#include "TList.h"
#include "TRef.h"
#include "TInterpreter.h"
#include "TError.h"
#include "TObjArray.h"
#include "TVirtualMutex.h"
#include "TVirtualCollectionProxy.h"
#include "strlcpy.h"
#include "snprintf.h"
#include <string>
Include dependency graph for TStreamerElement.cxx:

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 

Functions

static TString ExtractClassName (const TString &type_name)
 
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.
 
static TStringIncludeNameBuffer ()
 
static TStreamerBasicTypeInitCounter (const char *countClass, const char *countName, TVirtualStreamerInfo *directive)
 Helper function to initialize the 'index/counter' value of the Pointer streamerElements.
 

Variables

const Int_t kMaxLen = 1024
 

Function Documentation

◆ ExtractClassName()

static TString ExtractClassName ( const TString type_name)
static

Definition at line 52 of file TStreamerElement.cxx.

◆ 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 122 of file TStreamerElement.cxx.

◆ IncludeNameBuffer()

static TString & IncludeNameBuffer ( )
static

Definition at line 47 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 64 of file TStreamerElement.cxx.

Variable Documentation

◆ kMaxLen

const Int_t kMaxLen = 1024

Definition at line 45 of file TStreamerElement.cxx.