libpniio
Namespaces | Typedefs | Functions
node.hpp File Reference
#include <pni/core/types.hpp>
#include <boost/property_tree/ptree.hpp>

Go to the source code of this file.

Namespaces

 pni
 
 pni::io
 
 pni::io::nx
 
 pni::io::nx::xml
 

Typedefs

using pni::io::nx::xml::node = boost::property_tree::ptree
 alias for ptree More...
 

Functions

node pni::io::nx::xml::create_from_string (const pni::core::string &s)
 create xml node from string More...
 
node pni::io::nx::xml::create_from_file (const pni::core::string &s)
 create xml node from file More...
 
pni::core::string pni::io::nx::xml::attribute_path (const pni::core::string &name)
 create an attribute path More...
 
node pni::io::nx::xml::get_attribute (const node &parent, const pni::core::string &name)
 get attribute node More...
 
bool pni::io::nx::xml::has_attribute (const node &parent, const pni::core::string &name)
 check for attribute existence More...
 
pni::core::string pni::io::nx::xml::get_name (const node &n)
 get name of a node More...
 
node pni::io::nx::xml::get_child_by_name (const node &parent, const pni::core::string &name)
 
std::ostream & pni::io::nx::xml::operator<< (std::ostream &o, const node &n)
 XML stream output. More...