 | GRGExportExportYouMustCloseStreamWriter Method |
Exports the given graph to the file given by the stream writer in grg format, i.e. as GrGen rule.
Any errors will be reported by exception.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static void ExportYouMustCloseStreamWriter(
INamedGraph graph,
StreamWriter sw,
string modelPathPrefix
)
Parameters
- graph
- Type: de.unika.ipd.grGen.libGrINamedGraph
The graph to export. Must be a NamedGraph. - sw
- Type: System.IOStreamWriter
The stream writer of the file to export into. The stream writer is not closed automatically. - modelPathPrefix
- Type: SystemString
Path to the model.
See Also