library: libRXML #include "TXMLDtdGenerator.h"

# TXMLDtdGenerator

class description - source file - inheritance tree (.ps)

## class TXMLDtdGenerator : public TXMLSetup

| Inheritance Chart:

`TXMLSetup`

<-

`TXMLDtdGenerator`

        protected:

          const char* dtdBaseTypeName(int typ) const
                Int_t dtdType(TStreamerElement* el)
          const char* dtdUseBaseType(TStreamerElement* el) const
                 void ProduceDtdForBlackClass(ofstream& fs, TClass* cl)
                 void ProduceDtdForInstrumentedClass(ofstream& fs, TStreamerInfo* info)
                 void ProduceDtdForItem(ofstream& fs, const char* name)
                 void ProduceGeneralDtd(ofstream& fs, TClass* onlyclass = 0)
                 void ProduceObjectElement(ofstream& fs, const char* name, TClass* cl, Bool_t isPointer = kFALSE)
                 void ProduceSpecificDtd(ofstream& fs, TClass* onlyclass = 0)

        public:

                           TXMLDtdGenerator()
                           TXMLDtdGenerator(const char* setup)
                           TXMLDtdGenerator(const TXMLSetup& setup)
                   virtual ~TXMLDtdGenerator()
                      void AddBlackClass(TClass* cl)
                      void AddClassSpace(TCollection* col = 0)
                      void AddInstrumentedClass(TStreamerInfo* info)
                      void AddUsedClass(TClass* cl)
            static TClass* Class()
           virtual TClass* IsA() const
                      void Produce(const char* fname, TClass* onlyclass = 0)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          TObjArray fClassSpace
          TObjArray fInstrumentedClasses
          TObjArray fBlackClasses
          TObjArray fUsedClasses
            TString fDtdBuf
             Bool_t fUsedBaseTypes[21]

        public:

          static const enum TXMLDtdGenerator:: dtd_none
          static const enum TXMLDtdGenerator:: dtd_attr
          static const enum TXMLDtdGenerator:: dtd_elem
          static const enum TXMLDtdGenerator:: dtd_charstar
          static const enum TXMLDtdGenerator:: dtd_base
          static const enum TXMLDtdGenerator:: dtd_object
          static const enum TXMLDtdGenerator:: dtd_objptr
          static const enum TXMLDtdGenerator:: dtd_fixarray
          static const enum TXMLDtdGenerator:: dtd_array
          static const enum TXMLDtdGenerator:: dtd_fastobj1
          static const enum TXMLDtdGenerator:: dtd_fastobj2
          static const enum TXMLDtdGenerator:: dtd_everyobj
          static const enum TXMLDtdGenerator:: dtd_stlp
          static const enum TXMLDtdGenerator:: dtd_objects
          static const enum TXMLDtdGenerator:: dtd_any
          static const enum TXMLDtdGenerator:: MaxBaseTypeNum

## Class Description

TXMLDtdGenerator() : TXMLSetup()

TXMLDtdGenerator(const char* setup) : TXMLSetup(setup)

TXMLDtdGenerator(const TXMLSetup& setup) : TXMLSetup(setup)

~TXMLDtdGenerator()

void AddClassSpace(TCollection* col)

void AddInstrumentedClass(TStreamerInfo* info)

void AddBlackClass(TClass* cl)

void AddUsedClass(TClass * cl)

void Produce(const char* fname, TClass* onlyclass)

Int_t dtdType(TStreamerElement* el)

const char* dtdBaseTypeName(int typ)

const char* dtdUseBaseType(TStreamerElement* el)

void ProduceDtdForItem(ofstream& fs, const char* itemname)

void ProduceObjectElement(ofstream& fs, const char* name, TClass* cl, Bool_t isPointer)

void ProduceDtdForBlackClass(ofstream& fs, TClass* cl)

void ProduceDtdForInstrumentedClass(ofstream& fs, TStreamerInfo* info)

void ProduceGeneralDtd(ofstream& fs, TClass* onlyclass)

void ProduceSpecificDtd(ofstream& fs, TClass* onlyclass)

### Inline Functions

                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Author: Sergey Linev 10.05.2004
Last update: root/xml:$Name: $:$Id: TXMLDtdGenerator.cxx,v 1.8 2004/05/17 12:34:26 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *