Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Sources   Namespace Members   Compound Members   File Members  

DOM_output.h

00001 //$Header: /home/ben/Mapper/include/RCS/DOM_output.h,v 6.3 2002/07/05 22:33:50 ben Exp $
00002 #ifndef DOM_OUTPUT_H
00003 #define DOM_OUTPUT_H
00004 // Copyright Benedict Adamson 2002.
00005 // This file is part of Mapper.
00006 
00007 // Mapper is free software; you can redistribute it and/or modify
00008 // it under the terms of the GNU General Public License as published by
00009 // the Free Software Foundation; either version 2 of the License, or
00010 // (at your option) any later version.
00011 
00012 // Mapper is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 
00017 // You should have received a copy of the GNU General Public License
00018 // along with Mapper; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 
00029 #include <string>
00030 
00031 class ostream;
00032 
00033 class DOM_CDATASection;
00034 class DOM_Comment;
00035 class DOM_Document;
00036 class DOM_DocumentType;
00037 class DOM_Element;
00038 class DOM_EntityReference;
00039 class DOM_Node;
00040 class DOM_ProcessingInstruction;
00041 class DOM_String;
00042 class DOM_Text;
00043    
00044 
00045 
00049 namespace DOM_output
00050 {
00051       
00065    void write_tag(
00066       ostream &out,
00067       const DOM_Element &elem
00068       );
00069 
00070 
00071 
00075    void write_children(
00076       ostream &out,
00077       const DOM_Node &node
00078       );
00079 
00083    void write(
00084       ostream &out,
00085       const DOMString &s
00086       );
00087 
00091    void write(
00092       ostream &out,
00093       const DOM_Element &elem
00094       );
00095 
00109    void write(
00110       ostream &out,
00111       const DOM_CDATASection &node
00112       );
00113 
00117    void write(
00118       ostream &out,
00119       const DOM_EntityReference &node
00120       );
00121 
00125    void write(
00126       ostream &out,
00127       const DOM_ProcessingInstruction &node
00128       );
00129 
00133    void write(
00134       ostream &out,
00135       const DOM_Comment &node
00136       );
00137 
00141    void write(
00142       ostream &out,
00143       const DOM_DocumentType &node
00144       );
00145 
00149    void write(
00150       ostream &out,
00151       const DOM_Text &node
00152       );
00153 
00159    void write(
00160       ostream &out,
00161       const DOM_Node &node
00162       );
00163 
00168    void write(
00169       ostream &out,
00170       const DOM_Document &doc
00171       );
00172 
00180    void traceback(
00181       ostream &out,
00182       const DOM_Element &elem
00183       );
00184 
00185 };
00186 
00187 #endif

Generated at Sun Jul 14 20:38:08 2002 for Mapper by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999