Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

XML_Attribute Class Reference

An attribute of an XML_Tag. More...

#include <xml.h>

Collaboration diagram for XML_Attribute:

Collaboration graph
[legend]
List of all members.

Public Methods

 XML_Attribute (const std::string &name_, const std::string &content_)
virtual ~XML_Attribute ()
XML_Attribute * append_to (XML_Attribute *queue)
void print (std::ostream &out) const

Private Attributes

std::string name
std::string content
XML_Attribute * next

Detailed Description

An attribute of an XML_Tag.

Definition at line 56 of file xml.h.


Constructor & Destructor Documentation

XML_Attribute const std::string &    name_,
const std::string &    content_
 

Definition at line 33 of file xml.cpp.

~XML_Attribute   [virtual]
 

Definition at line 40 of file xml.cpp.


Member Function Documentation

XML_Attribute * append_to XML_Attribute *    queue
 

Definition at line 46 of file xml.cpp.

Referenced by XML_Tag::add_attribute().

void print std::ostream &    out const
 

Definition at line 54 of file xml.cpp.

Referenced by XML_Tag::close(), and XML_Tag::open().


Member Data Documentation

std::string name [private]
 

Definition at line 58 of file xml.h.

Referenced by XML_Attribute::print().

std::string content [private]
 

Definition at line 59 of file xml.h.

Referenced by XML_Attribute::print().

XML_Attribute* next [private]
 

Definition at line 60 of file xml.h.

Referenced by XML_Attribute::append_to(), XML_Attribute::print(), and XML_Attribute::~XML_Attribute().


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen