library: libXMLIO #include "TKeyXML.h" |
TKeyXML
class description - header file - source file - inheritance tree (.pdf)
protected:
TKeyXML()
virtual Int_t Read(const char* name)
void StoreKeyAttributes()
void StoreObject(const void* obj, const TClass* cl)
TXMLEngine* XMLEngine()
void* XmlReadAny(void* obj, const TClass* expectedClass)
public:
TKeyXML(TDirectory* mother, Long64_t keyid, const TObject* obj, const char* name = "0", const char* title = "0")
TKeyXML(TDirectory* mother, Long64_t keyid, const void* obj, const TClass* cl, const char* name, const char* title = "0")
TKeyXML(TDirectory* mother, Long64_t keyid, XMLNodePointer_t keynode)
TKeyXML(const TKeyXML&)
virtual ~TKeyXML()
static TClass* Class()
virtual void Delete(Option_t* option = "")
virtual void DeleteBuffer()
virtual void FillBuffer(char*&)
virtual char* GetBuffer() const
Long64_t GetKeyId() const
virtual Long64_t GetSeekKey() const
virtual Long64_t GetSeekPdir() const
virtual TClass* IsA() const
Bool_t IsSubdir() const
virtual void Keep()
XMLNodePointer_t KeyNode() const
virtual Int_t Read(TObject* tobj)
virtual void ReadBuffer(char*&)
virtual void ReadFile()
virtual TObject* ReadObj()
virtual void* ReadObjectAny(const TClass* expectedClass)
virtual void SetBuffer()
void SetSubir()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void UpdateAttributes()
void UpdateObject(TObject* obj)
virtual Int_t WriteFile(Int_t = 1, TFile* = 0)
protected:
XMLNodePointer_t fKeyNode ! node with stored object
Long64_t fKeyId ! unique identifier of key for search methods
Bool_t fSubdir ! indicates that key contains subdirectory
________________________________________________________________________
TKeyXML is represents one block of data in TXMLFile
Normally this block corresponds to data of single object like histogram,
TObjArray and so on.
________________________________________________________________________
void StoreObject(const void* obj, const TClass* cl)
convert object to xml structure and keep this structure in key
Int_t Read(TObject* tobj)
To read an object from the file.
The object associated to this key is read from the file into memory.
Before invoking this function, obj has been created via the
default constructor.
void* XmlReadAny(void* obj, const TClass* expectedClass)
read object from key and cast to expected class
Author: Sergey Linev, Rene Brun 10.05.2004
Last update: root/xml:$Name: $:$Id: TKeyXML.cxx,v 1.8 2006/06/22 08:21:22 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
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.