PandA-2024.02
|
Input and output functions used to read and write the structural data structures. More...
#include "structuralIO.hpp"
#include "Parameter.hpp"
#include "structural_manager.hpp"
#include "structural_objects.hpp"
#include "xml_document.hpp"
#include "xml_dom_parser.hpp"
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
structural_managerRef | read_structural_File (const std::string &fn, const ParameterRef &Param) |
Read an xml file describing the structural data structures. More... | |
void | write_structural_File (const std::string &f, structural_managerRef const &CM) |
Write an xml file describing the structural data structures. More... | |
Input and output functions used to read and write the structural data structures.
Definition in file structuralIO.cpp.
structural_managerRef read_structural_File | ( | const std::string & | f, |
const ParameterRef & | Param | ||
) |
Read an xml file describing the structural data structures.
f | the input file name |
Definition at line 54 of file structuralIO.cpp.
References XMLDomParser::Exec(), XMLDomParser::get_document(), test_panda::parser, structural_manager::set_top_info(), and structural_manager::xload().
void write_structural_File | ( | const std::string & | f, |
structural_managerRef const & | CM | ||
) |
Write an xml file describing the structural data structures.
f | the output file name |
CM | is the structural manager. |
Definition at line 92 of file structuralIO.cpp.
References xml_document::create_root_node(), xml_document::write_to_file_formatted(), and structural_manager::xwrite().