ROOT
6.07/01
Reference Guide
|
Definition at line 87 of file TXMLSetup.h.
Public Types | |
enum | EXMLLayout { kSpecialized = 2, kGeneralized = 3 } |
Public Member Functions | |
TXMLSetup () | |
defaule constructor of TXMLSetup class More... | |
TXMLSetup (const char *opt) | |
contsruct TXMLSetup object getting values from string More... | |
TXMLSetup (const TXMLSetup &src) | |
copy sonstructor of TXMLSetup class More... | |
virtual | ~TXMLSetup () |
TXMLSetup class destructor. More... | |
TString | GetSetupAsString () |
return setup values as string More... | |
void | PrintSetup () |
show setup values More... | |
EXMLLayout | GetXmlLayout () const |
Bool_t | IsStoreStreamerInfos () const |
Bool_t | IsUseDtd () const |
Bool_t | IsUseNamespaces () const |
virtual void | SetXmlLayout (EXMLLayout layout) |
virtual void | SetStoreStreamerInfos (Bool_t iConvert=kTRUE) |
virtual void | SetUsedDtd (Bool_t use=kTRUE) |
virtual void | SetUseNamespaces (Bool_t iUseNamespaces=kTRUE) |
const char * | XmlConvertClassName (const char *name) |
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces More... | |
const char * | XmlClassNameSpaceRef (const TClass *cl) |
produce string which used as reference in class namespace definition More... | |
const char * | XmlGetElementName (const TStreamerElement *el) |
return converted name for TStreamerElement More... | |
Int_t | GetNextRefCounter () |
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 | |
TClass * | XmlDefineClass (const char *xmlClassName) |
define class for the converted class name, where special symbols were replaced by '_' 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... | |
Int_t | AtoI (const char *sbuf, Int_t def=0, const char *errinfo=0) |
converts string to integer. More... | |
Protected Attributes | |
EXMLLayout | fXmlLayout |
Bool_t | fStoreStreamerInfos |
Bool_t | fUseDtd |
Bool_t | fUseNamespaces |
Int_t | fRefCounter |
TString | fStrBuf |
counter , used to build id of xml references More... | |
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 89 of file TXMLSetup.h.
TXMLSetup::TXMLSetup | ( | ) |
defaule constructor of TXMLSetup class
Definition at line 119 of file TXMLSetup.cxx.
TXMLSetup::TXMLSetup | ( | const char * | opt | ) |
contsruct TXMLSetup object getting values from string
Definition at line 131 of file TXMLSetup.cxx.
TXMLSetup::TXMLSetup | ( | const TXMLSetup & | src | ) |
copy sonstructor of TXMLSetup class
Definition at line 144 of file TXMLSetup.cxx.
|
virtual |
TXMLSetup class destructor.
Definition at line 156 of file TXMLSetup.cxx.
converts string to integer.
if error, returns default value
Definition at line 287 of file TXMLSetup.cxx.
Referenced by TXMLFile::GetStreamerInfoList(), and TBufferXML::ReadVersion().
|
static |
return default value for XML setup
Definition at line 103 of file TXMLSetup.cxx.
Referenced by TXMLFile::TXMLFile().
|
protected |
get item name for given element
Definition at line 258 of file TXMLSetup.cxx.
|
inline |
Definition at line 115 of file TXMLSetup.h.
Referenced by TBufferXML::ProcessPointer().
TString TXMLSetup::GetSetupAsString | ( | ) |
return setup values as string
Definition at line 163 of file TXMLSetup.cxx.
Referenced by TXMLFile::SaveToFile().
|
inline |
Definition at line 101 of file TXMLSetup.h.
Referenced by TBufferXML::CreateElemNode(), TBufferXML::CreateItemNode(), TBufferXML::PerformPostProcessing(), TBufferXML::PerformPreProcessing(), TBufferXML::VerifyElemNode(), TBufferXML::VerifyItemNode(), and TBufferXML::WorkWithClass().
|
inline |
Definition at line 102 of file TXMLSetup.h.
Referenced by TXMLFile::WriteStreamerInfo().
|
inline |
Definition at line 103 of file TXMLSetup.h.
Referenced by TXMLFile::ReadFromFile().
|
inline |
Definition at line 104 of file TXMLSetup.h.
Referenced by TBufferXML::WorkWithClass().
|
protected |
checks if string is valid setup
Definition at line 178 of file TXMLSetup.cxx.
Referenced by TXMLFile::TXMLFile().
void TXMLSetup::PrintSetup | ( | ) |
show setup values
Definition at line 208 of file TXMLSetup.cxx.
|
protected |
get values from string
Definition at line 192 of file TXMLSetup.cxx.
Referenced by TXMLFile::ReadFromFile(), TXMLFile::TXMLFile(), and TXMLSetup().
|
static |
set namespace base
Definition at line 111 of file TXMLSetup.cxx.
Reimplemented in TXMLFile.
Definition at line 107 of file TXMLSetup.h.
Referenced by TXMLFile::SetStoreStreamerInfos().
Reimplemented in TXMLFile.
Definition at line 108 of file TXMLSetup.h.
Referenced by TXMLFile::SetUsedDtd().
Reimplemented in TXMLFile.
Definition at line 109 of file TXMLSetup.h.
Referenced by TBufferXML::ConvertFromXMLAny(), TBufferXML::ConvertToXML(), and TXMLFile::SetUseNamespaces().
|
inlinevirtual |
Reimplemented in TXMLFile.
Definition at line 106 of file TXMLSetup.h.
Referenced by TBufferXML::ConvertFromXMLAny(), TBufferXML::ConvertToXML(), and TXMLFile::SetXmlLayout().
const char * TXMLSetup::XmlClassNameSpaceRef | ( | const TClass * | cl | ) |
produce string which used as reference in class namespace definition
Definition at line 234 of file TXMLSetup.cxx.
Referenced by TBufferXML::WorkWithClass().
const char * TXMLSetup::XmlConvertClassName | ( | const char * | name | ) |
convert class name to exclude any special symbols like ':', '<' '>' ',' and spaces
Definition at line 220 of file TXMLSetup.cxx.
Referenced by TBufferXML::WorkWithClass(), XmlClassNameSpaceRef(), XmlDefineClass(), XmlGetElementName(), and TBufferXML::XmlWriteObject().
|
protected |
define class for the converted class name, where special symbols were replaced by '_'
Definition at line 270 of file TXMLSetup.cxx.
Referenced by TBufferXML::XmlReadObject().
const char * TXMLSetup::XmlGetElementName | ( | const TStreamerElement * | el | ) |
return converted name for TStreamerElement
Definition at line 247 of file TXMLSetup.cxx.
Referenced by TBufferXML::CreateElemNode(), TXMLPlayer::ProduceSTLstreamer(), and TBufferXML::VerifyElemNode().
|
staticprotected |
buffer, used in XmlDefineClass() function
Definition at line 139 of file TXMLSetup.h.
Referenced by SetNameSpaceBase(), and XmlClassNameSpaceRef().
|
protected |
Definition at line 135 of file TXMLSetup.h.
Referenced by GetNextRefCounter().
|
protected |
Definition at line 131 of file TXMLSetup.h.
Referenced by GetSetupAsString(), IsStoreStreamerInfos(), PrintSetup(), ReadSetupFromStr(), and SetStoreStreamerInfos().
|
protected |
counter , used to build id of xml references
Definition at line 137 of file TXMLSetup.h.
Referenced by GetElItemName(), XmlClassNameSpaceRef(), and XmlConvertClassName().
|
protected |
Definition at line 132 of file TXMLSetup.h.
Referenced by GetSetupAsString(), IsUseDtd(), PrintSetup(), ReadSetupFromStr(), and SetUsedDtd().
|
protected |
Definition at line 133 of file TXMLSetup.h.
Referenced by GetSetupAsString(), IsUseNamespaces(), PrintSetup(), ReadSetupFromStr(), and SetUseNamespaces().
|
protected |
Definition at line 130 of file TXMLSetup.h.
Referenced by GetSetupAsString(), GetXmlLayout(), PrintSetup(), ReadSetupFromStr(), and SetXmlLayout().