 | GRSExportExportYouMustCloseStreamWriter Method |
Exports the given graph to the file given by the stream writer in grs format.
Any errors will be reported by exception.
Returns the graph export context of the main graph.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic static MainGraphExportContext ExportYouMustCloseStreamWriter(
INamedGraph graph,
StreamWriter sw,
string modelPathPrefix,
bool noNewGraph,
Dictionary<string, Dictionary<string, string>> typesToAttributesToSkip
)
Parameters
- graph INamedGraph
- The graph to export. Must be a named graph.
- sw StreamWriter
- The stream writer of the file to export into. The stream writer is not closed automatically.
- modelPathPrefix String
- Path to the model.
- noNewGraph Boolean
- If true, the new graph command is not emitted.
- typesToAttributesToSkip DictionaryString, DictionaryString, String
- Gives a dictionary with type names containing a dictionary with attribute names that are not to be emitted
Return Value
MainGraphExportContext
See Also