| 2632 | } |
| 2633 | |
| 2634 | int |
| 2635 | LayoutViewBase::index_of_cellview (const lay::CellView *cv) const |
| 2636 | { |
| 2637 | int index = 0; |
| 2638 | for (std::list<CellView>::const_iterator i = m_cellviews.begin (); i != m_cellviews.end (); ++i, ++index) { |
| 2639 | if (cv == i.operator-> ()) { |
| 2640 | return index; |
| 2641 | } |
| 2642 | } |
| 2643 | return -1; |
| 2644 | } |
| 2645 | |
| 2646 | void |
| 2647 | LayoutViewBase::set_layout (const lay::CellView &cv, unsigned int cvindex) |
no test coverage detected