52const char *
Ptr =
"ptr";
53const char *
Ref =
"ref";
61const char *
Zip =
"zip";
75const char *
cnt =
"cnt";
81const char *
Bool =
"Bool_t";
82const char *
Char =
"Char_t";
84const char *
Int =
"Int_t";
85const char *
Long =
"Long_t";
91const char *
UInt =
"UInt_t";
129 : fXmlLayout(
src.fXmlLayout), fStoreStreamerInfos(
src.fStoreStreamerInfos), fUseDtd(
src.fUseDtd),
130 fUseNamespaces(
src.fUseNamespaces)
151 char setupstr[10] =
"2xxx";
155 setupstr[2] =
fUseDtd ?
'x' :
'o';
166 if (!setupstr || (strlen(setupstr) != 4))
170 if ((str[0] < 48) || (str[0] > 53))
172 for (
int n = 1;
n < 4;
n++)
173 if ((str[
n] !=
'o') && (str[
n] !=
'x'))
183 if (!setupstr || (strlen(setupstr) < 4))
202 std::cout <<
" *** Setup printout ***" << std::endl;
203 std::cout <<
"Attribute mode = " <<
fXmlLayout << std::endl;
204 std::cout <<
"Store streamer infos = " << (
fStoreStreamerInfos ?
"true" :
"false") << std::endl;
205 std::cout <<
"Use dtd = " << (
fUseDtd ?
"true" :
"false") << std::endl;
206 std::cout <<
"Use name spaces = " << (
fUseNamespaces ?
"true" :
"false") << std::endl;
273 if (!strchr(xmlClassName,
'_'))
278 while ((cl = (
TClass *)iter()) !=
nullptr) {
280 if (strcmp(xmlClassName,
name) == 0)
295 std::cerr <<
"<Error in TXMLSetup::AtoI>" << errinfo <<
" not valid integer: sbuf <NULL>" << std::endl;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src
const TString fgROOTDocNameSpaceBase
TClass instances represent classes, structs and namespaces in the ROOT type system.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
const char * GetName() const override
Returns name of object.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
void ToLower()
Change string to lower-case.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
TClass * XmlDefineClass(const char *xmlClassName)
define class for the converted class name, where special symbols were replaced by '_'
const char * XmlClassNameSpaceRef(const TClass *cl)
produce string which used as reference in class namespace definition
static void SetNameSpaceBase(const char *namespacebase)
set namespace base
const char * XmlConvertClassName(const char *name)
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces
TString GetSetupAsString()
return setup values as string
Bool_t IsValidXmlSetup(const char *setupstr)
checks if string is valid setup
Bool_t ReadSetupFromStr(const char *setupstr)
get values from string
const char * GetElItemName(TStreamerElement *el)
get item name for given element
Int_t AtoI(const char *sbuf, Int_t def=0, const char *errinfo=nullptr)
converts string to integer.
static TString DefaultXmlSetup()
return default value for XML setup
const char * XmlGetElementName(const TStreamerElement *el)
return converted name for TStreamerElement
Bool_t fStoreStreamerInfos
static TString fgNameSpaceBase
buffer, used in XmlDefineClass() function
TString fStrBuf
counter , used to build id of xml references
void PrintSetup()
show setup values
TXMLSetup & operator=(const TXMLSetup &rhs)
assign operator
const char * ClassVersion