#include "QSigExIO.h"

QSigExIO


class description - header file - source file - inheritance tree (.pdf)

class QSigExIO

Inheritance Chart:
QSigExIO
<-
QSigExDis
<-
QSigExDisTF
QSigExDisTH
    private:
QSigExIO(const QSigExIO& newqio) protected:
TObject* TryCast(const TObject* uptr, const Char_t* classname) const public:
QSigExIO() QSigExIO(const Char_t* classname) QSigExIO(const Char_t* classname, const TObject& object) QSigExIO(const Char_t* classname, const Char_t* filename, const Char_t* objectname) virtual ~QSigExIO() static TClass* Class() void Clear() QSigExIO* Clone() const const Char_t* GetClassName() const TObject* GetObject() const virtual TClass* IsA() const void Load(const Char_t* filename, const Char_t* objectname) const QSigExIO& operator=(const TObject& newobject) const QSigExIO& operator=(const QSigExIO& newqio) void Save() const void SaveAs(const Char_t* filename, const Char_t* directory = "NULL") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TString fFilename ROOT filename TString fDirectory Path to object TString fClassName Class name or base class of the object TObject* fObject Object pointer

Class Description

                                                                    
 QSigExIO                                                           
                                                                    
 This class is responsible or reading and writing ROOT objects in   
 ROOT files. It can be used only with objects which are independent 
 of the TFile once they have been loaded by their streamer. It      
 means, for example, that a TTree object cannot be loaded in memory 
 using QSigExIO.                                                    
                                                                    

void Load(const Char_t* filename, const Char_t* objectname)
This function loads an object from a ROOT file which filename is filename.
The objectname argument can be a simple object name, if the object is
located in the root directory of the file, or it can be the path to the
object (ex: "mydir/myobject").
void Save()
This function saves the object to the file and directory where it has been
read/saved the last time.
void SaveAs(const Char_t* filename, const Char_t* directory)
This function saves the object in directory directory of ROOT file which
filename is filename. If the second argument is not provided, the object
will be saved in the root directory of the file.
const QSigExIO& operator=(const QSigExIO& newqio)
This function copies by value the content of object QSigExIO to this.
TObject* GetObject()
This function returns a pointer to the object.
void Clear()
This function resets the current object.
TObject* TryCast(const TObject* uptr, const Char_t* classname)
This function checks if the TObject which pointer is uptr belong to or is
derived from class classname.
void Streamer(TBuffer &R__b)
 Stream an object of class QSigExIO.
QSigExIO()


{}
QSigExIO(const Char_t* classname)


{}
QSigExIO(const Char_t* classname, const TObject& object)


{*this=object;}
QSigExIO(const Char_t* classname, const Char_t* filename, const Char_t* objectname)

virtual ~QSigExIO()

const QSigExIO& operator=(const QSigExIO& newqio)

fObject=newobject. Clone()

const Char_t* GetClassName()


{return fClassName.Data();}
QSigExIO(const QSigExIO& newqio)


{*this=newqio;}

Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:14 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.