DataModelImport.newMem

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.

class DataModelImport
static
newMem
(
string data
,,)

Parameters

data string

a string containing the data to import

randomAccess bool

TRUE if random access will be required

options gda.set.Set

importing options, see gda.data_model_import.DataModelImport.newFile for more information

Return Value

Type: gda.data_model.DataModel

a pointer to the newly created #GdaDataModel.