 | IBackendCreateFromSpec(String, IGlobalVariables, String, String, ProcessSpecFlags, ListString) Method |
Creates a new IGraph instance from the specified specification file.
If the according dll does not exist or is out of date, the needed processing steps are performed automatically.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
SyntaxIGraph CreateFromSpec(
string gmFilename,
IGlobalVariables globalVariables,
string graphName,
string statisticsPath,
ProcessSpecFlags flags,
List<string> externalAssemblies
)
Parameters
- gmFilename String
- Filename of the model specification file (.gm).
- globalVariables IGlobalVariables
- An object implementing the IGlobalVariables interface, serving as global variables.
- graphName String
- Name of the new graph.
- statisticsPath String
- Optional path to a file containing the graph statistics to be used for building the matchers.
- flags ProcessSpecFlags
- Specifies how the specification is to be processed; only KeepGeneratedFiles and CompileWithDebug are taken care of!
- externalAssemblies ListString
- List of external assemblies to reference.
Return Value
IGraphThe new IGraph backend instance.
Exceptions
See Also