PandA-2024.02
Functions
structuralIO.hpp File Reference

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

#include "refcount.hpp"
#include <string>
Include dependency graph for structuralIO.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

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

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:

◆ REF_FORWARD_DECL() [1/2]

REF_FORWARD_DECL ( structural_manager  )

RefCount type definition of the structural_manager class structure.

◆ REF_FORWARD_DECL() [2/2]

REF_FORWARD_DECL ( Parameter  )

◆ 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