XMLDeclaration.h
Go to the documentation of this file.
1/* -*-mode:c++; c-file-style: "gnu";-*- */
2/*
3 * $Id: XMLDeclaration.h,v 1.2 2014/12/07 14:33:03 sebdiaz Exp $
4 *
5 * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
6 * 2007 David Roberts
7 2007 Sebastien DIAZ <sebastien.diaz@gmail.com>
8 * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 3 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
23 */
24#ifndef XMLDECLARATION_H
25#define XMLDECLARATION_H
32#include "XMLPI.h"
33
34#include <string>
35
36 namespace cgicc{
42 class XMLDeclaration : public XMLPI {
43 public:
44 // ============================================================
45
48
55 XMLDeclaration(std::string version = "1.0") : XMLPI("xml") { set("version", version); }
61 virtual ~XMLDeclaration(){};
63};
64}// namespace cgicc
65
66#endif
67
XMLPI.h
Class that abstracts a XMLPI.
cgicc::XMLDeclaration
Class that abstracts a XMLDeclaration.
Definition: XMLDeclaration.h:42
cgicc::XMLDeclaration::XMLDeclaration
XMLDeclaration(std::string version="1.0")
Constructor.
Definition: XMLDeclaration.h:55
cgicc::XMLDeclaration::~XMLDeclaration
virtual ~XMLDeclaration()
Destructor.
Definition: XMLDeclaration.h:61
cgicc::XMLPI
Class that abstracts a XMLPI.
Definition: XMLPI.h:44
cgicc
The namespace containing the cgicc library.
Definition: Cgicc.h:52