ROOT 6.16/01 Reference Guide |
Definition at line 82 of file TXMLSetup.h.
Public Types | |
enum | EXMLLayout { kSpecialized = 2 , kGeneralized = 3 } |
Public Member Functions | |
TXMLSetup () | |
default constructor of TXMLSetup class More... | |
TXMLSetup (const char *opt) | |
creates TXMLSetup object getting values from string More... | |
TXMLSetup (const TXMLSetup &src) | |
copy constructor of TXMLSetup class More... | |
virtual | ~TXMLSetup () |
TXMLSetup class destructor. More... | |
Int_t | GetNextRefCounter () |
TString | GetSetupAsString () |
return setup values as string More... | |
EXMLLayout | GetXmlLayout () const |
Bool_t | IsStoreStreamerInfos () const |
Bool_t | IsUseDtd () const |
Bool_t | IsUseNamespaces () const |
void | PrintSetup () |
show setup values More... | |
virtual void | SetStoreStreamerInfos (Bool_t iConvert=kTRUE) |
virtual void | SetUsedDtd (Bool_t use=kTRUE) |
virtual void | SetUseNamespaces (Bool_t iUseNamespaces=kTRUE) |
virtual void | SetXmlLayout (EXMLLayout layout) |
const char * | XmlClassNameSpaceRef (const TClass *cl) |
produce string which used as reference in class namespace definition More... | |
const char * | XmlConvertClassName (const char *name) |
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces More... | |
const char * | XmlGetElementName (const TStreamerElement *el) |
return converted name for TStreamerElement More... | |
Static Public Member Functions | |
static TString | DefaultXmlSetup () |
return default value for XML setup More... | |
static void | SetNameSpaceBase (const char *namespacebase) |
set namespace base More... | |
Protected Member Functions | |
Int_t | AtoI (const char *sbuf, Int_t def=0, const char *errinfo=0) |
converts string to integer. More... | |
const char * | GetElItemName (TStreamerElement *el) |
get item name for given element More... | |
Bool_t | IsValidXmlSetup (const char *setupstr) |
checks if string is valid setup More... | |
Bool_t | ReadSetupFromStr (const char *setupstr) |
get values from string More... | |
TClass * | XmlDefineClass (const char *xmlClassName) |
define class for the converted class name, where special symbols were replaced by '_' More... | |
Protected Attributes | |
Int_t | fRefCounter |
Bool_t | fStoreStreamerInfos |
TString | fStrBuf |
counter , used to build id of xml references More... | |
Bool_t | fUseDtd |
Bool_t | fUseNamespaces |
EXMLLayout | fXmlLayout |
Static Protected Attributes | |
static TString | fgNameSpaceBase = "http://root.cern.ch/root/htmldoc/" |
buffer, used in XmlDefineClass() function More... | |
#include <TXMLSetup.h>
Enumerator | |
---|---|
kSpecialized | |
kGeneralized |
Definition at line 84 of file TXMLSetup.h.
TXMLSetup::TXMLSetup | ( | ) |
default constructor of TXMLSetup class
Definition at line 118 of file TXMLSetup.cxx.
TXMLSetup::TXMLSetup | ( | const char * | opt | ) |
creates TXMLSetup object getting values from string
Definition at line 126 of file TXMLSetup.cxx.
TXMLSetup::TXMLSetup | ( | const TXMLSetup & | src | ) |
copy constructor of TXMLSetup class
Definition at line 135 of file TXMLSetup.cxx.
|
virtual |
TXMLSetup class destructor.
Definition at line 144 of file TXMLSetup.cxx.
converts string to integer.
if error, returns default value
Definition at line 287 of file TXMLSetup.cxx.
|
static |
return default value for XML setup
Definition at line 102 of file TXMLSetup.cxx.
|
protected |
get item name for given element
Definition at line 255 of file TXMLSetup.cxx.
|
inline |
Definition at line 109 of file TXMLSetup.h.
TString TXMLSetup::GetSetupAsString | ( | ) |
return setup values as string
Definition at line 151 of file TXMLSetup.cxx.
|
inline |
Definition at line 95 of file TXMLSetup.h.
|
inline |
Definition at line 96 of file TXMLSetup.h.
|
inline |
Definition at line 97 of file TXMLSetup.h.
|
inline |
Definition at line 98 of file TXMLSetup.h.
|
protected |
checks if string is valid setup
Definition at line 166 of file TXMLSetup.cxx.
void TXMLSetup::PrintSetup | ( | ) |
show setup values
Definition at line 202 of file TXMLSetup.cxx.
|
protected |
get values from string
Definition at line 183 of file TXMLSetup.cxx.
|
static |
set namespace base
Definition at line 110 of file TXMLSetup.cxx.
Reimplemented in TXMLFile.
Definition at line 101 of file TXMLSetup.h.
Reimplemented in TXMLFile.
Definition at line 102 of file TXMLSetup.h.
Reimplemented in TXMLFile.
Definition at line 103 of file TXMLSetup.h.
|
inlinevirtual |
Reimplemented in TXMLFile.
Definition at line 100 of file TXMLSetup.h.
const char * TXMLSetup::XmlClassNameSpaceRef | ( | const TClass * | cl | ) |
produce string which used as reference in class namespace definition
Definition at line 228 of file TXMLSetup.cxx.
const char * TXMLSetup::XmlConvertClassName | ( | const char * | name | ) |
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces
Definition at line 214 of file TXMLSetup.cxx.
|
protected |
define class for the converted class name, where special symbols were replaced by '_'
Definition at line 268 of file TXMLSetup.cxx.
const char * TXMLSetup::XmlGetElementName | ( | const TStreamerElement * | el | ) |
return converted name for TStreamerElement
Definition at line 241 of file TXMLSetup.cxx.
|
staticprotected |
buffer, used in XmlDefineClass() function
Definition at line 132 of file TXMLSetup.h.
|
protected |
Definition at line 128 of file TXMLSetup.h.
|
protected |
Definition at line 124 of file TXMLSetup.h.
|
protected |
counter , used to build id of xml references
Definition at line 130 of file TXMLSetup.h.
|
protected |
Definition at line 125 of file TXMLSetup.h.
|
protected |
Definition at line 126 of file TXMLSetup.h.
|
protected |
Definition at line 123 of file TXMLSetup.h.