| 125 | } |
| 126 | |
| 127 | bool CompoundFrameList::isEqualTo( ConstFrameListPtr other ) const |
| 128 | { |
| 129 | if ( !FrameList::isEqualTo( other ) ) |
| 130 | { |
| 131 | return false; |
| 132 | } |
| 133 | |
| 134 | ConstCompoundFrameListPtr otherF = assertedStaticCast< const CompoundFrameList >( other ); |
| 135 | |
| 136 | if ( getFrameLists().size() != otherF->getFrameLists().size() ) |
| 137 | { |
| 138 | return false; |
| 139 | } |
| 140 | |
| 141 | for ( std::vector< FrameListPtr >::size_type i = 0; i < getFrameLists().size(); i++ ) |
| 142 | { |
| 143 | if ( !getFrameLists()[i]->isEqualTo( otherF->getFrameLists()[i] ) ) |
| 144 | { |
| 145 | return false; |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | return true; |
| 150 | } |
| 151 | |
| 152 | FrameListPtr CompoundFrameList::copy() const |
| 153 | { |
nothing calls this directly
no test coverage detected