73 catch(
const char* msg)
75 std::cerr << msg << std::endl;
77 catch(
const std::string& msg)
79 std::cerr << msg << std::endl;
81 catch(
const std::exception& ex)
83 std::cout <<
"Exception caught: " << ex.what() << std::endl;
87 std::cerr <<
"unknown exception" << std::endl;
101 catch(
const char* msg)
103 std::cerr << msg << std::endl;
105 catch(
const std::string& msg)
107 std::cerr << msg << std::endl;
109 catch(
const std::exception& ex)
111 std::cout <<
"Exception caught: " << ex.what() << std::endl;
115 std::cerr <<
"unknown exception" << std::endl;
static void xload(const xml_element *node, structural_managerRef const &CM)
Load a structural manager from an xml file.
refcount< structural_type_descriptor > structural_type_descriptorRef
RefCount type definition of the structural_type_descriptor class structure.
Structure representing the most relevant information about the type of a structural object...
structural_managerRef read_structural_File(const std::string &fn, const ParameterRef &Param)
Read an xml file describing the structural data structures.
This class manages the circuit structures.
void set_top_info(const std::string &id, const technology_managerRef &LM, const std::string &Library="")
void write_to_file_formatted(const std::filesystem::path &filename)
Write the document to a file.
xml_element * create_root_node(const std::string &_name)
Creates the root node.
void Exec()
Parse an XML document from a file.
refcount< structural_manager > structural_managerRef
RefCount type definition of the structural_manager class structure.
void write_structural_File(const std::string &f, structural_managerRef const &CM)
Write an xml file describing the structural data structures.
This class describes all classes used to represent a structural object.
xml_documentRef get_document()
Obtain the parsed document.
this class is used to manage the command-line or XML options.
Class implementation of the structural_manager.
Input and output functions used to read and write the structural data structures. ...
void xwrite(xml_element *rootnode, const technology_nodeRef &tn=technology_nodeRef()) const
Add a component to an xml tree.