| 117 | } |
| 118 | |
| 119 | db::ICplxTrans |
| 120 | ObjectInstPath::trans () const |
| 121 | { |
| 122 | db::ICplxTrans t; |
| 123 | // For instances, the last element is the instance itself - do not count that in the transformation. |
| 124 | iterator end = m_path.end (); |
| 125 | if (is_cell_inst () && end != m_path.begin ()) { |
| 126 | --end; |
| 127 | } |
| 128 | for (iterator i = m_path.begin (); i != end; ++i) { |
| 129 | t = t * i->complex_trans (); |
| 130 | } |
| 131 | return t; |
| 132 | } |
| 133 | |
| 134 | void |
| 135 | ObjectInstPath::remove_front (unsigned int n) |
no test coverage detected