| 169 | } |
| 170 | |
| 171 | long FrameMetaInfo::fieldToElementIdx(long _field, long _arrIdx) const |
| 172 | { |
| 173 | int i; |
| 174 | int lN=0; |
| 175 | if (_field >= N) _field = lN-1; |
| 176 | for(i=0; i<_field; i++) { |
| 177 | lN += field[i].N; |
| 178 | } |
| 179 | return lN + _arrIdx; |
| 180 | } |
| 181 | |
| 182 | long FrameMetaInfo::elementToFieldIdx(long _element, long *_arrIdx) const |
| 183 | { |
no outgoing calls
no test coverage detected