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

Method swap

src/laybasic/laybasic/layLayoutCanvas.cc:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void ImageCacheEntry::swap (ImageCacheEntry &other)
116{
117 std::swap (m_opened, other.m_opened);
118 std::swap (m_layers, other.m_layers);
119 std::swap (m_trans, other.m_trans);
120 std::swap (m_width, other.m_width);
121 std::swap (m_height, other.m_height);
122 std::swap (m_precious, other.m_precious);
123 m_data.swap (other.m_data);
124}
125
126std::string ImageCacheEntry::to_string () const
127{

Callers 14

~BrowserSourceMethod · 0.45
do_cm_duplicateMethod · 0.45
do_configureMethod · 0.45
close_manyMethod · 0.45
search_pattern_distanceFunction · 0.45
file_changed_timerMethod · 0.45
fetch_missingMethod · 0.45
shutdownMethod · 0.45
clear_pluginsMethod · 0.45
set_view_opsMethod · 0.45
prepare_drawingMethod · 0.45
redraw_newMethod · 0.45

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected