 | GRSImportImport(TextReader, Int64, IBackend, IGraphModel, IActions) Method |
Imports the given graph from the given text reader input stream.
Any errors will be reported by exception.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic static INamedGraph Import(
TextReader reader,
long fileSize,
IBackend backend,
IGraphModel graphModel,
out IActions actions
)
Parameters
- reader TextReader
- The text reader input stream import source.
- fileSize Int64
- The size of the input file.
- backend IBackend
- The backend to use to create the graph.
- graphModel IGraphModel
- The graph model to be used.
- actions IActions
- Receives the actions object in case a .grg model is given.
Return Value
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