101 for (
const char *lbracket = dmTitle; *lbracket; ++lbracket) {
103 if ( (*lbracket) ==
'[' )
return lbracket;
104 if ( (*lbracket) !=
'/' && !isspace(*lbracket) ) {
138 if (!info)
return nullptr;
140 if (!element)
return nullptr;
141 if (element->IsA() == TStreamerBasicType::Class())
return (
TStreamerBasicType*)element;
182 if ((
h =
gROOT->GetPluginManager()->FindHandler(
"TVirtualStreamerInfo",
"TStreamerInfo"))) {
183 if (
h->LoadPlugin() == -1) {
184 ::Fatal(
"TVirtualStreamerInfo::Factory",
185 "The plugin handler for TVirtualStreamerInfo was found but failed to load!");
189 ::Fatal(
"TVirtualStreamerInfo::Factory",
190 "The plugin handler for TVirtualStreamerInfo was found but failed to create the factory object!");
193 TString filename(
"$ROOTSYS/etc/plugins/TVirtualStreamerInfo");
196 ::Fatal(
"TVirtualStreamerInfo::Factory",
197 "Cannot find the plugin handler for TVirtualStreamerInfo! "
198 "$ROOTSYS/etc/plugins/TVirtualStreamerInfo does not exist "
199 "or is inaccessible.");
201 ::Fatal(
"TVirtualStreamerInfo::Factory",
202 "Cannot find the plugin handler for TVirtualStreamerInfo! "
203 "However $ROOTSYS/etc/plugins/TVirtualStreamerInfo is accessible, "
204 "Check the content of this directory!");
257void TVirtualStreamerInfo::Streamer(
TBuffer &R__b)
259 TNamed::Streamer(R__b);
R__EXTERN TVirtualMutex * gInterpreterMutex
R__EXTERN TSystem * gSystem
#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
The TNamed class is the base class for all named ROOT classes.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
TObject * At(Int_t idx) const
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
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 IsCompiled() const
static void SetFactory(TVirtualStreamerInfo *factory)
static function: Set the StreamerInfo factory
static Bool_t fgStreamMemberWise
TVirtualStreamerInfo()
Default constructor.
static const char * GetElementCounterStart(const char *dmTitle)
Given a comment/title declaring an array counter, for example:
static TVirtualStreamerInfo * fgInfoFactory
static Bool_t fgCanDelete
true if the StreamerInfo has been compiled (i.e. fully built, ready to use for streaming).
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.
static void Optimize(Bool_t opt=kTRUE)
This is a static function.