xml Namespace Reference


Detailed Description

XML library namespace.


Classes

class  attributes
 The xml::attributes class is used to access all the attributes of one xml::node. More...
class  document
 The xml::document class is used to hold the XML tree and various bits of information about it. More...
class  event_parser
 The xml::event_parser is used to parse an XML document by calling member functions when certain things in the XML document are parsed. More...
class  ns
 The xml::ns class is used to access and handle namespaces of nodes and attributes. More...
class  node
 The xml::node class is used to hold information about one XML node. More...
class  node_set
 The xml::node_set class is used to store xpath query result set. More...
class  tree_parser
 The xml::tree_parser class is used to parse an XML document and generate a tree like structure of xml::node objects. More...
class  init
 The xml::init class is used to configure the XML parser. More...
class  xpath_expression
 The xml::xpath_expression class is used to store xpath query string and optional XML namespaces. More...

Namespaces

namespace  impl

Typedefs

typedef std::vector< xml::nsns_list_type
 type for holding XML namespaces

Functions

bool operator== (const attributes::iterator &lhs, const attributes::iterator &rhs)
bool operator!= (const attributes::iterator &lhs, const attributes::iterator &rhs)
bool operator== (const attributes::const_iterator &lhs, const attributes::const_iterator &rhs)
bool operator!= (const attributes::const_iterator &lhs, const attributes::const_iterator &rhs)
std::ostream & operator<< (std::ostream &stream, const xml::document &doc)
std::ostream & operator<< (std::ostream &stream, const xml::node &n)

Variables

const char * kDerefError = "dereferencing non initialised or out of range iterator"
const char * kRefError = "referencing non initialised or out of range iterator"
const char * kAdvError = "advancing non initialised or out of range iterator"
const char * kEmptyExpression = "xpath expression can't be empty"
const char * kDefaultNamespace = "default namespace cannot be registered"


Typedef Documentation

typedef std::vector<xml::ns> xml::ns_list_type
 

type for holding XML namespaces

Definition at line 188 of file namespace.hpp.


Function Documentation

bool xml::operator!= const attributes::const_iterator lhs,
const attributes::const_iterator rhs
 

Definition at line 405 of file ait_impl.cpp.

bool xml::operator!= const attributes::iterator lhs,
const attributes::iterator rhs
 

Definition at line 397 of file ait_impl.cpp.

std::ostream& xml::operator<< std::ostream &  stream,
const xml::node n
 

Parameters:
stream The stream to write the node as XML.
n The node to write to the stream.
Returns:
The stream.
Author:
Peter Jones

Definition at line 926 of file node.cpp.

References xml::node::node_to_string().

std::ostream& xml::operator<< std::ostream &  stream,
const xml::document doc
 

Parameters:
stream The stream to insert the XML into.
doc The document to insert.
Returns:
The stream from the first parameter.
Author:
Peter Jones

Definition at line 377 of file document.cpp.

References xml::document::save_to_string().

bool xml::operator== const attributes::const_iterator lhs,
const attributes::const_iterator rhs
 

Definition at line 401 of file ait_impl.cpp.

References xml::attributes::const_iterator::pimpl_.

bool xml::operator== const attributes::iterator lhs,
const attributes::iterator rhs
 

Definition at line 393 of file ait_impl.cpp.

References xml::attributes::iterator::pimpl_.


Variable Documentation

const char* xml::kAdvError = "advancing non initialised or out of range iterator"
 

Definition at line 85 of file node_set.cpp.

Referenced by xml::node_set::const_iterator::operator++(), and xml::node_set::iterator::operator++().

const char* xml::kDefaultNamespace = "default namespace cannot be registered"
 

Definition at line 52 of file xpath_expression.cpp.

Referenced by xml::xpath_expression::xpath_expression().

const char* xml::kDerefError = "dereferencing non initialised or out of range iterator"
 

Definition at line 83 of file node_set.cpp.

Referenced by xml::node_set::const_iterator::operator *(), and xml::node_set::iterator::operator *().

const char* xml::kEmptyExpression = "xpath expression can't be empty"
 

Definition at line 51 of file xpath_expression.cpp.

Referenced by xml::xpath_expression::xpath_expression().

const char* xml::kRefError = "referencing non initialised or out of range iterator"
 

Definition at line 84 of file node_set.cpp.

Referenced by xml::node_set::const_iterator::operator->(), and xml::node_set::iterator::operator->().


Generated on Wed Dec 9 08:16:36 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:18 2009 by modify_doxy.py rev. 173732