12 #ifndef ROOT_TXMLSetup
13 #define ROOT_TXMLSetup
34 extern const char*
Root;
35 extern const char*
Setup;
39 extern const char*
Ptr;
40 extern const char*
Ref;
41 extern const char*
Null;
43 extern const char*
Size;
46 extern const char*
Cycle;
48 extern const char*
Zip;
51 extern const char*
Class;
53 extern const char*
Item;
54 extern const char*
Name;
55 extern const char*
Title;
59 extern const char*
Type;
60 extern const char*
Value;
62 extern const char*
cnt;
63 extern const char*
True;
64 extern const char*
False;
67 extern const char*
Array;
68 extern const char*
Bool;
69 extern const char*
Char;
70 extern const char*
Short;
71 extern const char*
Int;
72 extern const char*
Long;
74 extern const char*
Float;
76 extern const char*
UChar;
78 extern const char*
UInt;
79 extern const char*
ULong;
128 Int_t AtoI(
const char* sbuf,
Int_t def = 0,
const char* errinfo = 0);
Bool_t IsStoreStreamerInfos() const
static void SetNameSpaceBase(const char *namespacebase)
set namespace base
Bool_t IsUseNamespaces() const
void PrintSetup()
show setup values
static TString DefaultXmlSetup()
return default value for XML setup
EXMLLayout GetXmlLayout() const
TXMLSetup()
defaule constructor of TXMLSetup class
#define ClassDef(name, id)
Int_t AtoI(const char *sbuf, Int_t def=0, const char *errinfo=0)
converts string to integer.
const char * GetElItemName(TStreamerElement *el)
get item name for given element
virtual void SetUsedDtd(Bool_t use=kTRUE)
TString fStrBuf
counter , used to build id of xml references
const char * XmlGetElementName(const TStreamerElement *el)
return converted name for TStreamerElement
The ROOT global object gROOT contains a list of all defined classes.
Int_t GetNextRefCounter()
Bool_t fStoreStreamerInfos
virtual ~TXMLSetup()
TXMLSetup class destructor.
const char * XmlConvertClassName(const char *name)
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces ...
const char * XmlClassNameSpaceRef(const TClass *cl)
produce string which used as reference in class namespace definition
virtual void SetStoreStreamerInfos(Bool_t iConvert=kTRUE)
TString GetSetupAsString()
return setup values as string
static TString fgNameSpaceBase
buffer, used in XmlDefineClass() function
virtual void SetUseNamespaces(Bool_t iUseNamespaces=kTRUE)
Bool_t ReadSetupFromStr(const char *setupstr)
get values from string
TClass * XmlDefineClass(const char *xmlClassName)
define class for the converted class name, where special symbols were replaced by '_' ...
const char * ClassVersion
virtual void SetXmlLayout(EXMLLayout layout)
Bool_t IsValidXmlSetup(const char *setupstr)
checks if string is valid setup