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

Method max_hier

src/laybasic/laybasic/layLayoutViewBase.cc:4798–4808  ·  view source on GitHub ↗

* @brief set the maximum hierarchy level to the number of levels available */

Source from the content-addressed store, hash-verified

4796 * @brief set the maximum hierarchy level to the number of levels available
4797 */
4798void
4799LayoutViewBase::max_hier ()
4800{
4801 // determine the maximum level of hierarchies
4802 int max_level = max_hier_level ();
4803
4804 // and set the levels
4805 if (max_level > 0) {
4806 set_hier_levels (std::make_pair (std::min (m_from_level, max_level), max_level));
4807 }
4808}
4809
4810/**
4811 * @brief determine the maximum hierarchy level

Callers 7

initializeMethod · 0.80
grayscale.rbFile · 0.80
fractal.rbFile · 0.80
export_netsMethod · 0.80
menu_activatedMethod · 0.80
goto_viewMethod · 0.80
run_demoFunction · 0.80

Calls 2

set_hier_levelsFunction · 0.85
minFunction · 0.85

Tested by

no test coverage detected