DataModelImport.newMem

gda.data_model.DataModel newMem(string data, bool randomAccess, gda.set.Set options = null)

Creates a new #GdaDataModel object which contains the data stored in the data string.

Important note: the data string is not copied for memory efficiency reasons and should not therefore be altered in any way as long as the returned data model exists.

Parameters

dataa string containing the data to import
randomAccessTRUE if random access will be required
optionsimporting options, see [gda.data_model_import.DataModelImport.newFile] for more information

Returns

a pointer to the newly created #GdaDataModel.