2020-01-19 15:44:27 -06:00
|
|
|
#ifndef READ_XML_ROUTING_CIRCUIT_H
|
|
|
|
#define READ_XML_ROUTING_CIRCUIT_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <map>
|
2022-10-06 19:08:50 -05:00
|
|
|
#include <string>
|
2020-01-19 15:44:27 -06:00
|
|
|
|
2020-02-14 18:40:59 -06:00
|
|
|
#include "arch_direct.h"
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "pugixml.hpp"
|
|
|
|
#include "pugixml_util.hpp"
|
2020-01-19 15:44:27 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
2022-10-06 19:08:50 -05:00
|
|
|
std::map<std::string, CircuitModelId> read_xml_cb_switch_circuit(
|
|
|
|
pugi::xml_node& Node, const pugiutil::loc_data& loc_data,
|
|
|
|
const CircuitLibrary& circuit_lib);
|
2020-01-19 15:44:27 -06:00
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
std::map<std::string, CircuitModelId> read_xml_sb_switch_circuit(
|
|
|
|
pugi::xml_node& Node, const pugiutil::loc_data& loc_data,
|
|
|
|
const CircuitLibrary& circuit_lib);
|
2020-01-19 15:44:27 -06:00
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
std::map<std::string, CircuitModelId> read_xml_routing_segment_circuit(
|
|
|
|
pugi::xml_node& Node, const pugiutil::loc_data& loc_data,
|
|
|
|
const CircuitLibrary& circuit_lib);
|
2020-01-19 15:44:27 -06:00
|
|
|
|
2020-02-14 18:40:59 -06:00
|
|
|
ArchDirect read_xml_direct_circuit(pugi::xml_node& Node,
|
|
|
|
const pugiutil::loc_data& loc_data,
|
|
|
|
const CircuitLibrary& circuit_lib);
|
|
|
|
|
2020-01-19 15:44:27 -06:00
|
|
|
#endif
|