libpniio
Namespaces | Functions
nxpath/utils.cpp File Reference
#include <sstream>
#include <pni/io/nx/nxpath/utils.hpp>
#include <pni/io/nx/nxpath/parser.hpp>
#include <pni/core/error.hpp>

Namespaces

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

Functions

void pni::io::nx::throw_if_empty (const nxpath::element_type &e, const pni::core::exception_record &r)
 
nxpath::element_type pni::io::nx::object_element (const pni::core::string &name, const pni::core::string &type)
 create object element More...
 
void pni::io::nx::split_path (const nxpath &p, size_t s, nxpath &p1, nxpath &p2)
 
void pni::io::nx::split_last (const nxpath &p, nxpath &gpath, nxpath &opath)
 
bool pni::io::nx::has_file_section (const nxpath &p)
 
bool pni::io::nx::has_attribute_section (const nxpath &p)
 
bool pni::io::nx::is_root_element (const nxpath::element_type &e)
 
bool pni::io::nx::is_absolute (const nxpath &p)
 
bool pni::io::nx::has_name (const nxpath::element_type &e)
 
bool pni::io::nx::has_class (const nxpath::element_type &e)
 
bool pni::io::nx::is_complete (const nxpath::element_type &e)
 
bool pni::io::nx::is_empty (const nxpath &p)
 
nxpath pni::io::nx::join (const nxpath &a, const nxpath &b)
 
std::istream & pni::io::nx::operator>> (std::istream &i, nxpath &p)
 
bool pni::io::nx::rule_1 (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::rule_2_applies (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::both_no_name (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::both_no_class (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::both_have_name (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::both_have_class (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::rule_3_applies (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::rule_3 (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::match (const nxpath::element_type &a, const nxpath::element_type &b)
 check if path elements match More...
 
bool pni::io::nx::match (const nxpath &a, const nxpath &b)
 check if paths are matching More...
 
bool pni::io::nx::match (const pni::core::string &a, const pni::core::string &b)
 check if two paths are matching More...
 
bool pni::io::nx::operator== (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::operator!= (const nxpath::element_type &a, const nxpath::element_type &b)
 
bool pni::io::nx::operator== (const nxpath &lhs, const nxpath &rhs)
 
bool pni::io::nx::operator!= (const nxpath &lhs, const nxpath &rhs)
 
std::ostream & pni::io::nx::operator<< (std::ostream &stream, const nxpath::element_type &e)
 
std::ostream & pni::io::nx::operator<< (std::ostream &stream, const nxpath &p)