 | GRSImportImport Method (String, String, IBackend, IActions) |
Imports the given graph from a file with the given filename.
Any errors will be reported by exception.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 8.0beta
Syntaxpublic static INamedGraph Import(
string importFilename,
string modelOverride,
IBackend backend,
out IActions actions
)
Parameters
- importFilename
- Type: SystemString
The filename of the file to be imported. - modelOverride
- Type: SystemString
The graph model to be used,
it must be conformant to the model used in the file to be imported. - backend
- Type: de.unika.ipd.grGen.libGrIBackend
The backend to use to create the graph. - actions
- Type: de.unika.ipd.grGen.libGrIActions
Receives the actions object in case a .grg model is given.
Return Value
Type:
INamedGraphThe imported graph.
An INamedGraph is returned. If you don't need it: create an LGSPGraph from it and throw the named graph away.
(the naming requires about the same amount of memory the raw graph behind it requires).
See Also