Click or drag to resize

GRSImportImport Method (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
Syntax
C#
public static INamedGraph Import(
	string importFilename,
	IBackend backend,
	out IActions actions
)

Parameters

importFilename
Type: SystemString
The filename of 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: INamedGraph
The 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