PandA-2024.02
Functions
structuralIO.cpp File Reference

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>
Include dependency graph for structuralIO.cpp:

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...
 

Detailed Description

Input and output functions used to read and write the structural data structures.

Author
Fabrizio Ferrandi fabri.nosp@m.zio..nosp@m.ferra.nosp@m.ndi@.nosp@m.polim.nosp@m.i.it $Revision$ $Date$
Warning
This file is still in a work in progress state
Last modified by $Author$

Definition in file structuralIO.cpp.

Function Documentation

◆ read_structural_File()

structural_managerRef read_structural_File ( const std::string &  f,
const ParameterRef Param 
)

Read an xml file describing the structural data structures.

Parameters
fthe input file name
Returns
the structural manager.

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().

Here is the call graph for this function:

◆ write_structural_File()

void write_structural_File ( const std::string &  f,
structural_managerRef const &  CM 
)

Write an xml file describing the structural data structures.

Parameters
fthe output file name
CMis 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().

Here is the call graph for this function:

Generated on Mon Feb 12 2024 13:03:14 for PandA-2024.02 by doxygen 1.8.13