101 for (
const char *lbracket = dmTitle; *lbracket; ++lbracket) {
103 if ( (*lbracket) ==
'[' )
return lbracket;
104 if ( (*lbracket) !=
'/' && !isspace(*lbracket) ) {
140 if (!element)
return 0;
182 if ((h =
gROOT->GetPluginManager()->FindHandler(
"TVirtualStreamerInfo",
"TStreamerInfo"))) {
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!");
257 void TVirtualStreamerInfo::Streamer(
TBuffer &R__b)
259 TNamed::Streamer(R__b);
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
std::string GetName(const std::string &scope_name)
static Bool_t CanDelete()
static function returning true if ReadBuffer can delete object
static Bool_t GetStreamMemberWise()
Return whether the TStreamerInfos will save the collections in "member-wise" order whenever possible...
R__EXTERN TVirtualMutex * gInterpreterMutex
TVirtualStreamerInfo * GetStreamerInfo(Int_t version=0) const
returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist...
Buffer base class used for serializing objects.
TVirtualStreamerInfo & operator=(const TVirtualStreamerInfo &)
assignment operator
Int_t LoadPlugin()
Load the plugin library for this handler.
static const char * GetElementCounterStart(const char *dmTitle)
Given a comment/title declaring an array counter, for example: //[fArraySize] array of size fArraySiz...
static TVirtualStreamerInfo * fgInfoFactory
TObject * At(Int_t idx) const
The TNamed class is the base class for all named ROOT classes.
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
virtual ~TVirtualStreamerInfo()
Destructor.
static void SetCanDelete(Bool_t opt=kTRUE)
This is a static function.
const TObjArray * GetStreamerInfos() const
Bool_t IsCompiled() const
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
static void Optimize(Bool_t opt=kTRUE)
This is a static function.
R__EXTERN TSystem * gSystem
Long_t ExecPlugin(int nargs, const T &... params)
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 fgCanDelete
true if the StreamerInfo has been compiled (i.e. fully built, ready to use for streaming).
The ROOT global object gROOT contains a list of all defined classes.
static Bool_t CanOptimize()
static function returning true if optimization can be on
Bool_t fIsBuilt
true if the StreamerInfo has been optimized
std::atomic< Bool_t > fIsCompiled
true if the StreamerInfo has been 'built' (i.e. has all the StreamerElements it should have) ...
Version_t GetClassVersion() const
virtual TObjArray * GetElements() const =0
#define R__LOCKGUARD(mutex)
static TVirtualStreamerInfo * Factory()
Static function returning a pointer to a new TVirtualStreamerInfo object.
static TStreamerBasicType * GetElementCounter(const char *countName, TClass *cl)
Get pointer to a TStreamerBasicType in TClass *cl static function.
static void SetFactory(TVirtualStreamerInfo *factory)
static function: Set the StreamerInfo factory
static Bool_t fgStreamMemberWise
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
Abstract Interface class describing Streamer information for one class.
TVirtualStreamerInfo()
Default constructor.