XMLDeclaration.h

Go to the documentation of this file.
00001 /* -*-mode:c++; c-file-style: "gnu";-*- */
00002 /*
00003  *  $Id: XMLDeclaration_8h-source.html,v 1.1 2008/01/19 21:58:36 sebdiaz Exp $
00004  *
00005  *  Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
00006  *                       2007 David Roberts
00007                      2007 Sebastien DIAZ <sebastien.diaz@gmail.com>
00008  *  Part of the GNU cgicc library, http://www.gnu.org/software/cgicc
00009  *
00010  *  This library is free software; you can redistribute it and/or
00011  *  modify it under the terms of the GNU Lesser General Public
00012  *  License as published by the Free Software Foundation; either
00013  *  version 3 of the License, or (at your option) any later version.
00014  *
00015  *  This library is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  *  Lesser General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU Lesser General Public
00021  *  License along with this library; if not, write to the Free Software
00022  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA 
00023  */
00024 #ifndef XMLDECLARATION_H
00025 #define XMLDECLARATION_H
00026 
00032 #include "XMLPI.h"
00033 
00034 #include <string>
00035 
00036 namespace cgicc{
00042 class XMLDeclaration : public XMLPI {
00043         public:
00044                 // ============================================================
00045     
00048     
00055         XMLDeclaration(std::string version = "1.0") : XMLPI("xml") { set("version", version); }
00061          virtual ~XMLDeclaration(){};
00063 };
00064 }// namespace cgicc
00065 
00066 #endif

GNU cgicc - A C++ class library for writing CGI applications
Copyright © 1996 - 2004 Stephen F. Booth
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.
Documentation generated Sat Jan 19 21:15:58 2008 for cgicc by doxygen 1.5.1