Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Source.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/xmlUtil/xmlUtil/Source.h,v 1.2 2002/04/05 18:28:25 jrb Exp $
00002 // Author: J. Bogart
00003 
00004 #ifndef XMLUTIL_SOURCE_H
00005 #define XMLUTIL_SOURCE_H
00006 
00007 #include <string>
00008 #include <dom/DOM_Element.hpp>
00009 #include <dom/DOM_Document.hpp>
00010 
00011 namespace xmlUtil {
00016   class Source {
00017   public:
00018     Source(DOM_Document doc, const char * creator, 
00019            const char* creatorCVSID);
00020     ~Source() {};
00021 
00022      void add(const DOM_Element after = DOM_Element());
00023 
00024   private:
00025     DOM_Document m_doc;
00026     DOM_Element  m_me;  // the element as represented in DOM
00027     std::string  m_creator;
00028     std::string  m_myCVSID;
00029   };
00030 }
00031 #endif

Generated on Wed Oct 16 14:02:48 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001