PandA-2024.02
|
Input and output functions used to read and write the structural data structures. More...
Go to the source code of this file.
Functions | |
structural_managerRef | read_structural_File (const std::string &f, 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... | |
forward declarations | |
REF_FORWARD_DECL (structural_manager) | |
RefCount type definition of the structural_manager class structure. More... | |
REF_FORWARD_DECL (Parameter) | |
Input and output functions used to read and write the structural data structures.
Definition in file structuralIO.hpp.
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().
REF_FORWARD_DECL | ( | structural_manager | ) |
RefCount type definition of the structural_manager class structure.
REF_FORWARD_DECL | ( | Parameter | ) |
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().