mirror of https://github.com/KLayout/klayout.git
Added RBA::Technology#clear_technologies
This commit is contained in:
parent
bfe5c7c2b9
commit
56f6143e4f
|
|
@ -70,6 +70,11 @@ static void technologies_from_xml (const std::string &s)
|
||||||
db::Technologies::instance ()->load_from_xml (s);
|
db::Technologies::instance ()->load_from_xml (s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void clear_technologies ()
|
||||||
|
{
|
||||||
|
db::Technologies::instance ()->clear ();
|
||||||
|
}
|
||||||
|
|
||||||
static db::Technology technology_from_xml (const std::string &s)
|
static db::Technology technology_from_xml (const std::string &s)
|
||||||
{
|
{
|
||||||
db::Technology tech;
|
db::Technology tech;
|
||||||
|
|
@ -289,6 +294,11 @@ gsi::Class<db::Technology> technology_decl ("db", "Technology",
|
||||||
"\n"
|
"\n"
|
||||||
"\\technology_from_xml can be used to restore the technology definition."
|
"\\technology_from_xml can be used to restore the technology definition."
|
||||||
) +
|
) +
|
||||||
|
gsi::method ("clear_technologies", &clear_technologies,
|
||||||
|
"@brief Clears all technologies\n"
|
||||||
|
"\n"
|
||||||
|
"This method has been introduced in version 0.26.\n"
|
||||||
|
) +
|
||||||
gsi::method ("technologies_from_xml", &technologies_from_xml, gsi::arg ("xml"),
|
gsi::method ("technologies_from_xml", &technologies_from_xml, gsi::arg ("xml"),
|
||||||
"@brief Loads the technologies from a XML representation\n"
|
"@brief Loads the technologies from a XML representation\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue