NeXus XML functions¶
nexus::xml::create_from_file()¶
-
PNIIO_EXPORT void
pni::io::nexus::xml::create_from_file(const hdf5::node::Node &parent, const boost::filesystem::path &xml_file)¶ create NeXus objects from an XML file
Reads the content of an XML file and creates NeXus objects below a parent object.
- Parameters
parent: reference to the parent objectxml_file: reference to the path of the XML file
nexus::xml::create_from_string()¶
-
PNIIO_EXPORT void
pni::io::nexus::xml::create_from_string(const hdf5::node::Node &parent, const std::string &xml_data)¶ create NeXus objects from XML data
Reads XML data from a string and creates NeXus objects from it below a parent object.
- Parameters
parent: reference to the parent objectxml_data: reference to the data string