ROOT » IO » XML » TBufferXML

class TBufferXML: public TBufferFile, public TXMLSetup


 Class for serializing/deserializing object to/from xml.
 It redefines most of TBuffer class function to convert simple types,
 array of simple types and objects to/from xml.
 Instead of writing a binary data it creates a set of xml structures as
 nodes and attributes
 TBufferXML class uses streaming mechanism, provided by ROOT system,
 therefore most of ROOT and user classes can be stored to xml. There are
 limitations for complex objects like TTree, which can not be yet converted to xml.

Function Members (Methods)

public:
virtual~TBufferXML()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual Int_tApplySequence(const TStreamerInfoActions::TActionSequence& sequence, void* object)
virtual Int_tApplySequence(const TStreamerInfoActions::TActionSequence& sequence, void* start_collection, void* end_collection)
virtual Int_tApplySequenceVecPtr(const TStreamerInfoActions::TActionSequence& sequence, void* start_collection, void* end_collection)
voidTBuffer::AutoExpand(Int_t size_needed)
virtual voidTObject::Browse(TBrowser* b)
char*TBuffer::Buffer() const
Int_tTBuffer::BufferSize() const
virtual Int_tCheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass* clss)
virtual Int_tCheckByteCount(UInt_t startpos, UInt_t bcnt, const char* classname)
virtual Bool_tTBufferFile::CheckObject(const TObject* obj)
virtual Bool_tTBufferFile::CheckObject(const void* obj, const TClass* ptrClass)
static TClass*Class()
virtual voidClassBegin(const TClass*, Version_t = -1)
virtual voidClassEnd(const TClass*)
virtual voidClassMember(const char* name, const char* typeName = 0, Int_t arrsize1 = -1, Int_t arrsize2 = -1)
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
static TObject*ConvertFromXML(const char* str, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
static void*ConvertFromXMLAny(const char* str, TClass** cl = 0, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
static TStringConvertToXML(const TObject* obj, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
static TStringConvertToXML(const void* obj, const TClass* cl, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
virtual voidTObject::Copy(TObject& object) const
virtual voidDecrementLevel(TVirtualStreamerInfo*)
static TStringTXMLSetup::DefaultXmlSetup()
virtual voidTObject::Delete(Option_t* option = "")MENU
voidTBuffer::DetachBuffer()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
voidTBuffer::Expand(Int_t newsize, Bool_t copy = kTRUE)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual voidTBufferFile::ForceWriteInfo(TVirtualStreamerInfo* info, Bool_t force)
virtual voidTBufferFile::ForceWriteInfoClones(TClonesArray* a)
virtual Int_tTBufferFile::GetBufferDisplacement() const
Int_tTBuffer::GetBufferVersion() const
static TClass*TBuffer::GetClass(const type_info& typeinfo)
static TClass*TBuffer::GetClass(const char* className)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static const char*GetFloatFormat()
static Int_tTBufferFile::GetGlobalReadParam()
static Int_tTBufferFile::GetGlobalWriteParam()
virtual const char*TObject::GetIconName() const
virtual TVirtualStreamerInfo*TBufferFile::GetInfo()
virtual TProcessID*TBufferFile::GetLastProcessID(TRefTable* reftable) const
virtual Int_tTBufferFile::GetMapCount() const
virtual voidTBufferFile::GetMappedObject(UInt_t tag, void*& ptr, TClass*& ClassPtr) const
virtual const char*TObject::GetName() const
Int_tTXMLSetup::GetNextRefCounter()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TObject*TBuffer::GetParent() const
virtual UShort_tTBufferFile::GetPidOffset() const
ReAllocCharFun_tTBuffer::GetReAllocFunc() const
TStringTXMLSetup::GetSetupAsString()
virtual const char*TObject::GetTitle() const
virtual UInt_tTBufferFile::GetTRefExecId()
virtual UInt_tTObject::GetUniqueID() const
virtual Int_tTBufferFile::GetVersionOwner() const
TXMLSetup::EXMLLayoutTXMLSetup::GetXmlLayout() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidIncrementLevel(TVirtualStreamerInfo*)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTBufferFile::InitMap()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tTBuffer::IsReading() const
virtual Bool_tTObject::IsSortable() const
Bool_tTXMLSetup::IsStoreStreamerInfos() const
Bool_tTXMLSetup::IsUseDtd() const
Bool_tTXMLSetup::IsUseNamespaces() const
Bool_tTBuffer::IsWriting() const
Bool_tTObject::IsZombie() const
Int_tTBuffer::Length() const
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTBufferFile::MapObject(const TObject* obj, UInt_t offset = 1)
virtual voidTBufferFile::MapObject(const void* obj, const TClass* cl, UInt_t offset = 1)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TBufferXML&operator=(const TBufferXML&)
virtual voidTObject::Paint(Option_t* option = "")
virtual TVirtualArray*TBuffer::PeekDataCache() const
virtual voidTObject::Pop()
virtual TVirtualArray*TBuffer::PopDataCache()
virtual voidTObject::Print(Option_t* option = "") const
voidTXMLSetup::PrintSetup()
virtual voidTBuffer::PushDataCache(TVirtualArray*)
virtual Int_tReadArray(Bool_t*& b)
virtual Int_tReadArray(Char_t*& c)
virtual Int_tReadArray(UChar_t*& c)
virtual Int_tReadArray(Short_t*& h)
virtual Int_tReadArray(UShort_t*& h)
virtual Int_tReadArray(Int_t*& i)
virtual Int_tReadArray(UInt_t*& i)
virtual Int_tReadArray(Long_t*& l)
virtual Int_tReadArray(ULong_t*& l)
virtual Int_tReadArray(Long64_t*& l)
virtual Int_tReadArray(ULong64_t*& l)
virtual Int_tReadArray(Float_t*& f)
virtual Int_tReadArray(Double_t*& d)
virtual Int_tReadArrayDouble32(Double_t*& d, TStreamerElement* ele = 0)
virtual Int_tReadArrayFloat16(Float_t*& f, TStreamerElement* ele = 0)
virtual voidReadBool(Bool_t& b)
virtual Int_tTBufferFile::ReadBuf(void* buf, Int_t max)
virtual voidReadChar(Char_t& c)
virtual voidReadCharP(Char_t* c)
virtual TClass*ReadClass(const TClass* cl = 0, UInt_t* objTag = 0)
virtual Int_tTBufferFile::ReadClassBuffer(const TClass* cl, void* pointer, const TClass* onfile_class)
virtual Int_tTBufferFile::ReadClassBuffer(const TClass* cl, void* pointer, Int_t version, UInt_t start, UInt_t count, const TClass* onfile_class)
virtual Int_tTBufferFile::ReadClassEmulated(const TClass* cl, void* object, const TClass* onfile_class)
virtual Int_tTBufferFile::ReadClones(TClonesArray* a, Int_t nobjects, Version_t objvers)
virtual voidReadDouble(Double_t& d)
virtual voidReadDouble32(Double_t* d, TStreamerElement* ele = 0)
virtual voidReadFastArray(Bool_t* b, Int_t n)
virtual voidReadFastArray(Char_t* c, Int_t n)
virtual voidReadFastArray(UChar_t* c, Int_t n)
virtual voidReadFastArray(Short_t* h, Int_t n)
virtual voidReadFastArray(UShort_t* h, Int_t n)
virtual voidReadFastArray(Int_t* i, Int_t n)
virtual voidReadFastArray(UInt_t* i, Int_t n)
virtual voidReadFastArray(Long_t* l, Int_t n)
virtual voidReadFastArray(ULong_t* l, Int_t n)
virtual voidReadFastArray(Long64_t* l, Int_t n)
virtual voidReadFastArray(ULong64_t* l, Int_t n)
virtual voidReadFastArray(Float_t* f, Int_t n)
virtual voidReadFastArray(Double_t* d, Int_t n)
virtual voidReadFastArray(void* start, const TClass* cl, Int_t n = 1, TMemberStreamer* s = 0, const TClass* onFileClass = 0)
virtual voidReadFastArray(void** startp, const TClass* cl, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0, const TClass* onFileClass = 0)
virtual voidReadFastArrayDouble32(Double_t* d, Int_t n, TStreamerElement* ele = 0)
virtual voidReadFastArrayFloat16(Float_t* f, Int_t n, TStreamerElement* ele = 0)
virtual voidTBufferFile::ReadFastArrayString(Char_t* c, Int_t n)
virtual voidReadFastArrayWithFactor(Float_t* ptr, Int_t n, Double_t factor, Double_t minvalue)
virtual voidReadFastArrayWithFactor(Double_t* ptr, Int_t n, Double_t factor, Double_t minvalue)
virtual voidReadFastArrayWithNbits(Float_t* ptr, Int_t n, Int_t nbits)
virtual voidReadFastArrayWithNbits(Double_t* ptr, Int_t n, Int_t nbits)
virtual voidReadFloat(Float_t& f)
virtual voidReadFloat16(Float_t* f, TStreamerElement* ele = 0)
virtual voidReadInt(Int_t& i)
virtual voidReadLong(Long_t& l)
virtual voidReadLong64(Long64_t& l)
virtual TObject*TBufferFile::ReadObject(const TClass* cl)
virtual void*ReadObjectAny(const TClass* clCast)
virtual TProcessID*TBufferFile::ReadProcessID(UShort_t pidf)
virtual voidReadShort(Short_t& s)
virtual Int_tReadStaticArray(Bool_t* b)
virtual Int_tReadStaticArray(Char_t* c)
virtual Int_tReadStaticArray(UChar_t* c)
virtual Int_tReadStaticArray(Short_t* h)
virtual Int_tReadStaticArray(UShort_t* h)
virtual Int_tReadStaticArray(Int_t* i)
virtual Int_tReadStaticArray(UInt_t* i)
virtual Int_tReadStaticArray(Long_t* l)
virtual Int_tReadStaticArray(ULong_t* l)
virtual Int_tReadStaticArray(Long64_t* l)
virtual Int_tReadStaticArray(ULong64_t* l)
virtual Int_tReadStaticArray(Float_t* f)
virtual Int_tReadStaticArray(Double_t* d)
virtual Int_tReadStaticArrayDouble32(Double_t* d, TStreamerElement* ele = 0)
virtual Int_tReadStaticArrayFloat16(Float_t* f, TStreamerElement* ele = 0)
virtual char*TBufferFile::ReadString(char* s, Int_t max)
virtual voidReadTString(TString& s)
virtual voidReadUChar(UChar_t& c)
virtual voidReadUInt(UInt_t& i)
virtual voidReadULong(ULong_t& l)
virtual voidReadULong64(ULong64_t& l)
virtual voidReadUShort(UShort_t& s)
virtual Version_tReadVersion(UInt_t* start = 0, UInt_t* bcnt = 0, const TClass* cl = 0)
virtual Version_tTBufferFile::ReadVersionForMemberWise(const TClass* cl = 0)
virtual Version_tTBufferFile::ReadVersionNoCheckSum(UInt_t* start = 0, UInt_t* bcnt = 0)
virtual voidReadWithFactor(Float_t* ptr, Double_t factor, Double_t minvalue)
virtual voidReadWithFactor(Double_t* ptr, Double_t factor, Double_t minvalue)
virtual voidReadWithNbits(Float_t* ptr, Int_t nbits)
virtual voidReadWithNbits(Double_t* ptr, Int_t nbits)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTBufferFile::Reset()
voidTObject::ResetBit(UInt_t f)
virtual voidTBufferFile::ResetMap()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTBuffer::SetBuffer(void* buf, UInt_t bufsiz = 0, Bool_t adopt = kTRUE, ReAllocCharFun_t reallocfunc = 0)
virtual voidTBufferFile::SetBufferDisplacement()
virtual voidTBufferFile::SetBufferDisplacement(Int_t skipped)
voidTBuffer::SetBufferOffset(Int_t offset = 0)
virtual voidSetByteCount(UInt_t cntpos, Bool_t packInVersion = kFALSE)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidSetFloatFormat(const char* fmt = "%e")
static voidTBufferFile::SetGlobalReadParam(Int_t mapsize)
static voidTBufferFile::SetGlobalWriteParam(Int_t mapsize)
static voidTXMLSetup::SetNameSpaceBase(const char* namespacebase)
static voidTObject::SetObjectStat(Bool_t stat)
voidTBuffer::SetParent(TObject* parent)
virtual voidTBufferFile::SetPidOffset(UShort_t offset)
voidTBuffer::SetReadMode()
virtual voidTBufferFile::SetReadParam(Int_t mapsize)
voidTBuffer::SetReAllocFunc(ReAllocCharFun_t reallocfunc = 0)
virtual voidTXMLSetup::SetStoreStreamerInfos(Bool_t iConvert = kTRUE)
virtual voidSetStreamerElementNumber(TStreamerElement* elem, Int_t comp_type)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTXMLSetup::SetUsedDtd(Bool_t use = kTRUE)
virtual voidTXMLSetup::SetUseNamespaces(Bool_t iUseNamespaces = kTRUE)
voidTBuffer::SetWriteMode()
virtual voidTBufferFile::SetWriteParam(Int_t mapsize)
virtual voidTXMLSetup::SetXmlLayout(TXMLSetup::EXMLLayout layout)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidSkipObjectAny()
virtual voidSkipVersion(const TClass* cl = 0)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidStreamObject(TObject* obj)
virtual voidStreamObject(void* obj, const type_info& typeinfo, const TClass* onFileClass = 0)
virtual voidStreamObject(void* obj, const char* className, const TClass* onFileClass = 0)
virtual voidStreamObject(void* obj, const TClass* cl, const TClass* onFileClass = 0)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTBufferFile::TagStreamerInfo(TVirtualStreamerInfo* info)
TBufferXML(TBuffer::EMode mode)
TBufferXML(const TBufferXML&)
TBufferXML(TBuffer::EMode mode, TXMLFile* file)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual voidWriteArray(const Bool_t* b, Int_t n)
virtual voidWriteArray(const Char_t* c, Int_t n)
virtual voidWriteArray(const UChar_t* c, Int_t n)
virtual voidWriteArray(const Short_t* h, Int_t n)
virtual voidWriteArray(const UShort_t* h, Int_t n)
virtual voidWriteArray(const Int_t* i, Int_t n)
virtual voidWriteArray(const UInt_t* i, Int_t n)
virtual voidWriteArray(const Long_t* l, Int_t n)
virtual voidWriteArray(const ULong_t* l, Int_t n)
virtual voidWriteArray(const Long64_t* l, Int_t n)
virtual voidWriteArray(const ULong64_t* l, Int_t n)
virtual voidWriteArray(const Float_t* f, Int_t n)
virtual voidWriteArray(const Double_t* d, Int_t n)
virtual voidWriteArrayDouble32(const Double_t* d, Int_t n, TStreamerElement* ele = 0)
virtual voidWriteArrayFloat16(const Float_t* f, Int_t n, TStreamerElement* ele = 0)
virtual voidWriteBool(Bool_t b)
virtual voidTBufferFile::WriteBuf(const void* buf, Int_t max)
virtual voidWriteChar(Char_t c)
virtual voidWriteCharP(const Char_t* c)
virtual voidWriteClass(const TClass* cl)
virtual Int_tTBufferFile::WriteClassBuffer(const TClass* cl, void* pointer)
virtual Int_tTBufferFile::WriteClones(TClonesArray* a, Int_t nobjects)
virtual voidWriteDouble(Double_t d)
virtual voidWriteDouble32(Double_t* d, TStreamerElement* ele = 0)
virtual voidWriteFastArray(const Bool_t* b, Int_t n)
virtual voidWriteFastArray(const Char_t* c, Int_t n)
virtual voidWriteFastArray(const UChar_t* c, Int_t n)
virtual voidWriteFastArray(const Short_t* h, Int_t n)
virtual voidWriteFastArray(const UShort_t* h, Int_t n)
virtual voidWriteFastArray(const Int_t* i, Int_t n)
virtual voidWriteFastArray(const UInt_t* i, Int_t n)
virtual voidWriteFastArray(const Long_t* l, Int_t n)
virtual voidWriteFastArray(const ULong_t* l, Int_t n)
virtual voidWriteFastArray(const Long64_t* l, Int_t n)
virtual voidWriteFastArray(const ULong64_t* l, Int_t n)
virtual voidWriteFastArray(const Float_t* f, Int_t n)
virtual voidWriteFastArray(const Double_t* d, Int_t n)
virtual voidWriteFastArray(void* start, const TClass* cl, Int_t n = 1, TMemberStreamer* s = 0)
virtual Int_tWriteFastArray(void** startp, const TClass* cl, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0)
virtual voidWriteFastArrayDouble32(const Double_t* d, Int_t n, TStreamerElement* ele = 0)
virtual voidWriteFastArrayFloat16(const Float_t* d, Int_t n, TStreamerElement* ele = 0)
virtual voidTBufferFile::WriteFastArrayString(const Char_t* c, Int_t n)
virtual voidWriteFloat(Float_t f)
virtual voidWriteFloat16(Float_t* f, TStreamerElement* ele = 0)
virtual voidWriteInt(Int_t i)
virtual voidWriteLong(Long_t l)
virtual voidWriteLong64(Long64_t l)
virtual voidWriteObject(const TObject* obj)
virtual Int_tTBufferFile::WriteObjectAny(const void* obj, const TClass* ptrClass)
virtual UShort_tTBufferFile::WriteProcessID(TProcessID* pid)
virtual voidWriteShort(Short_t s)
virtual voidTBufferFile::WriteString(const char* s)
virtual voidWriteTString(const TString& s)
virtual voidWriteUChar(UChar_t c)
virtual voidWriteUInt(UInt_t i)
virtual voidWriteULong(ULong_t l)
virtual voidWriteULong64(ULong64_t l)
virtual voidWriteUShort(UShort_t s)
virtual UInt_tWriteVersion(const TClass* cl, Bool_t useBcnt = kFALSE)
virtual UInt_tTBufferFile::WriteVersionMemberWise(const TClass* cl, Bool_t useBcnt = kFALSE)
const char*TXMLSetup::XmlClassNameSpaceRef(const TClass* cl)
const char*TXMLSetup::XmlConvertClassName(const char* name)
const char*TXMLSetup::XmlGetElementName(const TStreamerElement* el)
protected:
Int_tTXMLSetup::AtoI(const char* sbuf, Int_t def = 0, const char* errinfo = 0)
voidBeforeIOoperation()
voidTBufferFile::CheckCount(UInt_t offset)
UInt_tTBufferFile::CheckObject(UInt_t offset, const TClass* cl, Bool_t readClass = kFALSE)
voidCheckVersionBuf()
voidCreateElemNode(const TStreamerElement* elem)
XMLNodePointer_tCreateItemNode(const char* name)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Bool_tExtractPointer(XMLNodePointer_t node, void*& ptr, TClass*& cl)
voidExtractReference(XMLNodePointer_t node, const void* ptr, const TClass* cl)
Int_tGetCompressionAlgorithm() const
Int_tGetCompressionLevel() const
Int_tGetCompressionSettings() const
const char*TXMLSetup::GetElItemName(TStreamerElement* el)
Bool_tTXMLSetup::IsValidXmlSetup(const char* setupstr)
voidTObject::MakeZombie()
voidPerformPostProcessing()
voidPerformPreProcessing(const TStreamerElement* elem, XMLNodePointer_t elemnode)
TXMLStackObj*PopStack()
Bool_tProcessPointer(const void* ptr, XMLNodePointer_t node)
TXMLStackObj*PushStack(XMLNodePointer_t current, Bool_t simple = kFALSE)
virtual Int_tTBuffer::Read(const char* name)
Bool_tTXMLSetup::ReadSetupFromStr(const char* setupstr)
voidRegisterPointer(const void* ptr, XMLNodePointer_t node)
voidSetCompressionAlgorithm(Int_t algorithm = 0)
voidSetCompressionLevel(Int_t level = 1)
voidSetCompressionSettings(Int_t settings = 1)
voidSetXML(TXMLEngine* xml)
voidShiftStack(const char* info = 0)
TXMLStackObj*Stack(Int_t depth = 0)
XMLNodePointer_tStackNode()
TBufferXML()
Bool_tVerifyAttr(XMLNodePointer_t node, const char* name, const char* value, const char* errinfo = 0)
Bool_tVerifyElemNode(const TStreamerElement* elem)
Bool_tVerifyItemNode(const char* name, const char* errinfo = 0)
Bool_tVerifyNode(XMLNodePointer_t node, const char* name, const char* errinfo = 0)
Bool_tVerifyStackAttr(const char* name, const char* value, const char* errinfo = 0)
Bool_tVerifyStackNode(const char* name, const char* errinfo = 0)
voidWorkWithClass(TStreamerInfo* info, const TClass* cl = 0)
voidWorkWithElement(TStreamerElement* elem, Int_t comp_type)
virtual Int_tTBuffer::Write(const char* name, Int_t opt, Int_t bufs)
virtual Int_tTBuffer::Write(const char* name, Int_t opt, Int_t bufs) const
virtual voidWriteObjectClass(const void* actualObjStart, const TClass* actualClass)
TClass*TXMLSetup::XmlDefineClass(const char* xmlClassName)
TXMLFile*XmlFile()
void*XmlReadAny(XMLNodePointer_t node, void* obj, TClass** cl)
voidXmlReadBasic(Char_t& value)
voidXmlReadBasic(Short_t& value)
voidXmlReadBasic(Int_t& value)
voidXmlReadBasic(Long_t& value)
voidXmlReadBasic(Long64_t& value)
voidXmlReadBasic(Float_t& value)
voidXmlReadBasic(Double_t& value)
voidXmlReadBasic(Bool_t& value)
voidXmlReadBasic(UChar_t& value)
voidXmlReadBasic(UShort_t& value)
voidXmlReadBasic(UInt_t& value)
voidXmlReadBasic(ULong_t& value)
voidXmlReadBasic(ULong64_t& value)
voidXmlReadBlock(XMLNodePointer_t node)
void*XmlReadObject(void* obj, TClass** cl = 0)
const char*XmlReadValue(const char* name)
XMLNodePointer_tXmlWriteAny(const void* obj, const TClass* cl)
XMLNodePointer_tXmlWriteBasic(Char_t value)
XMLNodePointer_tXmlWriteBasic(Short_t value)
XMLNodePointer_tXmlWriteBasic(Int_t value)
XMLNodePointer_tXmlWriteBasic(Long_t value)
XMLNodePointer_tXmlWriteBasic(Long64_t value)
XMLNodePointer_tXmlWriteBasic(Float_t value)
XMLNodePointer_tXmlWriteBasic(Double_t value)
XMLNodePointer_tXmlWriteBasic(Bool_t value)
XMLNodePointer_tXmlWriteBasic(UChar_t value)
XMLNodePointer_tXmlWriteBasic(UShort_t value)
XMLNodePointer_tXmlWriteBasic(UInt_t value)
XMLNodePointer_tXmlWriteBasic(ULong_t value)
XMLNodePointer_tXmlWriteBasic(ULong64_t value)
voidXmlWriteBlock(XMLNodePointer_t node)
XMLNodePointer_tXmlWriteObject(const void* obj, const TClass* objClass)
XMLNodePointer_tXmlWriteValue(const char* value, const char* name)

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TBuffer::(anonymous)TBuffer::kCannotHandleMemberWiseStreaming
static TObject::EStatusBitsTObject::kCannotPick
static TXMLSetup::EXMLLayoutTXMLSetup::kGeneralized
static TObject::EStatusBitsTObject::kHasUUID
static TBuffer::(anonymous)TBuffer::kInitialSize
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TBuffer::(anonymous)TBuffer::kIsOwner
static TObject::EStatusBitsTObject::kIsReferenced
static TBufferFile::(anonymous)TBufferFile::kMapSize
static TBuffer::(anonymous)TBuffer::kMinimalSize
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TBufferFile::(anonymous)TBufferFile::kNotDecompressed
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TBuffer::EModeTBuffer::kRead
static TObject::(anonymous)TObject::kSingleKey
static TXMLSetup::EXMLLayoutTXMLSetup::kSpecialized
static TBufferFile::(anonymous)TBufferFile::kStreamedMemberWise
static TBufferFile::(anonymous)TBufferFile::kTextBasedStreaming
static TBufferFile::(anonymous)TBufferFile::kUser1
static TBufferFile::(anonymous)TBufferFile::kUser2
static TBufferFile::(anonymous)TBufferFile::kUser3
static TBuffer::EModeTBuffer::kWrite
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
char*TBuffer::fBufCurCurrent position in buffer
char*TBuffer::fBufMaxEnd of buffer
Int_tTBuffer::fBufSizeSize of buffer
char*TBuffer::fBufferBuffer used to store objects
TBuffer::CacheList_tTBuffer::fCacheStackStack of pointers to the cache where to temporarily store the value of 'missing' data members
Bool_tfCanUseCompact! flag indicate that basic type (like Int_t) can be placed in the same tag
TExMap*TBufferFile::fClassMapMap containing object,class pairs for reading
Int_tfCompressLevel! compression level and algorithm
Int_tTBufferFile::fDisplacementValue to be added to the map offsets
Int_tfErrorFlag!
TClass*fExpectedBaseClass! pointer to class, which should be stored as parent of current
Bool_tfExpectedChain! flag to resolve situation when several elements of same basic type stored as FastArray
TObjArray*fIdArray!
TStreamerInfo*TBufferFile::fInfoPointer to TStreamerInfo object writing/reading the buffer
TBufferFile::InfoList_tTBufferFile::fInfoStackStack of pointers to the TStreamerInfos
TExMap*TBufferFile::fMapMap containing object,offset pairs for reading/writing
Int_tTBufferFile::fMapCountNumber of objects or classes in map
Int_tTBufferFile::fMapSizeDefault size of map
Bool_tTBuffer::fModeRead or write mode
TExMap*fObjMap!
TObject*TBuffer::fParentPointer to parent object owning this buffer
UShort_tTBufferFile::fPidOffsetOffset to be added to the pid index in this key/buffer.
ReAllocCharFun_tTBuffer::fReAllocFunc! Realloc function to be used when extending the buffer.
Int_tTXMLSetup::fRefCounter! counter , used to build id of xml references
TObjArrayfStack!
Bool_tTXMLSetup::fStoreStreamerInfos
TStringTXMLSetup::fStrBuf! buffer, used in XmlDefineClass() function
Bool_tTXMLSetup::fUseDtd
Bool_tTXMLSetup::fUseNamespaces
TStringfValueBuf!
Int_tTBuffer::fVersionBuffer format version
Version_tfVersionBuf!
TXMLEngine*fXML!
TXMLSetup::EXMLLayoutTXMLSetup::fXmlLayout
static stringfgFloatFmt! printf argument for floats and doubles, either "%f" or "%e" or "%10f" and so on
static Int_tTBufferFile::fgMapSizeDefault map size for all TBuffer objects
static TStringTXMLSetup::fgNameSpaceBase

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TBufferXML()
 Default constructor
TBufferXML(TBuffer::EMode mode)
 Creates buffer object to serailize/deserialize data to/from xml.
 Mode should be either TBuffer::kRead or TBuffer::kWrite.
TBufferXML(TBuffer::EMode mode, TXMLFile* file)
 Creates buffer object to serailize/deserialize data to/from xml.
 This constructor should be used, if data from buffer supposed to be stored in file.
 Mode should be either TBuffer::kRead or TBuffer::kWrite.
~TBufferXML()
 destroy xml buffer
TXMLFile* XmlFile()
 returns pointer to TXMLFile object
 access to file is necessary to produce unique identifier for object references
TString ConvertToXML(const TObject* obj, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
 converts object, inherited from TObject class, to XML string
 fmt contains configuration of XML layout. See TXMLSetup class for detatils
TString ConvertToXML(const void* obj, const TClass* cl, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
 converts any type of object to XML string
 fmt contains configuration of XML layout. See TXMLSetup class for detatils
TObject* ConvertFromXML(const char* str, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
 Read object from XML, produced by ConvertToXML() method.
 If object does not inherit from TObject class, return 0.
 GenericLayout and UseNamespaces should be the same as in ConvertToXML()
void* ConvertFromXMLAny(const char* str, TClass** cl = 0, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE)
 Read object of any class from XML, produced by ConvertToXML() method.
 If cl!=0, return actual class of object.
 GenericLayout and UseNamespaces should be the same as in ConvertToXML()
XMLNodePointer_t XmlWriteAny(const void* obj, const TClass* cl)
 Convert object of any class to xml structures
 Return pointer on top xml element
void* XmlReadAny(XMLNodePointer_t node, void* obj, TClass** cl)
 Recreate object from xml structure.
 Return pointer to read object.
 if (cl!=0) returns pointer to class of object
void WriteObject(const TObject* obj)
 Convert object into xml structures.
 !!! Should be used only by TBufferXML itself.
 Use ConvertToXML() methods to convert your object to xml
 Redefined here to avoid gcc 3.x warning
TXMLStackObj* PushStack(XMLNodePointer_t current, Bool_t simple = kFALSE)
 add new level to xml stack
TXMLStackObj* PopStack()
 remove one level from xml stack
TXMLStackObj* Stack(Int_t depth = 0)
 return xml stack object of specified depth
XMLNodePointer_t StackNode()
 return pointer on current xml node
void ShiftStack(const char* info = 0)
 shift stack node to next
void SetCompressionAlgorithm(Int_t algorithm = 0)
 See comments for function SetCompressionSettings
void SetCompressionLevel(Int_t level = 1)
 See comments for function SetCompressionSettings
void SetCompressionSettings(Int_t settings = 1)
 Used to specify the compression level and algorithm:
  settings = 100 * algorithm + level

  level = 0 no compression.
  level = 1 minimal compression level but fast.

  level = 9 maximal compression level but slower and might use more memory.
 (For the currently supported algorithms, the maximum level is 9)
 If compress is negative it indicates the compression level is not set yet.

 The enumeration ROOT::ECompressionAlgorithm associates each
 algorithm with a number. There is a utility function to help
 to set the value of compress. For example,
   ROOT::CompressionSettings(ROOT::kLZMA, 1)
 will build an integer which will set the compression to use
 the LZMA algorithm and compression level 1.  These are defined
 in the header file Compression.h.
void XmlWriteBlock(XMLNodePointer_t node)
 write binary data block from buffer to xml
 this data can be produced only by direct call of TBuffer::WriteBuf() functions
void XmlReadBlock(XMLNodePointer_t node)
 read binary block of data from xml
Bool_t ProcessPointer(const void* ptr, XMLNodePointer_t node)
 Add "ptr" attribute to node, if ptr is null or
 if ptr is pointer on object, which is already saved in buffer
 Automatically add "ref" attribute to node, where referenced object is stored
void RegisterPointer(const void* ptr, XMLNodePointer_t node)
 Register pair of object pointer and node, where this object is saved,
 in object map
Bool_t ExtractPointer(XMLNodePointer_t node, void*& ptr, TClass*& cl)
 Searches for "ptr" attribute and returns pointer to object and class,
 if "ptr" attribute reference to read object
void ExtractReference(XMLNodePointer_t node, const void* ptr, const TClass* cl)
 Analyse, if node has "ref" attribute and register it to object map
Bool_t VerifyNode(XMLNodePointer_t node, const char* name, const char* errinfo = 0)
 check, if node has specified name
Bool_t VerifyStackNode(const char* name, const char* errinfo = 0)
 check, if stack node has specified name
Bool_t VerifyAttr(XMLNodePointer_t node, const char* name, const char* value, const char* errinfo = 0)
 checks, that attribute of specified name exists and has specified value
Bool_t VerifyStackAttr(const char* name, const char* value, const char* errinfo = 0)
 checks stack attribute
XMLNodePointer_t CreateItemNode(const char* name)
 create item node of specified name
Bool_t VerifyItemNode(const char* name, const char* errinfo = 0)
 checks, if stack node is item and has specified name
void CreateElemNode(const TStreamerElement* elem)
 create xml node correspondent to TStreamerElement object
Bool_t VerifyElemNode(const TStreamerElement* elem)
 Checks, if stack node correspond to TStreamerElement object
XMLNodePointer_t XmlWriteObject(const void* obj, const TClass* objClass)
 Write object to buffer
 If object was written before, only pointer will be stored
 Return pointer to top xml node, representing object
void* XmlReadObject(void* obj, TClass** cl = 0)
 Read object from the buffer
void IncrementLevel(TVirtualStreamerInfo* )
 Function is called from TStreamerInfo WriteBuffer and Readbuffer functions
 and indent new level in xml structure.
 This call indicates, that TStreamerInfo functions starts streaming
 object data of correspondent class
void WorkWithClass(TStreamerInfo* info, const TClass* cl = 0)
 Prepares buffer to stream data of specified class
void DecrementLevel(TVirtualStreamerInfo* )
 Function is called from TStreamerInfo WriteBuffer and Readbuffer functions
 and decrease level in xml structure.
void SetStreamerElementNumber(TStreamerElement* elem, Int_t comp_type)
 Function is called from TStreamerInfo WriteBuffer and Readbuffer functions
 and add/verify next element of xml structure
 This calls allows separate data, correspondent to one class member, from another
void WorkWithElement(TStreamerElement* elem, Int_t comp_type)
 This function is a part of SetStreamerElementNumber method.
 It is introduced for reading of data for specified data memeber of class.
 Used also in ReadFastArray methods to resolve problem of compressed data,
 when several data memebers of the same basic type streamed with single ...FastArray call
void ClassBegin(const TClass* , Version_t = -1)
 Should be called in the beginning of custom class streamer.
 Informs buffer data about class which will be streamed now.

 ClassBegin(), ClassEnd() and ClassMemeber() should be used in
 custom class streamers to specify which kind of data are
 now streamed. Such information is used to correctly
 convert class data to XML. Without that functions calls
 classes with custom streamers cannot be used with TBufferXML
void ClassEnd(const TClass* )
 Should be called at the end of custom streamer
 See TBufferXML::ClassBegin for more details
void ClassMember(const char* name, const char* typeName = 0, Int_t arrsize1 = -1, Int_t arrsize2 = -1)
 Method indicates name and typename of class member,
 which should be now streamed in custom streamer
 Following combinations are supported:
 1. name = "ClassName", typeName = 0 or typename==ClassName
    This is a case, when data of parent class "ClassName" should be streamed.
     For instance, if class directly inherited from TObject, custom
     streamer should include following code:
       b.ClassMember("TObject");
       TObject::Streamer(b);
 2. Basic data type
      b.ClassMember("fInt","Int_t");
      b >> fInt;
 3. Array of basic data types
      b.ClassMember("fArr","Int_t", 5);
      b.ReadFastArray(fArr, 5);
 4. Object as data member
      b.ClassMemeber("fName","TString");
      fName.Streamer(b);
 5. Pointer on object as data member
      b.ClassMemeber("fObj","TObject*");
      b.StreamObject(fObj);
  arrsize1 and arrsize2 arguments (when specified) indicate first and
  second dimension of array. Can be used for array of basic types.
  See ClassBegin() method for more details.
void PerformPostProcessing()
 Function is converts TObject and TString structures to more compact representation
void PerformPreProcessing(const TStreamerElement* elem, XMLNodePointer_t elemnode)
 Function is unpack TObject and TString structures to be able read
 them from custom streamers of this objects
void BeforeIOoperation()
 Function is called before any IO operation of TBuffer
 Now is used to store version value if no proper calls are discovered
TClass* ReadClass(const TClass* cl = 0, UInt_t* objTag = 0)
 suppressed function of TBuffer
void WriteClass(const TClass* cl)
 suppressed function of TBuffer
Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass* clss)
 suppressed function of TBuffer
Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const char* classname)
 suppressed function of TBuffer
void SetByteCount(UInt_t cntpos, Bool_t packInVersion = kFALSE)
 suppressed function of TBuffer
void SkipVersion(const TClass* cl = 0)
 Skip class version from I/O buffer.
Version_t ReadVersion(UInt_t* start = 0, UInt_t* bcnt = 0, const TClass* cl = 0)
 read version value from buffer
void CheckVersionBuf()
 checks buffer, filled by WriteVersion
 if next data is arriving, version should be stored in buffer
UInt_t WriteVersion(const TClass* cl, Bool_t useBcnt = kFALSE)
 Copies class version to buffer, but not writes it to xml
 Version will be written with next I/O operation or
 will be added as attribute of class tag, created by IncrementLevel call
void* ReadObjectAny(const TClass* clCast)
 Read object from buffer. Only used from TBuffer
void SkipObjectAny()
 Skip any kind of object from buffer
 Actually skip only one node on current level of xml structure
void WriteObjectClass(const void* actualObjStart, const TClass* actualClass)
 Write object to buffer. Only used from TBuffer
void ReadFloat16(Float_t* f, TStreamerElement* ele = 0)
 read a Float16_t from the buffer
void ReadDouble32(Double_t* d, TStreamerElement* ele = 0)
 read a Double32_t from the buffer
void ReadWithFactor(Float_t* ptr, Double_t factor, Double_t minvalue)
 Read a Double32_t from the buffer when the factor and minimun value have been specified
 see comments about Double32_t encoding at TBufferFile::WriteDouble32().
 Currently TBufferXML does not optimize space in this case.
void ReadWithNbits(Float_t* ptr, Int_t nbits)
 Read a Float16_t from the buffer when the number of bits is specified (explicitly or not)
 see comments about Float16_t encoding at TBufferFile::WriteFloat16().
 Currently TBufferXML does not optimize space in this case.
void ReadWithFactor(Double_t* ptr, Double_t factor, Double_t minvalue)
 Read a Double32_t from the buffer when the factor and minimun value have been specified
 see comments about Double32_t encoding at TBufferFile::WriteDouble32().
 Currently TBufferXML does not optimize space in this case.
void ReadWithNbits(Double_t* ptr, Int_t nbits)
 Read a Double32_t from the buffer when the number of bits is specified (explicitly or not)
 see comments about Double32_t encoding at TBufferFile::WriteDouble32().
 Currently TBufferXML does not optimize space in this case.
void WriteFloat16(Float_t* f, TStreamerElement* ele = 0)
 write a Float16_t to the buffer
void WriteDouble32(Double_t* d, TStreamerElement* ele = 0)
 write a Double32_t to the buffer
Int_t ReadArray(Bool_t*& b)
 Read array of Bool_t from buffer
Int_t ReadArray(Char_t*& c)
 Read array of Char_t from buffer
Int_t ReadArray(UChar_t*& c)
 Read array of UChar_t from buffer
Int_t ReadArray(Short_t*& h)
 Read array of Short_t from buffer
Int_t ReadArray(UShort_t*& h)
 Read array of UShort_t from buffer
Int_t ReadArray(Int_t*& i)
 Read array of Int_t from buffer
Int_t ReadArray(UInt_t*& i)
 Read array of UInt_t from buffer
Int_t ReadArray(Long_t*& l)
 Read array of Long_t from buffer
Int_t ReadArray(ULong_t*& l)
 Read array of ULong_t from buffer
Int_t ReadArray(Long64_t*& l)
 Read array of Long64_t from buffer
Int_t ReadArray(ULong64_t*& l)
 Read array of ULong64_t from buffer
Int_t ReadArray(Float_t*& f)
 Read array of Float_t from buffer
Int_t ReadArray(Double_t*& d)
 Read array of Double_t from buffer
Int_t ReadArrayFloat16(Float_t*& f, TStreamerElement* ele = 0)
 Read array of Float16_t from buffer
Int_t ReadArrayDouble32(Double_t*& d, TStreamerElement* ele = 0)
 Read array of Double32_t from buffer
Int_t ReadStaticArray(Bool_t* b)
 Read array of Bool_t from buffer
Int_t ReadStaticArray(Char_t* c)
 Read array of Char_t from buffer
Int_t ReadStaticArray(UChar_t* c)
 Read array of UChar_t from buffer
Int_t ReadStaticArray(Short_t* h)
 Read array of Short_t from buffer
Int_t ReadStaticArray(UShort_t* h)
 Read array of UShort_t from buffer
Int_t ReadStaticArray(Int_t* i)
 Read array of Int_t from buffer
Int_t ReadStaticArray(UInt_t* i)
 Read array of UInt_t from buffer
Int_t ReadStaticArray(Long_t* l)
 Read array of Long_t from buffer
Int_t ReadStaticArray(ULong_t* l)
 Read array of ULong_t from buffer
Int_t ReadStaticArray(Long64_t* l)
 Read array of Long64_t from buffer
Int_t ReadStaticArray(ULong64_t* l)
 Read array of ULong64_t from buffer
Int_t ReadStaticArray(Float_t* f)
 Read array of Float_t from buffer
Int_t ReadStaticArray(Double_t* d)
 Read array of Double_t from buffer
Int_t ReadStaticArrayFloat16(Float_t* f, TStreamerElement* ele = 0)
 Read array of Float16_t from buffer
Int_t ReadStaticArrayDouble32(Double_t* d, TStreamerElement* ele = 0)
 Read array of Double32_t from buffer
void ReadFastArray(Bool_t* b, Int_t n)
 read array of Bool_t from buffer
void ReadFastArray(Char_t* c, Int_t n)
 read array of Char_t from buffer
 if nodename==CharStar, read all array as string
void ReadFastArray(UChar_t* c, Int_t n)
 read array of UChar_t from buffer
void ReadFastArray(Short_t* h, Int_t n)
 read array of Short_t from buffer
void ReadFastArray(UShort_t* h, Int_t n)
 read array of UShort_t from buffer
void ReadFastArray(Int_t* i, Int_t n)
 read array of Int_t from buffer
void ReadFastArray(UInt_t* i, Int_t n)
 read array of UInt_t from buffer
void ReadFastArray(Long_t* l, Int_t n)
 read array of Long_t from buffer
void ReadFastArray(ULong_t* l, Int_t n)
 read array of ULong_t from buffer
void ReadFastArray(Long64_t* l, Int_t n)
 read array of Long64_t from buffer
void ReadFastArray(ULong64_t* l, Int_t n)
 read array of ULong64_t from buffer
void ReadFastArray(Float_t* f, Int_t n)
 read array of Float_t from buffer
void ReadFastArray(Double_t* d, Int_t n)
 read array of Double_t from buffer
void ReadFastArrayFloat16(Float_t* f, Int_t n, TStreamerElement* ele = 0)
 read array of Float16_t from buffer
void ReadFastArrayWithFactor(Float_t* ptr, Int_t n, Double_t factor, Double_t minvalue)
 read array of Float16_t from buffer
void ReadFastArrayWithNbits(Float_t* ptr, Int_t n, Int_t nbits)
 read array of Float16_t from buffer
void ReadFastArrayDouble32(Double_t* d, Int_t n, TStreamerElement* ele = 0)
 read array of Double32_t from buffer
void ReadFastArrayWithFactor(Double_t* ptr, Int_t n, Double_t factor, Double_t minvalue)
 read array of Double32_t from buffer
void ReadFastArrayWithNbits(Double_t* ptr, Int_t n, Int_t nbits)
 read array of Double32_t from buffer
void ReadFastArray(void* start, const TClass* cl, Int_t n = 1, TMemberStreamer* s = 0, const TClass* onFileClass = 0)
 redefined here to avoid warning message from gcc
void ReadFastArray(void** startp, const TClass* cl, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0, const TClass* onFileClass = 0)
 redefined here to avoid warning message from gcc
void WriteArray(const Bool_t* b, Int_t n)
 Write array of Bool_t to buffer
void WriteArray(const Char_t* c, Int_t n)
 Write array of Char_t to buffer
void WriteArray(const UChar_t* c, Int_t n)
 Write array of UChar_t to buffer
void WriteArray(const Short_t* h, Int_t n)
 Write array of Short_t to buffer
void WriteArray(const UShort_t* h, Int_t n)
 Write array of UShort_t to buffer
void WriteArray(const Int_t* i, Int_t n)
 Write array of Int_ to buffer
void WriteArray(const UInt_t* i, Int_t n)
 Write array of UInt_t to buffer
void WriteArray(const Long_t* l, Int_t n)
 Write array of Long_t to buffer
void WriteArray(const ULong_t* l, Int_t n)
 Write array of ULong_t to buffer
void WriteArray(const Long64_t* l, Int_t n)
 Write array of Long64_t to buffer
void WriteArray(const ULong64_t* l, Int_t n)
 Write array of ULong64_t to buffer
void WriteArray(const Float_t* f, Int_t n)
 Write array of Float_t to buffer
void WriteArray(const Double_t* d, Int_t n)
 Write array of Double_t to buffer
void WriteArrayFloat16(const Float_t* f, Int_t n, TStreamerElement* ele = 0)
 Write array of Float16_t to buffer
void WriteArrayDouble32(const Double_t* d, Int_t n, TStreamerElement* ele = 0)
 Write array of Double32_t to buffer
void WriteFastArray(const Bool_t* b, Int_t n)
 Write array of Bool_t to buffer
void WriteFastArray(const Char_t* c, Int_t n)
 Write array of Char_t to buffer
 If array does not include any special characters,
 it will be reproduced as CharStar node with string as attribute
void WriteFastArray(const UChar_t* c, Int_t n)
 Write array of UChar_t to buffer
void WriteFastArray(const Short_t* h, Int_t n)
 Write array of Short_t to buffer
void WriteFastArray(const UShort_t* h, Int_t n)
 Write array of UShort_t to buffer
void WriteFastArray(const Int_t* i, Int_t n)
 Write array of Int_t to buffer
void WriteFastArray(const UInt_t* i, Int_t n)
 Write array of UInt_t to buffer
void WriteFastArray(const Long_t* l, Int_t n)
 Write array of Long_t to buffer
void WriteFastArray(const ULong_t* l, Int_t n)
 Write array of ULong_t to buffer
void WriteFastArray(const Long64_t* l, Int_t n)
 Write array of Long64_t to buffer
void WriteFastArray(const ULong64_t* l, Int_t n)
 Write array of ULong64_t to buffer
void WriteFastArray(const Float_t* f, Int_t n)
 Write array of Float_t to buffer
void WriteFastArray(const Double_t* d, Int_t n)
 Write array of Double_t to buffer
void WriteFastArrayFloat16(const Float_t* d, Int_t n, TStreamerElement* ele = 0)
 Write array of Float16_t to buffer
void WriteFastArrayDouble32(const Double_t* d, Int_t n, TStreamerElement* ele = 0)
 Write array of Double32_t to buffer
void WriteFastArray(void* start, const TClass* cl, Int_t n = 1, TMemberStreamer* s = 0)
 Recall TBuffer function to avoid gcc warning message
Int_t WriteFastArray(void** startp, const TClass* cl, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0)
 Recall TBuffer function to avoid gcc warning message
void StreamObject(void* obj, const type_info& typeinfo, const TClass* onFileClass = 0)
 steram object to/from buffer
void StreamObject(void* obj, const char* className, const TClass* onFileClass = 0)
 steram object to/from buffer
void StreamObject(TObject* obj)
 steram object to/from buffer
void StreamObject(void* obj, const TClass* cl, const TClass* onFileClass = 0)
 steram object to/from buffer
void ReadBool(Bool_t& b)
 Reads Bool_t value from buffer
void ReadChar(Char_t& c)
 Reads Char_t value from buffer
void ReadUChar(UChar_t& c)
 Reads UChar_t value from buffer
void ReadShort(Short_t& s)
 Reads Short_t value from buffer
void ReadUShort(UShort_t& s)
 Reads UShort_t value from buffer
void ReadInt(Int_t& i)
 Reads Int_t value from buffer
void ReadUInt(UInt_t& i)
 Reads UInt_t value from buffer
void ReadLong(Long_t& l)
 Reads Long_t value from buffer
void ReadULong(ULong_t& l)
 Reads ULong_t value from buffer
void ReadLong64(Long64_t& l)
 Reads Long64_t value from buffer
void ReadULong64(ULong64_t& l)
 Reads ULong64_t value from buffer
void ReadFloat(Float_t& f)
 Reads Float_t value from buffer
void ReadDouble(Double_t& d)
 Reads Double_t value from buffer
void ReadCharP(Char_t* c)
 Reads array of characters from buffer
void ReadTString(TString& s)
 Reads a TString
void WriteBool(Bool_t b)
 Writes Bool_t value to buffer
void WriteChar(Char_t c)
 Writes Char_t value to buffer
void WriteUChar(UChar_t c)
 Writes UChar_t value to buffer
void WriteShort(Short_t s)
 Writes Short_t value to buffer
void WriteUShort(UShort_t s)
 Writes UShort_t value to buffer
void WriteInt(Int_t i)
 Writes Int_t value to buffer
void WriteUInt(UInt_t i)
 Writes UInt_t value to buffer
void WriteLong(Long_t l)
 Writes Long_t value to buffer
void WriteULong(ULong_t l)
 Writes ULong_t value to buffer
void WriteLong64(Long64_t l)
 Writes Long64_t value to buffer
void WriteULong64(ULong64_t l)
 Writes ULong64_t value to buffer
void WriteFloat(Float_t f)
 Writes Float_t value to buffer
void WriteDouble(Double_t d)
 Writes Double_t value to buffer
void WriteCharP(const Char_t* c)
 Writes array of characters to buffer
void WriteTString(const TString& s)
 Writes a TString
XMLNodePointer_t XmlWriteBasic(Char_t value)
 converts Char_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Short_t value)
 converts Short_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Int_t value)
 converts Int_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Long_t value)
 converts Long_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Long64_t value)
 converts Long64_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Float_t value)
 converts Float_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Double_t value)
 converts Double_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(Bool_t value)
 converts Bool_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(UChar_t value)
 converts UChar_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(UShort_t value)
 converts UShort_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(UInt_t value)
 converts UInt_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(ULong_t value)
 converts ULong_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteBasic(ULong64_t value)
 converts ULong64_t to string and add xml node to buffer
