MCPcopy Create free account
hub / github.com/KLayout/klayout / to_map

Method to_map

src/db/db/dbPropertiesRepository.cc:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289std::multimap<tl::Variant, tl::Variant>
290PropertiesSet::to_map () const
291{
292 std::multimap<tl::Variant, tl::Variant> result;
293
294 for (auto i = m_map.begin (); i != m_map.end (); ++i) {
295 result.insert (std::make_pair (db::property_name (i->first), db::property_value (i->second)));
296 }
297 return result;
298}
299
300tl::Variant
301PropertiesSet::to_dict_var () const

Callers 13

set_propertiesMethod · 0.80
add_property_textFunction · 0.80
emit_propname_defMethod · 0.80
emit_propstring_defMethod · 0.80
write_propsMethod · 0.80
write_propertiesMethod · 0.80
draw_propstringMethod · 0.80
TESTFunction · 0.80
operator()Method · 0.80
operator()Method · 0.80
properties_id_lessFunction · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by 3

TESTFunction · 0.64
operator()Method · 0.64
operator()Method · 0.64