Class TXMLSetup is used as storage of xml file settings This class is used in TXMLFile and in TXmlBuffer classes. Xml settings can be codded via a string in following format "2xoo" ||| \ . || \ usage of name spaces. | \ usage of DTD; \ storage of TStreamerInfo objects in file; layout of xml file (= 2 - specialized (default), = 3 - generic) For last three boolean parameters "x" means true, "o" - false Such string can be set as argument of TXMLFile constructor. In that case new TXMLFile with such parameters will be created. These settings automatically stored in xml file.
TXMLSetup() | |
TXMLSetup(const char* opt) | |
TXMLSetup(const TXMLSetup& src) | |
virtual | ~TXMLSetup() |
static TClass* | Class() |
static TString | DefaultXmlSetup() |
Int_t | GetNextRefCounter() |
TString | GetSetupAsString() |
TXMLSetup::EXMLLayout | GetXmlLayout() const |
virtual TClass* | IsA() const |
Bool_t | IsStoreStreamerInfos() const |
Bool_t | IsUseDtd() const |
Bool_t | IsUseNamespaces() const |
TXMLSetup& | operator=(const TXMLSetup&) |
void | PrintSetup() |
static void | SetNameSpaceBase(const char* namespacebase) |
virtual void | SetStoreStreamerInfos(Bool_t iConvert = kTRUE) |
virtual void | SetUsedDtd(Bool_t use = kTRUE) |
virtual void | SetUseNamespaces(Bool_t iUseNamespaces = kTRUE) |
virtual void | SetXmlLayout(TXMLSetup::EXMLLayout layout) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
const char* | XmlClassNameSpaceRef(const TClass* cl) |
const char* | XmlConvertClassName(const char* name) |
const char* | XmlGetElementName(const TStreamerElement* el) |
Int_t | AtoI(const char* sbuf, Int_t def = 0, const char* errinfo = 0) |
const char* | GetElItemName(TStreamerElement* el) |
Bool_t | IsValidXmlSetup(const char* setupstr) |
Bool_t | ReadSetupFromStr(const char* setupstr) |
TClass* | XmlDefineClass(const char* xmlClassName) |
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces
produce string which used as reference in class namespace definition
return converted name for TStreamerElement
define class for the converted class name, where
special symbols were replaced by '_'
converts string to integer. if error, returns default value