100 for (
const char *lbracket = dmTitle; *lbracket; ++lbracket) {
102 if ( (*lbracket) ==
'[' )
return lbracket;
103 if ( (*lbracket) !=
'/' && !isspace(*lbracket) ) {
137 if (!info)
return nullptr;
139 if (!element)
return nullptr;
181 if ((
h =
gROOT->GetPluginManager()->FindHandler(
"TVirtualStreamerInfo",
"TStreamerInfo"))) {
182 if (
h->LoadPlugin() == -1) {
183 ::Fatal(
"TVirtualStreamerInfo::Factory",
184 "The plugin handler for TVirtualStreamerInfo was found but failed to load!");
188 ::Fatal(
"TVirtualStreamerInfo::Factory",
189 "The plugin handler for TVirtualStreamerInfo was found but failed to create the factory object!");
192 TString filename(
"$ROOTSYS/etc/plugins/TVirtualStreamerInfo");
193 gSystem->ExpandPathName(filename);
194 if (
gSystem->AccessPathName(filename)) {
195 ::Fatal(
"TVirtualStreamerInfo::Factory",
196 "Cannot find the plugin handler for TVirtualStreamerInfo! "
197 "$ROOTSYS/etc/plugins/TVirtualStreamerInfo does not exist "
198 "or is inaccessible.");
200 ::Fatal(
"TVirtualStreamerInfo::Factory",
201 "Cannot find the plugin handler for TVirtualStreamerInfo! "
202 "However $ROOTSYS/etc/plugins/TVirtualStreamerInfo is accessible, "
203 "Check the content of this directory!");
bool Bool_t
Boolean (0=false, 1=true) (bool).
externTVirtualMutex * gInterpreterMutex
#define R__LOCKGUARD(mutex)
Buffer base class used for serializing objects.
TClass instances represent classes, structs and namespaces in the ROOT type system.
const TObjArray * GetStreamerInfos() const
TVirtualStreamerInfo * GetStreamerInfo(Int_t version=0, Bool_t isTransient=kFALSE) const
returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist,...
Version_t GetClassVersion() const
const char * GetName() const override
Returns name of object.
void Streamer(TBuffer &) override
Stream an object of class TObject.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
TObject * At(Int_t idx) const override
TObject * FindObject(const char *name) const override
Find an object in this collection using its name.
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
Describe one element (data member) to be Streamed.
TClass * IsA() const override
Abstract Interface class describing Streamer information for one class.
static Bool_t GetStreamMemberWise()
Return whether the TStreamerInfos will save the collections in "member-wise" order whenever possible.
Bool_t fIsBuilt
! true if the StreamerInfo has been 'built' (i.e. has all the StreamerElements it should have)
void Streamer(TBuffer &) override
Stream an object of class TVirtualStreamerInfo.
Bool_t IsCompiled() const
static void SetFactory(TVirtualStreamerInfo *factory)
static function: Set the StreamerInfo factory
static Bool_t fgStreamMemberWise
TVirtualStreamerInfo(const TVirtualStreamerInfo &info)
copy constructor
TVirtualStreamerInfo()
Default constructor.
std::atomic< Bool_t > fIsCompiled
! true if the StreamerInfo has been compiled (i.e. fully built, ready to use for streaming).
static const char * GetElementCounterStart(const char *dmTitle)
Given a comment/title declaring an array counter, for example:
static TVirtualStreamerInfo * fgInfoFactory
static Bool_t fgCanDelete
static Bool_t SetStreamMemberWise(Bool_t enable=kTRUE)
Set whether the TStreamerInfos will save the collections in "member-wise" order whenever possible.
static Bool_t CanOptimize()
static function returning true if optimization can be on
static TStreamerBasicType * GetElementCounter(const char *countName, TClass *cl)
Get pointer to a TStreamerBasicType in TClass *cl static function.
virtual TObjArray * GetElements() const =0
static void SetCanDelete(Bool_t opt=kTRUE)
This is a static function.
static Bool_t CanDelete()
static function returning true if ReadBuffer can delete object
static TVirtualStreamerInfo * Factory()
Static function returning a pointer to a new TVirtualStreamerInfo object.
TVirtualStreamerInfo & operator=(const TVirtualStreamerInfo &)
assignment operator
virtual ~TVirtualStreamerInfo()
Destructor.
Bool_t fOptimized
! true if the StreamerInfo has been optimized
static void Optimize(Bool_t opt=kTRUE)
This is a static function.