nxmlwriter.h

Go to the documentation of this file.
00001 // LICENSE: (Please see the file COPYING for details)
00002 //
00003 // NUS - Nemesis Utilities System: A C++ application development framework 
00004 // Copyright (C) 2006, 2008 Otavio Rodolfo Piske
00005 //
00006 //  This file is part of NUS
00007 //
00008 //  This library is free software; you can redistribute it and/or
00009 //  modify it under the terms of the GNU Lesser General Public
00010 //  License as published by the Free Software Foundation version 2.1
00011 //  of the License.
00012 //
00013 //  This library is distributed in the hope that it will be useful,
00014 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016 //  Lesser General Public License for more details.
00017 //
00018 //  You should have received a copy of the GNU Lesser General Public
00019 //  License along with this library; if not, write to the Free Software
00020 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021 //
00022 // Echoes wandering down an endless meadow, search for a thing... sublime...
00023 #ifndef NXMLWRITER_H
00024 #define NXMLWRITER_H
00025 
00030 #include <libxml/xmlwriter.h>
00031 
00032 #include "ndefs.h"
00033 #include "nxmlexception.h"
00034 #include "nxmldocument.h"
00035 
00036 class NString;
00037 class NFile;
00038 
00039 
00043 class DllDeclSpec NXmlWriter { 
00044       public:
00049             NXmlWriter(NXmlDocument *doc);
00050 
00054             ~NXmlWriter(void);
00055             
00063             nint32 dump(NString *buffer, bool indent);
00064 
00072             nint32 dump(NFile *file, bool indent);
00073             
00074       private:
00075             NXmlDocument *m_doc;
00076             
00077             NXmlWriter(const NXmlWriter &other);
00078             NXmlWriter &operator=(const NXmlWriter &rhs);
00079             
00080 };
00081 
00082 #endif // NXMLWRITER_H

Generated on Wed Mar 5 23:10:36 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4