library: libXMLIO #include "TXMLSetup.h" |
TXMLSetup
class description - header file - source file
viewCVS header - viewCVS source
class TXMLSetup
Function Members (Methods)
Display options:
Data Members
public:
enum EXMLLayout { | kSpecialized | |
| kGeneralized | |
}; | | |
protected:
TXMLSetup::EXMLLayout | fXmlLayout | |
Bool_t | fStoreStreamerInfos | |
Bool_t | fUseDtd | |
Bool_t | fUseNamespaces | |
Int_t | fRefCounter | ! counter , used to build id of xml references |
TString | fStrBuf | ! buffer, used in XmlDefineClass() function |
static TString | fgNameSpaceBase | |
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.
const char* XmlConvertClassName(const char* clname)
convert class name to exclude any special symbols like '<' '>' ',' and spaces
TClass* XmlDefineClass(const char* xmlClassName)
define class for the converted class name, where
special symbols were replaced by '_'
Int_t AtoI(const char* sbuf, Int_t def, const char* errinfo)
converts string to integer.
if error, returns default value
Author: Sergey Linev 10.05.2004
Last update: root/xml:$Name: $:$Id: TXMLSetup.cxx,v 1.10 2006/01/20 01:12:13 pcanal Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.