simphony / simphony-common

The native implementation of the Simphony cuds objects
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

Adds a clone operation to the data container. #283

Closed stefanoborini closed 8 years ago

stefanoborini commented 8 years ago

It includes the ability to extract a subset of the original data. This PR is needed for issue simphony_mayavi#35.

stefanoborini commented 8 years ago

I needed this PR for symphony mayavi, but I decided to use a different strategy. This performs a useless copy and creates a temporary object that is thrown away. I prefer to alter CUBADataAccumulator.append so that it limits the keys it internalises.

Rejecting