25 #include <pni/core/types.hpp>
29 #include "../../parsers.hpp"
30 #include "../../formatters.hpp"
74 static size_t rank(
const node &io_node);
87 static pni::core::string
name(
const node &io_node);
97 static pni::core::shape_t
shape(
const node &io_node);
111 static pni::core::type_id_t
type_id(
const node &io_node);
151 io_node.put_value(f(value));
parser for primitive types
Definition: parsers/parser.hpp:62
static pni::core::type_id_t type_id(const node &io_node)
get type id
Definition: io_node.cpp:72
static T data_from_xml(const node &io_node)
get data from XML
Definition: io_node.hpp:129
Definition: cbf_reader.hpp:41
static size_t size(const node &io_node)
return object size
Definition: io_node.cpp:34
boost::property_tree::ptree node
alias for ptree
Definition: node.hpp:39
static void data_to_xml(node &io_node, const T &value)
write data to XML
Definition: io_node.hpp:147
static pni::core::string read(const node &n)
read data from node
Definition: data_node.cpp:34
static pni::core::string name(const node &io_node)
return object name
Definition: io_node.cpp:54
static size_t rank(const node &io_node)
return object rank
Definition: io_node.cpp:44
static pni::core::shape_t shape(const node &io_node)
return object shape
Definition: io_node.cpp:61
general IO objects
Definition: io_node.hpp:43