ROOT » CORE » META » TFileMergeInfo

class TFileMergeInfo


TFileMergeInfo

This class helps passing information from the TFileMerger to
the objects being merged.

 It provides access to the output directory pointer (fOutputDirectory)
 to whether or not this is the first time Merge is being called in the
serie (for example for TTree, the first time we also need to Clone
the object on which Merge is called), and provides for a User Data
object to be passed along to each of the calls to Merge.
The fUserData object is owned by the TFileMergeInfo and will be
deleted when the TFileMerger moves on to the next set of objects.


Function Members (Methods)

public:
virtual~TFileMergeInfo()
static TClass*Class()
virtual TClass*IsA() const
voidReset()
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TFileMergeInfo(TDirectory* outputfile)

Data Members

public:
Bool_tfIsFirstTrue if this is the first call to Merge for this series of object.
TStringfOptionsAdditional text based option being passed down to customize the merge.
TDirectory*fOutputDirectoryTarget directory where the merged object will be written.
TObject*fUserDataPlace holder to pass extra information. This object will be deleted at the end of each series of objects.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TFileMergeInfo()
TFileMergeInfo(const TFileMergeInfo& )
TFileMergeInfo& operator=(const TFileMergeInfo& )
TFileMergeInfo(TDirectory* outputfile)
{}
virtual ~TFileMergeInfo()
{ delete fUserData; }
void Reset()
{ fIsFirst = kTRUE; delete fUserData; fUserData = 0; }