Export (for a grid) can be done as follows:
GdalFileExporter.ExportTo(string path,IFunction source) { //get store for given path IFunctionStore targetStore = GetStoreForPath(path) // source.CloneTo(targetStore) }
In IFunction we should add a CloneTo method that adds a clone using the given store. The Clone() method uses the memory store. The CloneTo method is the hard part since there we should time the SetValues call after the store is set.