MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_params

Method get_params

utility/import_info.cpp:511–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511Dictionary ImportInfoModern::get_params() const {
512 Dictionary params;
513 if (cf->has_section("params")) {
514 Vector<String> param_keys = cf->get_section_keys("params");
515 params = Dictionary();
516 for (int64_t i = 0; i < param_keys.size(); i++) {
517 params[param_keys[i]] = cf->get_value("params", param_keys[i], "");
518 }
519 }
520 return params;
521}
522
523void ImportInfoModern::set_params(Dictionary params) {
524 auto param_keys = params.get_key_list();

Callers 4

is_equal_toMethod · 0.45
_convert_3dMethod · 0.45
_convert_layered_2dMethod · 0.45
test_exportMethod · 0.45

Calls 5

has_sectionMethod · 0.80
get_section_keysMethod · 0.80
sizeMethod · 0.45
get_valueMethod · 0.45

Tested by 1

test_exportMethod · 0.36