31 const char *title =
nullptr);
33 const char *title =
nullptr);
#define ClassDefOverride(name, id)
TClass instances represent classes, structs and namespaces in the ROOT type system.
Describe directory structure in memory.
A ROOT file is composed of a header, followed by consecutive data records (TKey instances) with a wel...
Int_t WriteFile(Int_t=1, TFile *=nullptr) final
Write the encoded object supported by this key.
void UpdateObject(TObject *obj)
updates object, stored in the node Used for TDirectory data update
~TKeyXML() override
TKeyXML destructor.
void DeleteBuffer() final
Delete key buffer(s).
void Delete(Option_t *option="") final
Delete key from current directory Note: TKeyXML object is not deleted.
Long64_t GetKeyId() const
XMLNodePointer_t KeyNode() const
XMLNodePointer_t fKeyNode
Int_t Read(TObject *tobj) final
To read an object from the file.
void Keep() final
Set the "KEEP" status.
TXMLEngine * XMLEngine()
return pointer on TXMLEngine object, used for xml conversion
TObject * ReadObjWithBuffer(char *bufferRead) final
read object derived from TObject class, from key if it is not TObject or in case of error,...
char * GetBuffer() const final
void * XmlReadAny(void *obj, const TClass *expectedClass)
read object from key and cast to expected class
void * ReadObjectAny(const TClass *expectedClass) final
read object of any type
TKeyXML(const TKeyXML &)=delete
void FillBuffer(char *&) final
Encode key header into output buffer.
void StoreObject(const void *obj, const TClass *cl, Bool_t check_tobj=kFALSE)
convert object to xml structure and keep this structure in key
void UpdateAttributes()
update key attributes in key node
void StoreKeyAttributes()
Stores keys attributes in key node.
void ReadBuffer(char *&) final
Decode input buffer.
Long64_t fKeyId
node with stored object
Bool_t ReadFile() final
Read the key structure from the file.
TKeyXML & operator=(const TKeyXML &)=delete
Long64_t GetSeekPdir() const final
TObject * ReadObj() final
read object derived from TObject class, from key if it is not TObject or in case of error,...
Int_t Read(const char *name) final
Read contents of object with specified name from the current directory.
Long64_t GetSeekKey() const final
Bool_t fSubdir
unique identifier of key for search methods
Book space in a file, create I/O buffers, to fill them, (un)compress them.
Int_t Read(const char *name) override
Read contents of object with specified name from the current directory.
char * fBuffer
Object buffer.
Mother of all ROOT objects.