List of all members
cgicc::XMLDeclaration Class Reference

Class that abstracts a XMLDeclaration. More...

#include <cgicc/XMLDeclaration.h>

Inheritance diagram for cgicc::XMLDeclaration:
cgicc::XMLPI cgicc::MStreamable

Public Member Functions

Constructor and Destructor
 XMLDeclaration (std::string version="1.0")
 Constructor.
 
virtual ~XMLDeclaration ()
 Destructor.
 
- Public Member Functions inherited from cgicc::XMLPI
 XMLPI (std::string name)
 Constructor.
 
virtual ~XMLPI ()
 Destructor.
 
XMLPIoperator= (const XMLPI &element)
 
std::string getName () const
 
const HTMLAttributeListgetAttributes () const
 
void setAttributes (const HTMLAttributeList &attributes)
 
XMLPIset (const std::string &name)
 
XMLPIset (const std::string &name, const std::string &value)
 
virtual void render (std::ostream &out) const
 Write this object to a stream.

 
- Public Member Functions inherited from cgicc::MStreamable
 MStreamable ()
 Empty constructor.
 
virtual ~MStreamable ()
 Empty destructor.
 
virtual void render (std::ostream &out) const =0
 Write this object to a stream.

 

Detailed Description

Class that abstracts a XMLDeclaration.

This class add the XMLDeclaration feature

Definition at line 42 of file XMLDeclaration.h.

Constructor & Destructor Documentation

◆ XMLDeclaration()

cgicc::XMLDeclaration::XMLDeclaration ( std::string  version = "1.0")
inline

Constructor.

Create a new XMLDeclaration.h object

Parameters
inputThe Xml version (generally 1.0 or 1.1)

Definition at line 55 of file XMLDeclaration.h.

◆ ~XMLDeclaration()

virtual cgicc::XMLDeclaration::~XMLDeclaration ( )
inlinevirtual

Destructor.

Delete this XMLDeclaration object

Definition at line 61 of file XMLDeclaration.h.


The documentation for this class was generated from the following file:

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 Fri Mar 1 2024 08:39:43 for cgicc by doxygen 1.9.6