MCPcopy Create free account
hub / github.com/KLayout/klayout / operator==

Method operator==

src/laybasic/laybasic/layLayerProperties.cc:221–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221bool
222LayerProperties::operator== (const LayerProperties &d) const
223{
224 ensure_realized ();
225 d.ensure_realized ();
226
227 // do not consider the derived and "real" properties - these is not really a property
228 return m_frame_color == d.m_frame_color &&
229 m_fill_color == d.m_fill_color &&
230 m_frame_brightness == d.m_frame_brightness &&
231 m_fill_brightness == d.m_fill_brightness &&
232 m_dither_pattern == d.m_dither_pattern &&
233 m_line_style == d.m_line_style &&
234 m_valid == d.m_valid &&
235 m_visible == d.m_visible &&
236 m_transparent == d.m_transparent &&
237 m_width == d.m_width &&
238 m_marked == d.m_marked &&
239 m_xfill == d.m_xfill &&
240 m_animation == d.m_animation &&
241 m_name == d.m_name &&
242 m_source == d.m_source;
243}
244
245bool
246LayerProperties::is_visual () const

Callers

nothing calls this directly

Calls 2

ensure_realizedMethod · 0.80
operator==Function · 0.70

Tested by

no test coverage detected