XMLNodePointer_t XmlWriteValue(const char* value, const char* name)
 create xml node with specified name and adds it to stack node
void XmlReadBasic(Char_t& value)
 reads string from current xml node and convert it to Char_t value
void XmlReadBasic(Short_t& value)
 reads string from current xml node and convert it to Short_t value
void XmlReadBasic(Int_t& value)
 reads string from current xml node and convert it to Int_t value
void XmlReadBasic(Long_t& value)
 reads string from current xml node and convert it to Long_t value
void XmlReadBasic(Long64_t& value)
 reads string from current xml node and convert it to Long64_t value
void XmlReadBasic(Float_t& value)
 reads string from current xml node and convert it to Float_t value
void XmlReadBasic(Double_t& value)
 reads string from current xml node and convert it to Double_t value
void XmlReadBasic(Bool_t& value)
 reads string from current xml node and convert it to Bool_t value
void XmlReadBasic(UChar_t& value)
 reads string from current xml node and convert it to UChar_t value
void XmlReadBasic(UShort_t& value)
 reads string from current xml node and convert it to UShort_t value
void XmlReadBasic(UInt_t& value)
 reads string from current xml node and convert it to UInt_t value
void XmlReadBasic(ULong_t& value)
 reads string from current xml node and convert it to ULong_t value
