|
libpniio
|
Data Structures | |
| struct | attribute |
| read and write attributes More... | |
| class | data_node |
| node IO More... | |
| class | dimensions |
| reading and writing dimensions More... | |
| struct | field |
| read and write field data More... | |
| struct | group |
| read and write groups More... | |
| struct | io_node |
| general IO objects More... | |
| class | link |
| manages links in XML More... | |
| struct | write_no_data |
| default data predicate More... | |
Typedefs | |
| typedef boost::mpl::map < boost::mpl::pair < pni::core::uint8, pni::core::uint64 > , boost::mpl::pair < pni::core::uint16, pni::core::uint64 > , boost::mpl::pair < pni::core::uint32, pni::core::uint64 > , boost::mpl::pair < pni::core::uint64, pni::core::uint64 > , boost::mpl::pair < pni::core::int8, pni::core::int64 > , boost::mpl::pair < pni::core::int16, pni::core::int64 > , boost::mpl::pair < pni::core::int32, pni::core::int64 > , boost::mpl::pair < pni::core::int64, pni::core::int64 > , boost::mpl::pair < pni::core::float32, pni::core::float128 > , boost::mpl::pair < pni::core::float64, pni::core::float128 > , boost::mpl::pair < pni::core::float128, pni::core::float128 > , boost::mpl::pair < pni::core::complex32, pni::core::complex128 > , boost::mpl::pair < pni::core::complex64, pni::core::complex128 > , boost::mpl::pair < pni::core::complex128, pni::core::complex128 > > | max_type_map |
| maximum type maps More... | |
| typedef std::pair< size_t, size_t > | index_value_type |
| index-value type More... | |
| using | node = boost::property_tree::ptree |
| alias for ptree More... | |
| typedef pni::io::parser< size_t > | size_t_parser_type |
| parser for size_t values More... | |
Functions | |
| template<typename ATYPE > | |
| ATYPE | make_array (const node &data) |
| generate an array More... | |
| template<> | |
| pni::core::array | make_array (const node &data) |
| generate an array type erasure More... | |
| bool | operator< (const index_value_type &lhs, const index_value_type &rhs) |
| comparison operator for index_value_type More... | |
| template<typename T , typename OTYPE > | |
| void | write_object_data (OTYPE &o, node &n) |
| write data from Nexus to XML More... | |
| template<typename OTYPE > | |
| void | write_object_data (OTYPE &p, node &n) |
| write data from a Nexus object to XML More... | |
| template<typename OTYPE , typename PTYPE > | |
| void | append_attributes (const OTYPE &parent, node &p, PTYPE &write_predicate) |
| append attributes from a nexus type to XML More... | |
| template<typename GTYPE , typename FTYPE , typename ATYPE , typename LTYPE , typename PTYPE > | |
| void | nexus_to_xml (nxobject< GTYPE, FTYPE, ATYPE, LTYPE > &p, node &n, PTYPE write_predicate) |
| nexus to XML conversion More... | |
| template<template< nximp_code > class OTYPE, nximp_code IMPID, typename PTYPE > | |
| void | nexus_to_xml (OTYPE< IMPID > &o, node &n, PTYPE write_predicate) |
| nexus to XML conversion More... | |
| template<typename GTYPE , typename FTYPE , typename ATYPE , typename LTYPE > | |
| void | nexus_to_xml (nxobject< GTYPE, FTYPE, ATYPE, LTYPE > &p, node &n) |
| nexus to XML conversion More... | |
| template<template< nximp_code > class OTYPE, nximp_code IMPID> | |
| void | nexus_to_xml (OTYPE< IMPID > &o, node &n) |
| node | create_from_string (const pni::core::string &s) |
| create xml node from string More... | |
| node | create_from_file (const pni::core::string &s) |
| create xml node from file More... | |
| pni::core::string | attribute_path (const pni::core::string &name) |
| create an attribute path More... | |
| node | get_attribute (const node &parent, const pni::core::string &name) |
| get attribute node More... | |
| bool | has_attribute (const node &parent, const pni::core::string &name) |
| check for attribute existence More... | |
| pni::core::string | get_name (const node &n) |
| get name of a node More... | |
| node | get_child_by_name (const node &parent, const pni::core::string &name) |
| std::ostream & | operator<< (std::ostream &o, const node &n) |
| XML stream output. More... | |
| template<typename T , typename OTYPE > | |
| void | write_node_data (const OTYPE &object, const node &n) |
| write data from buffer More... | |
| template<typename OTYPE > | |
| void | write_node_data (const OTYPE &object, const node &n) |
| write node data More... | |
| template<typename GTYPE , typename FTYPE , typename ATYPE , typename LTYPE , typename PTYPE > | |
| void | xml_to_nexus (const node &t, const nxobject< GTYPE, FTYPE, ATYPE, LTYPE > &parent, PTYPE write_data) |
| create objects from XML More... | |
| template<typename GTYPE , typename FTYPE , typename ATYPE , typename LTYPE > | |
| void | xml_to_nexus (const node &t, const nxobject< GTYPE, FTYPE, ATYPE, LTYPE > &parent) |
| create objects from XML More... | |
| template<template< pni::io::nx::nximp_code > class OTYPE, pni::io::nx::nximp_code IMPID, typename PTYPE > | |
| void | xml_to_nexus (const node &t, const OTYPE< IMPID > &group, PTYPE write_data) |
| create objects from XML More... | |
| template<template< pni::io::nx::nximp_code > class OTYPE, pni::io::nx::nximp_code IMPID> | |
| void | xml_to_nexus (const node &t, const OTYPE< IMPID > &group) |
| create objects from XML More... | |
| node | create_from_string (const string &s) |
| node | create_from_file (const string &s) |
| string | attribute_path (const string &name) |
| node | get_attribute (const node &parent, const string &name) |
| bool | has_attribute (const node &parent, const string &name) |
| node | get_child_by_name (const node &parent, const string &name) |
Variables | |
| static const std::map < pni::core::string, bool > | bool_string_map {"1",true} |
| bool representation map More... | |
| typedef pni::io::parser<size_t> pni::io::nx::xml::size_t_parser_type |
| string pni::io::nx::xml::attribute_path | ( | const string & | name | ) |
| node pni::io::nx::xml::create_from_file | ( | const string & | s | ) |
| node pni::io::nx::xml::create_from_string | ( | const string & | s | ) |
| node pni::io::nx::xml::get_attribute | ( | const node & | parent, |
| const string & | name | ||
| ) |
| node pni::io::nx::xml::get_child_by_name | ( | const node & | parent, |
| const pni::core::string & | name | ||
| ) |
| node pni::io::nx::xml::get_child_by_name | ( | const node & | parent, |
| const string & | name | ||
| ) |
| bool pni::io::nx::xml::has_attribute | ( | const node & | parent, |
| const string & | name | ||
| ) |
| void pni::io::nx::xml::nexus_to_xml | ( | OTYPE< IMPID > & | o, |
| node & | n | ||
| ) |
1.8.8