| 26 | |
| 27 | template<typename Tag> |
| 28 | void ColorMapAggregator<Tag>::insert( int i, const PartialColorMap& partitialColorMap ) |
| 29 | { |
| 30 | assert( i <= dataSet_.size() ); |
| 31 | assert( checkInputData_( partitialColorMap ) ); |
| 32 | if ( partitialColorMap.elements.none() ) |
| 33 | dataSet_.insert( dataSet_.begin() + i, {} ); |
| 34 | else |
| 35 | { |
| 36 | dataSet_.insert( dataSet_.begin() + i, partitialColorMap ); |
| 37 | needUpdate_ = true; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | template<typename Tag> |
| 42 | void ColorMapAggregator<Tag>::replace( int i, const PartialColorMap& partitialColorMap ) |
no test coverage detected