void XmlReadBasic(ULong64_t& value)
 reads string from current xml node and convert it to ULong64_t value
const char* XmlReadValue(const char* name)
 read string value from current stack node
void SetFloatFormat(const char* fmt = "%e")
 Set printf format for float/double members, default "%e"
 This method is not thread-safe as it changes a global state.
const char* GetFloatFormat()
 return current printf format for float/double members, default "%e"
Int_t ApplySequence(const TStreamerInfoActions::TActionSequence& sequence, void* object)
 Read one collection of objects from the buffer using the StreamerInfoLoopAction.
 The collection needs to be a split TClonesArray or a split vector of pointers.
Int_t ApplySequenceVecPtr(const TStreamerInfoActions::TActionSequence& sequence, void* start_collection, void* end_collection)
 Read one collection of objects from the buffer using the StreamerInfoLoopAction.
 The collection needs to be a split TClonesArray or a split vector of pointers.
Int_t ApplySequence(const TStreamerInfoActions::TActionSequence& sequence, void* start_collection, void* end_collection)
 Read one collection of objects from the buffer using the StreamerInfoLoopAction.
Int_t GetCompressionAlgorithm() const
Int_t GetCompressionLevel() const
Int_t GetCompressionSettings() const
TBufferXML(TBuffer::EMode mode)
void SetXML(TXMLEngine* xml)
{ fXML = xml; }