node.h File Reference

#include <stdexcept>
#include <iostream>
#include <iterator>
#include <dvutil/tostring.h>
#include <xmlwrapp/xmlwrapp.h>
#include <dvxml/tohtml.h>
#include <dvxml/exception.h>
#include <dvxml/noconst.h>
#include <dvxml/dv_forward_iterator.h>

Include dependency graph for node.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Dv
namespace  Dv::Xml

Classes

class  Dv::Xml::Node
 Convenience interface to xml::node. More...
class  Dv::Xml::Node::AttributeReference
 Auxiliary class for attribute access. More...
class  Dv::Xml::Node::Ref
 A reference to an xml::node object. More...

Functions

std::ostream & Dv::Xml::operator<< (std::ostream &os, const Node::Ref &ref)
 Print an XML tree rooted at the node referred to by a Dv::Xml::Node::Ref object.
Node::Ref Dv::Xml::operator/ (const Node::Ref &ref, const std::string &name) throw (Exception)
 Retrieve child node with matching name.
bool Dv::Xml::operator== (const Node::Ref &n, const Node::Ref &m)
 Equality test.
bool Dv::Xml::operator!= (const Node::Ref m, const Node::Ref &n)
 Inequality test.
Node::Ref Dv::Xml::operator>> (Node::Ref ref, const std::string &name) throw (Exception)
 Append new child node with given name.
Node::Ref Dv::Xml::operator>> (Node::Ref ref, const char *name) throw (Exception)
 Append new child node with given name.
Node::Ref Dv::Xml::operator>> (Node::Ref ref, Node::Ref child) throw (Exception)
 Append copy of node to children of this node.
std::ostream & Dv::Xml::operator<< (std::ostream &os, const Node::AttributeReference &a)


dvxml-0.1.7 [ 7 January, 2008]